Skip to content

Commit

Permalink
Revert "fix: the leak of prometheus metrics (#10655)" (#11025)
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek authored Mar 13, 2024
1 parent 8c4eff2 commit 963207f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 509 deletions.
1 change: 0 additions & 1 deletion apisix/plugins/prometheus/exporter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,6 @@ local function collect(ctx, stream_only)

-- update upstream_status metrics
local stats = control.get_health_checkers()
metrics.upstream_status:reset()
for _, stat in ipairs(stats) do
for _, node in ipairs(stat.nodes) do
metrics.upstream_status:set(
Expand Down
Loading

0 comments on commit 963207f

Please sign in to comment.