qiqizjl commented on PR #12841: URL: https://github.com/apache/apisix/pull/12841#issuecomment-3690996717
> Hi @qiqizjl, we made this change in #12549. Could you explain the original requirements of this PR? Changing the default value from '0' to '' may affect users' existing JSON log format. We found in apisix/plugins/prometheus/exporter.lua#L376-L394 that metrics are reported when the value is not empty. When the LLM plugin is not enabled, the default value is 0, which results in invalid metrics. -- 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]
