-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for NGINX Plus versions 4-7 #10750
Conversation
The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good for docs!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Just a nit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
* Add test data and limit_reqs endpoint * Add support for new endpoints in check * Update metadata with new metrics * add more tests for tags * Add more tests and http limit conns endpoint * Add tests for all plus api versions * Reformat code and fix typos * Remove unneeded mappings * Remove unneeded mapping and test fixture * Properly handle metrics that should be counts * Change more metrics to count * Fix short names of metrics * Update style and add assertion for all count metrics * Update conf.example with new description * Update test folder structure and add mapping for plus api endpoints * Assert metadata in all tests * Add missing count metrics, assert metrics covered, and refactor tests * Remove slashes in directories * Update comment typo and fix units in metadata.csv * Remove peer unit
What does this PR do?
_count
appended to their namesnginx.stream.zone_sync.zone.records_total
,nginx.upstream.peers.downtime
, and'nginx.stream.upstream.peers.downtime
) from nginx plus as a count since they are currently only sent as gaugesnginx.cache.revalidated.responses
so it is properly sent as a count as wellMotivation
Support more versions of nginx plus
Additional Notes
Review checklist (to be filled by reviewers)
changelog/
andintegration/
labels attached