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

hotfix:metrics:change prometheus response type #1169

Merged
3 commits merged into from
Jun 28, 2021

Conversation

detailyang
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:
Change prometheus response body type to text/format (default is application/octet-stream)

More detail see https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md#text-based-format

Signed-off-by: detailyang detailyang@gmail.com

Reference issue to close (if applicable)

Closes

Other information and links

utils/metrics/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@cryptoquick cryptoquick left a comment

Choose a reason for hiding this comment

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

Never a bad idea to configure proper headers.

utils/metrics/src/lib.rs Outdated Show resolved Hide resolved
@detailyang
Copy link
Contributor Author

Done. Sorry for late reply. I'm busying working for actorv5 interopnet to forest:)

@cryptoquick
Copy link
Contributor

@detailyang I like your fix!

@ghost ghost merged commit 933503e into ChainSafe:main Jun 28, 2021
This pull request was closed.
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.

None yet

3 participants