Copilot commented on code in PR #13274:
URL: https://github.com/apache/apisix/pull/13274#discussion_r3122021686


##########
docs/en/latest/plugins/skywalking-logger.md:
##########
@@ -138,17 +138,18 @@ In [Skywalking UI](http://localhost:8080), navigate to 
__General Service__ > __S
   "start_time": 1736945107345,
   "upstream": "3.210.94.60:80",
   "server": {
-    "version": "3.11.0",
-    "hostname": "7edbcebe8eb3"
-  },
-  "service_id": "",
-  "response": {
-    "size": 619,
-    "status": 200,
-    "headers": {
-      "content-type": "application/json",
-      "date": "Thu, 16 Jan 2025 12:45:08 GMT",
-      "server": "APISIX/3.11.0",
+    "version": "3.13.0",
+        "hostname": "7edbcebe8eb3"
+      }
+    },
+    "service_id": "",
+    "response": {
+      "size": 619,
+      "status": 200,
+      "headers": {

Review Comment:
   The JSON example in this code block is no longer valid JSON: the `server` 
object has mismatched indentation/closing braces (e.g., `hostname` is 
over-indented and extra `}`/`,` appear). Please restore the correct object 
structure so the snippet parses as JSON and matches the intended schema 
(server.version + server.hostname).
   ```suggestion
       "hostname": "7edbcebe8eb3"
     },
     "service_id": "",
     "response": {
       "size": 619,
       "status": 200,
       "headers": {
   ```



##########
docs/zh/latest/plugins/skywalking-logger.md:
##########
@@ -135,17 +137,18 @@ curl -i "http://127.0.0.1:9080/anything";
   "start_time": 1736945107345,
   "upstream": "3.210.94.60:80",
   "server": {
-    "version": "3.11.0",
-    "hostname": "7edbcebe8eb3"
-  },
-  "service_id": "",
-  "response": {
-    "size": 619,
-    "status": 200,
-    "headers": {
-      "content-type": "application/json",
-      "date": "Thu, 16 Jan 2025 12:45:08 GMT",
-      "server": "APISIX/3.11.0",
+    "version": "3.13.0",
+        "hostname": "7edbcebe8eb3"
+      }
+    },
+    "service_id": "",
+    "response": {
+      "size": 619,
+      "status": 200,
+      "headers": {
+        "content-type": "application/json",
+        "date": "Thu, 16 Jan 2025 12:45:08 GMT",
+        "server": "APISIX/3.13.0",

Review Comment:
   The JSON example in this code block is no longer valid JSON: the `server` 
object has mismatched indentation/closing braces (e.g., `hostname` is 
over-indented and extra `}`/`,` appear). Please restore the correct object 
structure so the snippet parses as JSON and matches the intended schema 
(server.version + server.hostname).
   ```suggestion
       "hostname": "7edbcebe8eb3"
     },
     "service_id": "",
     "response": {
       "size": 619,
       "status": 200,
       "headers": {
         "content-type": "application/json",
         "date": "Thu, 16 Jan 2025 12:45:08 GMT",
         "server": "APISIX/3.13.0",
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to