-
Notifications
You must be signed in to change notification settings - Fork 161
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
Add Prometheus server #1098
Add Prometheus server #1098
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remember to run the license script :p
use std::io::prelude::*; | ||
use std::path::PathBuf; | ||
use std::sync::Arc; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for separating these out! I usually do them in the opposite order, though, but either way, it really helps vs mixing them in. I also do similar in Cargo.toml and use #
to separate them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I would really like it if this was part of our style guide
Summary of changes
Adds a Prometheus HTTP server to the
forest
process to support the collection of metrics.This PR does not add metrics to
forest
, it only sets up the metrics scaffolding.Reference issue to close (if applicable)
Closes #1095
Other information and links