Created
October 24, 2023 00:17
-
-
Save mem/d7b8a264a01b491404fc813ba2c4ae08 to your computer and use it in GitHub Desktop.
How to get a Prometheus endpoint to serve Probobuf instead of the text exposition format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl \ | |
--include \ | |
-H 'Accept: application/vnd.google.protobuf; proto=io.prometheus.client.MetricFamily; encoding=compact-text' \ | |
$@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment