Skip to content

feat: expose apisix version in prometheus node info metric#12367

Merged
Baoyuantop merged 4 commits into
apache:masterfrom
flearc:apisix-version
Jun 25, 2025
Merged

feat: expose apisix version in prometheus node info metric#12367
Baoyuantop merged 4 commits into
apache:masterfrom
flearc:apisix-version

Conversation

@flearc

@flearc flearc commented Jun 23, 2025

Copy link
Copy Markdown
Contributor

Description

This PR enhances the node_info metric by adding a new version label to expose the current APISIX version.

Which issue(s) this PR fixes:

Fixes #12362

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. enhancement New feature or request labels Jun 23, 2025
@flearc flearc changed the title Apisix version feat: expose apisix version in prometheus node info metric Jun 23, 2025
@Baoyuantop
Baoyuantop self-requested a review June 23, 2025 09:59
@Baoyuantop

Copy link
Copy Markdown
Contributor

Hi @flearc, please fix the failed CI

@flearc

flearc commented Jun 24, 2025

Copy link
Copy Markdown
Contributor Author

@Baoyuantop please approve the CI when convenient

@Baoyuantop
Baoyuantop merged commit fe8a4be into apache:master Jun 25, 2025
26 checks passed
@flearc
flearc deleted the apisix-version branch June 26, 2025 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: prometheus plugin expose apisix version in node_info metric

4 participants