Skip to content

using the client without a server for integration testing #885

Answered by csmarchbanks
Arikael asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, yes this is supported. You can generate the output using openmetrics.exposition.generate_latest and then persist that to a file if you want to specifically use the OpenMetrics format. There is also write_to_textfile which will write metrics to a file in an atomic manner suitable for use with the node_exporter textfile collector. Note that this is in the Prometheus text format, not OpenMetrics.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Arikael
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants