1473371932 commented on issue #10756: URL: https://github.com/apache/apisix/issues/10756#issuecomment-1878262337
I just updated the content of the plugins a moment ago: ``` root@k8s-master:apisix# curl http://10.109.77.186:9180/apisix/admin/routes/d60675a2 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT -d ' > { > "name": "deepflow-otel-spring-demo", > "methods": ["GET"], > "uris": ["/*"], > "plugins": { > "prometheus":{ > "prefer_name": true > }, > "opentelemetry": { > "sampler": { > "name": "always_on" > }, > "additional_attributes": [ > "deepflow=demo" > ] > } > }, > "upstream": { > "type": "roundrobin", > "nodes": { > "10.1.23.200:18090": 1 > } > } > }' {"key":"/apisix/routes/d60675a2","value":{"priority":0,"id":"d60675a2","name":"deepflow-otel-spring-demo","status":1,"uris":["/*"],"upstream":{"type":"roundrobin","nodes":{"10.1.23.200:18090":1},"pass_host":"pass","scheme":"http","hash_on":"vars"},"methods":["GET"],"plugins":{"prometheus":{"prefer_name":true},"opentelemetry":{"sampler":{"name":"always_on","options":{"root":{"name":"always_off"},"fraction":0}},"additional_attributes":["deepflow=demo"]}},"create_time":1704249167,"update_time":1704438225}} ``` I reverified the updated content: ``` root@k8s-master:apisix# curl -s http://10.109.77.186:9180/apisix/admin/routes/d60675a2 -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' { "createdIndex":996, "value":{ "priority":0, "id":"d60675a2", "name":"deepflow-otel-spring-demo", "status":1, "update_time":1704438225, "upstream":{ "type":"roundrobin", "nodes":{ "10.1.23.200:18090":1 }, "hash_on":"vars", "scheme":"http", "pass_host":"pass" }, "methods":[ "GET" ], "uris":[ "/*" ], "create_time":1704249167, "plugins":{ "prometheus":{ "prefer_name":true }, "opentelemetry":{ "additional_attributes":[ "deepflow=demo" ], "sampler":{ "name":"always_on", "options":{ "root":{ "name":"always_off" }, "fraction":0 } } } } }, "key":"/apisix/routes/d60675a2", "modifiedIndex":1672 } ``` But I found that when I checked in the APISIX Dashboard, the corresponding route annotation, which should have displayed "Created by apisix-ingress-controller, DO NOT modify it manually," is no longer there. However, I can confirm that I have never manually modified the content of this route through the Dashboard before.  -- 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]
