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

Use prometheus-client by default with prometheus-exporter #107

Merged
merged 6 commits into from
Jun 2, 2023

Conversation

emschwartz
Copy link
Contributor

@emschwartz emschwartz commented Jun 1, 2023

Resolves #99

@emschwartz emschwartz requested review from mellowagain and a team and removed request for mellowagain June 1, 2023 19:05
use cfg_aliases::cfg_aliases;

pub fn main() {
println!("cargo:rerun-if-changed=build.rs");
Copy link
Member

Choose a reason for hiding this comment

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

happens automatically if set in cargo.toml

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This just means that it won't be run unless build.rs changes (i.e. it won't be re-run for changes to any other files)

@emschwartz emschwartz merged commit 208593c into main Jun 2, 2023
1 check passed
@emschwartz emschwartz deleted the default-prometheus-client branch June 2, 2023 12:51
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.

Pick a metrics library if none is selected and the prometheus-exporter feature is used
2 participants