When reporting logs with loki-logger, the values of the fields in log_format are inconsistent with the values in log_labels. #12485
Replies: 3 comments 1 reply
-
This is a known issue in the loki-logger plugin: when the plugin is used as a global rule or shares the same configuration table ( To reduce the risk, configure the plugin per route or service instead of globally. Avoid sharing mutable config tables across requests. Keep an eye on future APISIX releases for a fix to this in-place mutation issue. More details and discussion can be found in this GitHub issue and the loki-logger source code. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
I am currently configured on the route, but this issue still occurs. |
Beta Was this translation helpful? Give feedback.
-
@renshunhang Hello, could you please provide the minimal reproduction steps so I can quickly locate the problem? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions