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
{{ message }}
Repository navigation
Refactor Prometheus usage to explicitly pass a registry #2829
Slightly related: a side effect of registering metrics inside func init() is that if you run SpiceDB against Spanner (for example, via docker-compose -f docker-compose.spanner.yaml up --build), you can still see CRDB metrics in http://localhost:9090/metrics. (With zero value, but still...)
# HELP crdb_client_resets cockroachdb client-side tx reset distribution
# TYPE crdb_client_resets histogram
crdb_client_resets_bucket{le="0"} 0
crdb_client_resets_bucket{le="1"} 0
crdb_client_resets_bucket{le="2"} 0
crdb_client_resets_bucket{le="5"} 0
crdb_client_resets_bucket{le="10"} 0
crdb_client_resets_bucket{le="20"} 0
crdb_client_resets_bucket{le="50"} 0
crdb_client_resets_bucket{le="+Inf"} 0
crdb_client_resets_sum 0
crdb_client_resets_count 0
# HELP crdb_healthy_nodes the number of healthy crdb nodes detected by spicedb
# TYPE crdb_healthy_nodes gauge
crdb_healthy_nodes 0
Activity
tstirrat15 commentedon Jan 28, 2026
This may mean we can't use
promauto. Hopefully that isn't too big an issue.miparnisari commentedon Feb 13, 2026
Slightly related: a side effect of registering metrics inside
func init()is that if you run SpiceDB against Spanner (for example, viadocker-compose -f docker-compose.spanner.yaml up --build), you can still see CRDB metrics in http://localhost:9090/metrics. (With zero value, but still...)