Skip to content

Conversation

@sysadmind
Copy link
Contributor

  • Drop extra test for authenticated requests to elasticsearch. Auth is common across all collectors, so it doesn't make sense to have specific tests for an individual collector.
  • Add missing descriptions
  • Drop tests for minor versions besides the most recent. The output is very large for this collector, and there is little value in testing every single minor version.
  • Update tests to test the output of the metrics
  • Refactor the node roles metric to have the role be dynamic, and to export 0 values for roles that are missing.

- Drop extra test for authenticated requests to elasticsearch. Auth is common across all collectors, so it doesn't make sense to have specific tests for an individual collector.
- Add missing descriptions
- Drop tests for minor versions besides the most recent. The output is very large for this collector, and there is little value in testing every single minor version.
- Update tests to test the output of the metrics
- Refactor the node roles metric to have the role be dynamic, and to export 0 values for roles that are missing.

Signed-off-by: Joe Adams <github@joeadams.io>
Signed-off-by: Joe Adams <github@joeadams.io>
@sysadmind sysadmind requested a review from SuperQ September 28, 2024 16:20
Signed-off-by: Joe Adams <github@joeadams.io>
@sysadmind sysadmind added this to the Test Cleanup milestone Sep 28, 2024
@SuperQ SuperQ merged commit 33f42c6 into prometheus-community:master Oct 16, 2024
@sysadmind sysadmind deleted the nodes-test-refactor branch October 17, 2024 15:39
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.

2 participants