Skip to content
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

#14: support exporting metrics from Prometheus CollectorRegistry, add… #17

Merged
merged 2 commits into from
Aug 8, 2022

Conversation

devromik
Copy link
Collaborator

Support exporting metrics from Prometheus CollectorRegistry, add PrometheusInstanceSamplesProviderBuilder, add contributors to pom.xml.

… PrometheusInstanceSamplesProviderBuilder, add contributors to pom.xml
@mairovichaa
Copy link
Collaborator

mairovichaa commented Jul 28, 2022

@devromik
What do you think about splitting of single test methods into multiple smaller ones?
Now it's difficult to understand what exactly test method checks.
I hope that the split will allow to add more descriptive names/description, which could contain preconditions and expected outcome.

Example of test classes I mean:

  • PrometheusMetricsExporterTest
  • PrometheusInstanceSampleTest
  • PrometheusSampleMakerTest
  • SimpleCollectorRegistryPrometheusInstanceSamplesProviderTest

@devromik
Copy link
Collaborator Author

@devromik What do you think about splitting of single test methods into multiple smaller ones? Now it's difficult to understand what exactly test method checks. I hope that the split will allow to add more descriptive names/description, which could contain preconditions and expected outcome.

Example of test classes I mean:

  • PrometheusMetricsExporterTest
  • PrometheusInstanceSampleTest
  • PrometheusSampleMakerTest
  • SimpleCollectorRegistryPrometheusInstanceSamplesProviderTest

Created a task: #19

@devromik devromik merged commit ab596d1 into release_2-1 Aug 8, 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.

2 participants