8000 Add documentation for how to export exemplars by csmarchbanks · Pull Request #934 · prometheus/client_python · GitHub
[go: up one dir, main page]

Skip to content

Add documentation for how to export exemplars #934

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

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

csmarchbanks
Copy link
Member

Expand our exemplar documentation to include information for how to use the appropriate exposition code and mention the feature flag required in Prometheus to ingest exemplars.

Suggested in #932

cc: @mumrah would you be willing to take a look at this and see if it would have helped you?

@csmarchbanks csmarchbanks force-pushed the update-exemplar-docs branch from c3f1628 to fcce8b4 Compare July 6, 2023 18:31
necessary to use `generate_latest` from
`prometheus_client.openmetrics.exposition` to view exemplars.

To view exemplars in Prometheus it is also necessary to enable the the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can link to the actual doc in addition

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, updated.

Expand our exemplar documentation to include information for how to use
the appropriate exposition code and mention the feature flag required in
Prometheus to ingest exemplars.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
@csmarchbanks csmarchbanks force-pushed the update-exemplar-docs branch from fcce8b4 to 742b8b2 Compare July 6, 2023 19:02
@roidelapluie roidelapluie merged commit 4b28834 into master Aug 8, 2023
@roidelapluie roidelapluie deleted the update-exemplar-docs branch August 8, 2023 20:55
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
0