Skip to content

change(prometheus): replace wrong apisix_nginx_http_current_connections{state="total"} label#6327

Merged
spacewander merged 2 commits into
apache:masterfrom
nic-6443:fix-prometheues-metric
Feb 16, 2022
Merged

change(prometheus): replace wrong apisix_nginx_http_current_connections{state="total"} label#6327
spacewander merged 2 commits into
apache:masterfrom
nic-6443:fix-prometheues-metric

Conversation

@nic-6443

Copy link
Copy Markdown
Member

What this PR does / why we need it:

Fix #6301

Pre-submission checklist:

  • Did you explain what problem does this PR solve? Or what new features have been added?
  • Have you added corresponding test cases?
  • Have you modified the corresponding document?
  • Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

Comment thread apisix/plugins/prometheus/exporter.lua Outdated
@spacewander spacewander changed the title fix(prometheus): wrong fields in the metrics change(prometheus): fix wrong fields in the metrics Feb 16, 2022
@spacewander spacewander changed the title change(prometheus): fix wrong fields in the metrics change(prometheus): replace wrong apisix_nginx_http_current_connections{state="total"} label Feb 16, 2022
@spacewander
spacewander merged commit 84eced6 into apache:master Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: some mistakes in prometheus plugin

4 participants