Skip to content

Commit

Permalink
Update kong/plugins/prometheus/handler.lua
Browse files Browse the repository at this point in the history
Co-authored-by: Wangchong Zhou <[email protected]>
  • Loading branch information
AntoineJac and fffonion authored Jun 18, 2024
1 parent 3872f5e commit 17ebe7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/plugins/prometheus/handler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function PrometheusHandler:log(conf)
serialized.latencies = message.latencies
end

if conf.ai_metrics and message.ai then
if conf.ai_metrics then
serialized.ai_metrics = message.ai
end

Expand Down

0 comments on commit 17ebe7a

Please sign in to comment.