autometrics-rs
autometrics-rs copied to clipboard
Easily add metrics to your code that actually help you spot and debug issues in production. Built on Prometheus and OpenTelemetry.
I've a larger mono-repo that builds with Bazel and when adding autometrics as dependency, compile fails with the error below. Apparently, the issue is caused because the repo_url in the...
Hello, In a few projects I routinely already get access to the git describe that contains the version, sha and dirtiness of the repo. This is typically passed to clap...
A number of people have described use cases where the details of an SLO may be different for different instances of the same service. For example, a service that has...
Hello. I've checked examples but could find a way to instrument the axum app to include additional metrics. Here is the code: **main.rs** Instrument handler with `#[autometrics]` macro work great...
If you refactor your code and change the names of functions or modules, you might want to keep some continuity with the metric names. @akesling suggested allowing users to specify...
> Oh I see, so the point of this PR is to automatically start Prometheus in a Docker container if it's missing, instead of having to have Prometheus installed on...
I think some of the feedback we got was to know whether it is possible to conditionally compile autometrics, and maybe we could add examples of this in the doc;...
The "For projects already using custom Prometheus metrics" section could use a few tweaks, noting them here not to forget. - The toml snippet to add autometrics doesn't work. "Inline...
Once you're done setting up `autometrics` there could be a "now what?" moment, where you might not know what those metrics would bring. Maybe adding a small `am.toml` file (or...
@hatchan suggested refactoring out the logic for building the Prometheus queries into a separate crate so it can potentially be used outside of the macro. Maybe we call it something...