Decision Workspace
tonic-otel-layer vs tonic_prometheus_layer vs axum-otel-metrics
Side-by-side comparison of Rust crates
42
tonic-otel-layer
growingv0.2.0
Layer for a Tonic gRPC server that adds an OpenTelemetry metrics support.
51
tonic_prometheus_layer
growingv0.3.0
Tonic-compatible Tower Layer for Prometheus Metrics
53
axum-otel-metrics
growingv0.14.1
axum OpenTelemetry metrics middleware with OTLP exporter
Core Metrics
| tonic-otel-layer | tonic_prometheus_layer | axum-otel-metrics | |
|---|---|---|---|
| Health Score | 42 | 51 | 53 |
| Total Downloads | 10.3K | 4.4M | 469.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 26 | 37 |
| Releases | 2 | 15 | 23 |
| Last Updated | 136d ago | 218d ago | 90d ago |
| Age | 1y 3m | 2y 3m | 3y 12m |
Health Breakdown
tonic-otel-layer
Maintenance
10
Quality
14
Community
3
Popularity
5
Documentation
10
tonic_prometheus_layer
Maintenance
10
Quality
13
Community
10
Popularity
8
Documentation
10
axum-otel-metrics
Maintenance
14
Quality
9
Community
10
Popularity
7
Documentation
13
Technical Details
| tonic-otel-layer | tonic_prometheus_layer | axum-otel-metrics | |
|---|---|---|---|
| Version | 0.2.0 | 0.3.0 | 0.14.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 5 | 8 | 11 |
| Crate Size | 10KB | 14KB | 31KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 13.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •axum-otel-metrics leads with a health score of 53/100, but none of the options score above 80.
- •tonic_prometheus_layer has the most downloads (4.4M), suggesting wider adoption.