NativeLink
Reference

Metrics reference

Every OpenTelemetry instrument NativeLink declares, with its type, unit, attributes, Prometheus series, and whether the binary actually emits it. Autogenerated from the Rust source and its call sites.

NativeLink v1.6.5 declares 30 OpenTelemetry instruments. This page is generated from the declarations in nativelink-util/src/metrics.rs and from every .add() and .record() call site across the workspace, so the Emitted column is not a claim, it is the result of looking.

That column is the reason this page is generated rather than written. Declaring an instrument costs nothing and emits nothing; the instrument only produces a series when some code path calls it. A catalogue written by hand cannot tell those two states apart, and the gap between them is where dashboards go quietly wrong.

Every instrument at a glance

InstrumentPrometheus seriesKindEmittedUnder what conditions
cache.operation.durationnativelink_cache_operation_durationHistogramConditionallyonly for stores explicitly wrapped in a cache_metrics spec
cache.operationsnativelink_cache_operations_totalCounterConditionallyonly for stores explicitly wrapped in a cache_metrics spec
cache.ionativelink_cache_io_totalCounterConditionallyonly for stores explicitly wrapped in a cache_metrics spec
cache.sizenativelink_cache_sizeUpDownCounterNeverno call site anywhere in the workspace
cache.entriesnativelink_cache_entriesUpDownCounterNeverno call site anywhere in the workspace
cache.item.sizenativelink_cache_item_sizeHistogramConditionallyonly for stores explicitly wrapped in a cache_metrics spec
execution.stage.durationnativelink_execution_stage_durationHistogramConditionallyscheduler process only
execution.total.durationnativelink_execution_total_durationHistogramConditionallyscheduler process only
execution.queue.timenativelink_execution_queue_timeHistogramConditionallyscheduler process only
execution.active.countnativelink_execution_active_count (unreferenced)UpDownCounterConditionallyscheduler process only
execution.completed.countnativelink_execution_completed_count_totalCounterConditionallyscheduler process only
execution.stage.transitionsnativelink_execution_stage_transitions_totalCounterConditionallyscheduler process only
execution.cpu.timenativelink_execution_cpu_time (unreferenced)HistogramConditionallyscheduler process only
execution.peak.memorynativelink_execution_peak_memory (unreferenced)HistogramConditionallyscheduler process only
execution.output.sizenativelink_execution_output_sizeHistogramConditionallyscheduler process only
execution.retry.countnativelink_execution_retry_count_totalCounterConditionallyscheduler process only
worker.connected.countnativelink_worker_connected_count (unreferenced)UpDownCounterConditionallyscheduler process only
worker.connectionsnativelink_worker_connections (unreferenced)CounterConditionallyscheduler process only
worker.disconnectionsnativelink_worker_disconnections (unreferenced)CounterConditionallyscheduler process only
worker.keepalivesnativelink_worker_keepalives (unreferenced)CounterConditionallyscheduler process only
worker.state.countnativelink_worker_state_count (unreferenced)UpDownCounterConditionallyscheduler process only
rpc.server.durationnativelink_rpc_server_duration (unreferenced)HistogramYeswhenever the code path runs
scheduler.matching.durationnativelink_scheduler_matching_duration (unreferenced)HistogramConditionallyscheduler process only
scheduler.matching.passesnativelink_scheduler_matching_passes (unreferenced)CounterConditionallyscheduler process only
store.tier.operationsnativelink_store_tier_operations (unreferenced)CounterConditionallyonly through a fast_slow store
store.tier.ionativelink_store_tier_io (unreferenced)CounterConditionallyonly through a fast_slow store
health.checksnativelink_health_checks (unreferenced)CounterYeswhenever the code path runs
connection.pool.availablenativelink_connection_pool_available (unreferenced)HistogramYeswhenever the code path runs
connection.pool.acquisitionsnativelink_connection_pool_acquisitions (unreferenced)CounterYeswhenever the code path runs
connection.reconnectsnativelink_connection_reconnects (unreferenced)CounterYeswhenever the code path runs

How an instrument becomes a Prometheus series

NativeLink speaks OTLP only; there is no Prometheus scrape endpoint in the binary. The names in the middle column above are what the shipped OpenTelemetry collector produces after two transformations:

  1. The Prometheus exporter in otel-collector-config.yaml is configured with namespace: nativelink, which prefixes every series with nativelink_.
  2. The exporter rewrites the OTLP name into Prometheus form: dots become underscores, and monotonic counters gain a _total suffix. Histograms fan out into _bucket, _sum and _count series.

cache.operations (a counter) is therefore scraped as nativelink_cache_operations_total, and cache.operation.duration (a histogram) as nativelink_cache_operation_duration_bucket and friends. Change the collector's namespace and every name on this page changes with it.

Where a name in the Prometheus series column is unmarked, it is not a prediction: it is the name that actually appears in the shipped rules, dashboards and alerts under deployment-examples/metrics/ and kubernetes/. A name marked (unreferenced) is derived from the two rules above, because no shipped artifact mentions that metric at all: nothing has ever queried it, so nothing has confirmed the exporter's spelling of it.

Declared but never emitted

2 instruments are built by the meter and stored on the metrics struct, but no code anywhere in the workspace ever calls .add() or .record() on them. They will never appear in your Prometheus output, at any configuration, on any release this page was generated from.

Cache metrics

Global cache metrics instruments.

Declared as CACHE_METRICS in nativelink-util/src/metrics.rs:419, backed by the CacheMetrics struct.

Every cache instrument is emitted from one place: the cache_metrics store wrapper. A store that is not wrapped emits nothing, no matter how the collector is configured.

cache.operation.duration

Histogram of cache operation durations in milliseconds

PropertyValue
Instrument typeHistogram<f64>
Fieldcache_operation_duration
Unitms
Prometheus seriesnativelink_cache_operation_duration
EmittedConditionally. only for stores explicitly wrapped in a cache_metrics spec
Declared atnativelink-util/src/metrics.rs:423
Emitted fromnativelink-store/src/cache_metrics_store.rs:67

Histogram buckets: 19 explicit boundaries, from 0.001 to 5000.0 ms. Anything past the last boundary lands in the +Inf bucket, so a quantile computed above it is a lower bound, not a measurement.

cache.operations

Counter of cache operations by type and result

cache.io

Counter of bytes read/written during cache operations

PropertyValue
Instrument typeCounter<u64>
Fieldcache_io
UnitBy
Prometheus seriesnativelink_cache_io_total
EmittedConditionally. only for stores explicitly wrapped in a cache_metrics spec
Declared atnativelink-util/src/metrics.rs:462
Emitted fromnativelink-store/src/cache_metrics_store.rs:74, nativelink-store/src/cache_metrics_store.rs:242

cache.size

Current total size of all cached data in bytes

PropertyValue
Instrument typeUpDownCounter<i64>
Fieldcache_size
UnitBy
Prometheus seriesnativelink_cache_size
EmittedNever. no call site anywhere in the workspace
Declared atnativelink-util/src/metrics.rs:468
Emitted from

cache.entries

Current number of entries in cache

PropertyValue
Instrument typeUpDownCounter<i64>
Fieldcache_entries
Unit{entry}
Prometheus seriesnativelink_cache_entries
EmittedNever. no call site anywhere in the workspace
Declared atnativelink-util/src/metrics.rs:474
Emitted from

cache.item.size

Histogram of individual cache entry sizes in bytes

PropertyValue
Instrument typeHistogram<u64>
Fieldcache_entry_size
UnitBy
Prometheus seriesnativelink_cache_item_size
EmittedConditionally. only for stores explicitly wrapped in a cache_metrics spec
Declared atnativelink-util/src/metrics.rs:480
Emitted fromnativelink-store/src/cache_metrics_store.rs:77

Execution metrics

Global remote execution metrics instruments.

Declared as EXECUTION_METRICS in nativelink-util/src/metrics.rs:506, backed by the ExecutionMetrics struct.

Execution instruments are emitted from the scheduler process as actions change state, plus the per-action CPU time and peak memory a worker reports back when it finishes. Worker processes emit no execution metrics of their own.

execution.stage.duration

Histogram of stage durations in seconds

PropertyValue
Instrument typeHistogram<f64>
Fieldexecution_stage_duration
Units
Prometheus seriesnativelink_execution_stage_duration
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:510
Emitted fromnativelink-scheduler/src/simple_scheduler_state_manager.rs:919

Histogram buckets: 15 explicit boundaries, from 0.001 to 3600.0 s. Anything past the last boundary lands in the +Inf bucket, so a quantile computed above it is a lower bound, not a measurement.

execution.total.duration

Histogram of total execution durations in seconds

PropertyValue
Instrument typeHistogram<f64>
Fieldexecution_total_duration
Units
Prometheus seriesnativelink_execution_total_duration
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:535
Emitted fromnativelink-scheduler/src/simple_scheduler_state_manager.rs:919

Histogram buckets: 13 explicit boundaries, from 0.01 to 7200.0 s. Anything past the last boundary lands in the +Inf bucket, so a quantile computed above it is a lower bound, not a measurement.

execution.queue.time

Histogram of queue wait times in seconds

PropertyValue
Instrument typeHistogram<f64>
Fieldexecution_queue_time
Units
Prometheus seriesnativelink_execution_queue_time
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:560
Emitted fromnativelink-scheduler/src/simple_scheduler_state_manager.rs:919

Histogram buckets: 12 explicit boundaries, from 0.001 to 600.0 s. Anything past the last boundary lands in the +Inf bucket, so a quantile computed above it is a lower bound, not a measurement.

execution.active.count

Current number of actions in each stage

PropertyValue
Instrument typeUpDownCounter<i64>
Fieldexecution_active_count
Unit{action}
Prometheus seriesnativelink_execution_active_count (not referenced by any shipped rule or dashboard)
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:580
Emitted fromnativelink-scheduler/src/memory_awaited_action_db.rs:662, nativelink-scheduler/src/memory_awaited_action_db.rs:669, nativelink-scheduler/src/memory_awaited_action_db.rs:814

execution.completed.count

Total number of completed executions

PropertyValue
Instrument typeCounter<u64>
Fieldexecution_completed_count
Unit{action}
Prometheus seriesnativelink_execution_completed_count_total
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:586
Emitted fromnativelink-scheduler/src/memory_awaited_action_db.rs:688, nativelink-scheduler/src/memory_awaited_action_db.rs:700, nativelink-scheduler/src/simple_scheduler_state_manager.rs:918, nativelink-scheduler/src/simple_scheduler_state_manager.rs:928

execution.stage.transitions

Number of stage transitions

PropertyValue
Instrument typeCounter<u64>
Fieldexecution_stage_transitions
Unit{transition}
Prometheus seriesnativelink_execution_stage_transitions_total
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:592
Emitted fromnativelink-scheduler/src/memory_awaited_action_db.rs:655, nativelink-scheduler/src/simple_scheduler_state_manager.rs:907

execution.cpu.time

CPU time an action used, as sampled by the worker.

PropertyValue
Instrument typeHistogram<f64>
Fieldexecution_cpu_time
Units
Prometheus seriesnativelink_execution_cpu_time (not referenced by any shipped rule or dashboard)
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:598
Emitted fromnativelink-scheduler/src/api_worker_scheduler.rs:709

Histogram buckets: 12 explicit boundaries, from 0.1 to 7200.0 s. Anything past the last boundary lands in the +Inf bucket, so a quantile computed above it is a lower bound, not a measurement.

execution.peak.memory

Peak memory an action used, as sampled by the worker.

PropertyValue
Instrument typeHistogram<u64>
Fieldexecution_peak_memory
UnitBy
Prometheus seriesnativelink_execution_peak_memory (not referenced by any shipped rule or dashboard)
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:607
Emitted fromnativelink-scheduler/src/api_worker_scheduler.rs:706

Histogram buckets: 8 explicit boundaries, from 1_048_576.0 to 68_719_476_736.0 By. Anything past the last boundary lands in the +Inf bucket, so a quantile computed above it is a lower bound, not a measurement.

execution.output.size

Histogram of output sizes in bytes

PropertyValue
Instrument typeHistogram<u64>
Fieldexecution_output_size
UnitBy
Prometheus seriesnativelink_execution_output_size
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:623
Emitted fromnativelink-scheduler/src/simple_scheduler_state_manager.rs:919

Histogram buckets: 8 explicit boundaries, from 1_024.0 to 10_737_418_240.0 By. Anything past the last boundary lands in the +Inf bucket, so a quantile computed above it is a lower bound, not a measurement.

execution.retry.count

Counter for execution retries

PropertyValue
Instrument typeCounter<u64>
Fieldexecution_retry_count
Unit{retry}
Prometheus seriesnativelink_execution_retry_count_total
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:639
Emitted fromnativelink-scheduler/src/simple_scheduler_state_manager.rs:940

Worker fleet metrics

Global worker fleet metrics instruments.

Declared as WORKER_METRICS in nativelink-util/src/metrics.rs:817, backed by the WorkerMetrics struct.

Worker fleet instruments are emitted from the scheduler process as workers connect, heartbeat, pause, drain and leave. They describe the pool as this scheduler instance sees it.

worker.connected.count

Workers currently connected.

PropertyValue
Instrument typeUpDownCounter<i64>
Fieldworker_connected_count
Unit{worker}
Prometheus seriesnativelink_worker_connected_count (not referenced by any shipped rule or dashboard)
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:821
Emitted fromnativelink-scheduler/src/api_worker_scheduler.rs:227, nativelink-scheduler/src/api_worker_scheduler.rs:504

worker.connections

Workers that have joined, cumulative.

PropertyValue
Instrument typeCounter<u64>
Fieldworker_connections
Unit{worker}
Prometheus seriesnativelink_worker_connections (not referenced by any shipped rule or dashboard)
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:827
Emitted fromnativelink-scheduler/src/api_worker_scheduler.rs:227

worker.disconnections

Workers that have left, cumulative, by reason.

PropertyValue
Instrument typeCounter<u64>
Fieldworker_disconnections
Unit{worker}
Prometheus seriesnativelink_worker_disconnections (not referenced by any shipped rule or dashboard)
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:833
Emitted fromnativelink-scheduler/src/api_worker_scheduler.rs:504

worker.keepalives

Keepalives received, cumulative.

PropertyValue
Instrument typeCounter<u64>
Fieldworker_keepalives
Unit{keepalive}
Prometheus seriesnativelink_worker_keepalives (not referenced by any shipped rule or dashboard)
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:839
Emitted fromnativelink-scheduler/src/api_worker_scheduler.rs:187

worker.state.count

Connected workers currently paused or draining.

PropertyValue
Instrument typeUpDownCounter<i64>
Fieldworker_state_count
Unit{worker}
Prometheus seriesnativelink_worker_state_count (not referenced by any shipped rule or dashboard)
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:845
Emitted fromnativelink-scheduler/src/api_worker_scheduler.rs:221, nativelink-scheduler/src/api_worker_scheduler.rs:224, nativelink-scheduler/src/api_worker_scheduler.rs:256, nativelink-scheduler/src/api_worker_scheduler.rs:413

gRPC server metrics

Global gRPC serving metrics.

One duration histogram covers rate, errors and latency: the count gives rate, the status attribute separates errors, and the buckets give latency.

Declared as RPC_METRICS in nativelink-util/src/metrics.rs:921, backed by the RpcMetrics struct.

Emitted by the OtlpLayer tower middleware on every gRPC server NativeLink starts, so a CAS, a scheduler and a worker API endpoint each report their own.

rpc.server.duration

Duration of inbound gRPC calls, by service, method and status.

PropertyValue
Instrument typeHistogram<f64>
Fieldrpc_server_duration
Units
Prometheus seriesnativelink_rpc_server_duration (not referenced by any shipped rule or dashboard)
EmittedYes. whenever the code path runs
Declared atnativelink-util/src/metrics.rs:925
Emitted fromnativelink-util/src/telemetry.rs:375

Histogram buckets: 15 explicit boundaries, from 0.001 to 300.0 s. Anything past the last boundary lands in the +Inf bucket, so a quantile computed above it is a lower bound, not a measurement.

Scheduler metrics

Global scheduler metrics.

Declared as SCHEDULER_METRICS in nativelink-util/src/metrics.rs:974, backed by the SchedulerOtlpMetrics struct.

Emitted from the scheduler process once per matching pass, whether or not the pass assigned anything.

scheduler.matching.duration

How long a matching pass takes. The saturation signal: this climbing while the queue is non-empty means matching is the bottleneck.

PropertyValue
Instrument typeHistogram<f64>
Fieldmatching_duration
Units
Prometheus seriesnativelink_scheduler_matching_duration (not referenced by any shipped rule or dashboard)
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:978
Emitted fromnativelink-scheduler/src/simple_scheduler.rs:281

Histogram buckets: 13 explicit boundaries, from 0.0001 to 10.0 s. Anything past the last boundary lands in the +Inf bucket, so a quantile computed above it is a lower bound, not a measurement.

scheduler.matching.passes

Matching passes, by result.

PropertyValue
Instrument typeCounter<u64>
Fieldmatching_passes
Unit{pass}
Prometheus seriesnativelink_scheduler_matching_passes (not referenced by any shipped rule or dashboard)
EmittedConditionally. scheduler process only
Declared atnativelink-util/src/metrics.rs:987
Emitted fromnativelink-scheduler/src/simple_scheduler.rs:281

Store tier metrics

Global tiered-store metrics.

Declared as STORE_TIER_METRICS in nativelink-util/src/metrics.rs:1023, backed by the StoreTierMetrics struct.

Emitted from the fast_slow store wrapper only. A deployment without a fast_slow store emits none of these.

store.tier.operations

Reads served per tier, by result.

PropertyValue
Instrument typeCounter<u64>
Fieldtier_operations
Unit{operation}
Prometheus seriesnativelink_store_tier_operations (not referenced by any shipped rule or dashboard)
EmittedConditionally. only through a fast_slow store
Declared atnativelink-util/src/metrics.rs:1027
Emitted fromnativelink-store/src/fast_slow_store.rs:340, nativelink-store/src/fast_slow_store.rs:807, nativelink-store/src/fast_slow_store.rs:823, nativelink-store/src/fast_slow_store.rs:833, nativelink-store/src/fast_slow_store.rs:858, nativelink-store/src/fast_slow_store.rs:880

store.tier.io

Bytes moved per tier and direction.

PropertyValue
Instrument typeCounter<u64>
Fieldtier_io
UnitBy
Prometheus seriesnativelink_store_tier_io (not referenced by any shipped rule or dashboard)
EmittedConditionally. only through a fast_slow store
Declared atnativelink-util/src/metrics.rs:1033
Emitted fromnativelink-store/src/fast_slow_store.rs:349, nativelink-store/src/fast_slow_store.rs:824, nativelink-store/src/fast_slow_store.rs:859, nativelink-store/src/fast_slow_store.rs:881

Health check metrics

Global health-check metrics.

Declared as HEALTH_METRICS in nativelink-util/src/metrics.rs:1074, backed by the HealthMetrics struct.

Emitted each time the health check endpoint runs, one observation per registered health indicator.

health.checks

Health check results, by namespace and status.

PropertyValue
Instrument typeCounter<u64>
Fieldhealth_checks
Unit{check}
Prometheus seriesnativelink_health_checks (not referenced by any shipped rule or dashboard)
EmittedYes. whenever the code path runs
Declared atnativelink-util/src/metrics.rs:1078
Emitted fromnativelink-util/src/health_utils.rs:248

Connection pool metrics

Global connection-pool metrics.

Declared as CONNECTION_METRICS in nativelink-util/src/metrics.rs:1105, backed by the ConnectionMetrics struct.

Emitted by the gRPC connection manager and the Redis store as they hand out and re-establish connections. A deployment that uses neither emits none of these.

connection.pool.available

Free slots at the moment a connection was taken.

PropertyValue
Instrument typeHistogram<u64>
Fieldpool_available
Unit{connection}
Prometheus seriesnativelink_connection_pool_available (not referenced by any shipped rule or dashboard)
EmittedYes. whenever the code path runs
Declared atnativelink-util/src/metrics.rs:1109
Emitted fromnativelink-store/src/redis_store.rs:558, nativelink-util/src/connection_manager.rs:341, nativelink-util/src/connection_manager.rs:351

Histogram buckets: 11 explicit boundaries, from 0.0 to 512.0 {connection}. Anything past the last boundary lands in the +Inf bucket, so a quantile computed above it is a lower bound, not a measurement.

connection.pool.acquisitions

Acquisitions, by pool and result.

PropertyValue
Instrument typeCounter<u64>
Fieldpool_acquisitions
Unit{acquisition}
Prometheus seriesnativelink_connection_pool_acquisitions (not referenced by any shipped rule or dashboard)
EmittedYes. whenever the code path runs
Declared atnativelink-util/src/metrics.rs:1118
Emitted fromnativelink-store/src/redis_store.rs:558, nativelink-util/src/connection_manager.rs:341, nativelink-util/src/connection_manager.rs:351

connection.reconnects

Reconnects, by pool.

PropertyValue
Instrument typeCounter<u64>
Fieldreconnects
Unit{reconnect}
Prometheus seriesnativelink_connection_reconnects (not referenced by any shipped rule or dashboard)
EmittedYes. whenever the code path runs
Declared atnativelink-util/src/metrics.rs:1124
Emitted fromnativelink-store/src/redis_store.rs:318

Attributes

Every attribute key NativeLink attaches to a metric, and the closed set of values it can take. The Prometheus label is the key with dots replaced by underscores.

Cache attributes

AttributePrometheus labelRust constantValues
cache.typecache_typeCACHE_TYPEopen (free-form string)
cache.operation.namecache_operation_nameCACHE_OPERATIONread, write, delete, evict
cache.operation.resultcache_operation_resultCACHE_RESULThit, miss, expired, success, error

Execution attributes

AttributePrometheus labelRust constantValues
execution.stageexecution_stageEXECUTION_STAGEunknown, cache_check, queued, executing, completed
execution.resultexecution_resultEXECUTION_RESULTsuccess, failure, cancelled, timeout, cache_hit
execution.instanceexecution_instanceEXECUTION_INSTANCEopen (free-form string)
execution.priorityexecution_priorityEXECUTION_PRIORITYopen (free-form string)
execution.worker_idexecution_worker_idEXECUTION_WORKER_IDopen (free-form string)
execution.exit_codeexecution_exit_codeEXECUTION_EXIT_CODEopen (free-form string)
execution.action_digestexecution_action_digestEXECUTION_ACTION_DIGESTopen (free-form string)

Worker attributes

AttributePrometheus labelRust constantValues
worker.stateworker_stateWORKER_STATEopen (free-form string)
worker.disconnect.reasonworker_disconnect_reasonWORKER_DISCONNECT_REASONopen (free-form string)

gRPC attributes

AttributePrometheus labelRust constantValues
rpc.servicerpc_serviceRPC_SERVICEopen (free-form string)
rpc.methodrpc_methodRPC_METHODopen (free-form string)
rpc.grpc.status_coderpc_grpc_status_codeRPC_STATUS_CODEopen (free-form string)

Scheduler attributes

AttributePrometheus labelRust constantValues
scheduler.match.resultscheduler_match_resultSCHEDULER_MATCH_RESULTopen (free-form string)

Store tier attributes

AttributePrometheus labelRust constantValues
store.tierstore_tierSTORE_TIERopen (free-form string)
store.resultstore_resultSTORE_RESULTopen (free-form string)
store.directionstore_directionSTORE_DIRECTIONopen (free-form string)

Health attributes

AttributePrometheus labelRust constantValues
health.namespacehealth_namespaceHEALTH_NAMESPACEopen (free-form string)
health.statushealth_statusHEALTH_STATUSopen (free-form string)

Connection attributes

AttributePrometheus labelRust constantValues
connection.poolconnection_poolCONNECTION_POOLopen (free-form string)
connection.resultconnection_resultCONNECTION_RESULTopen (free-form string)

cache.operation.name values

ValueMeaning
readData retrieval operations (get, peek, contains, etc.)
writeData storage operations (insert, update, replace, etc.)
deleteExplicit data removal operations
evictAutomatic cache maintenance (evictions, TTL cleanup, etc.)

cache.operation.result values

ValueMeaning
hitData found and valid (Read operations)
missData not found (Read operations)
expiredData found but invalid/expired (Read operations)
successOperation completed successfully (Write/Delete/Evict operations)
errorOperation failed (any operation type)

execution.stage values

ValueMeaning
unknownUnknown stage
cache_checkChecking cache for existing results
queuedAction is queued waiting for execution
executingAction is being executed by a worker
completedAction execution completed

execution.result values

ValueMeaning
successExecution completed successfully
failureExecution failed
cancelledExecution was cancelled
timeoutExecution timed out
cache_hitResult was found in cache

Reading the source

If anything here disagrees with the binary, the source wins:

Where to go next

NextWire up the telemetry pipeline

The collector, the exporter interval and the queries worth alerting on: the operational half of this reference.

SidewaysConfiguration reference

Every configuration field, generated the same way from the same source of truth.