You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The increment may only be an i64 or f64. You must not mix types for the same metric.
63
63
///
64
+
/// Takes advantage of counter support in [tracing-opentelemetry](https://docs.rs/tracing-opentelemetry/0.32.0/tracing_opentelemetry/struct.MetricsLayer.html).
/// The increment may only be an i64 or f64. You must not mix types for the same metric.
78
80
///
81
+
/// Takes advantage of histogram support in [tracing-opentelemetry](https://docs.rs/tracing-opentelemetry/0.32.0/tracing_opentelemetry/struct.MetricsLayer.html).
/// The increment may only be a positive i64 or f64. You must not mix types for the same metric.
93
97
///
98
+
/// Takes advantage of monotonic counter support in [tracing-opentelemetry](https://docs.rs/tracing-opentelemetry/0.32.0/tracing_opentelemetry/struct.MetricsLayer.html).
99
+
///
94
100
/// ```no_run
95
101
/// # use spin_telemetry::metrics::monotonic_counter;
/// Records an increment to the named monotonic counter with the given attributes.
112
+
///
113
+
/// The increment may only be a positive i64 or f64. You must not mix types for the same metric.
114
+
///
115
+
/// Takes advantage of gauge support in [tracing-opentelemetry](https://docs.rs/tracing-opentelemetry/0.32.0/tracing_opentelemetry/struct.MetricsLayer.html).
0 commit comments