scuffle-metrics
[!WARNING]
This crate is under active development and may not be stable.
A wrapper around opentelemetry to provide a more ergonomic interface for creating metrics.
This crate can be used together with the scuffle-bootstrap-telemetry crate
which provides a service that integrates with the scuffle-bootstrap ecosystem.
See the changelog for a full release history.
Feature flags
prometheus(enabled by default) — Enables prometheus supporttracing— Enables tracing supportdocs— Enables changelog and documentation of feature flags
Example
// Increment the counter
request.incr;
For details see metrics!.
License
This project is licensed under the MIT or Apache-2.0 license. You can choose between one of them if you use this work.
SPDX-License-Identifier: MIT OR Apache-2.0