Skip to content

Conversation

@sysadmind
Copy link
Contributor

  • Remove up, totalScrapes, and jsonParseFailures metrics. They are not useful.
  • Move fixtures to individual files
  • Base tests on the metric output for better testing the expected output instead of the internals.

- Remove up, totalScrapes, and jsonParseFailures metrics. They are not useful.
- Move fixtures to individual files
- Base tests on the metric output for better testing the expected output instead of the internals.

Signed-off-by: Joe Adams <github@joeadams.io>
@sysadmind sysadmind requested a review from SuperQ October 15, 2023 19:16
@sysadmind sysadmind self-assigned this Oct 15, 2023
@sysadmind sysadmind added this to the Test Cleanup milestone Oct 15, 2023
@sysadmind sysadmind merged commit c8e5b3b into prometheus-community:master Oct 15, 2023
@sysadmind sysadmind deleted the datastream-tests branch October 16, 2023 12:43
jaimeyh pushed a commit to sysdiglabs/elasticsearch_exporter that referenced this pull request Jun 14, 2024
- Remove up, totalScrapes, and jsonParseFailures metrics. They are not useful.
- Move fixtures to individual files
- Base tests on the metric output for better testing the expected output instead of the internals.

Signed-off-by: Joe Adams <github@joeadams.io>
jaimeyh added a commit to sysdiglabs/elasticsearch_exporter that referenced this pull request Jun 14, 2024
jaimeyh added a commit to sysdiglabs/elasticsearch_exporter that referenced this pull request Jun 14, 2024
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