Metrics reference (Plus)

Every metric CocoIndex Plus exports over OpenTelemetry, with its Prometheus name, labels and meaning. Generated from the engine's metric catalog.

Version
v 1.0.62

Every metric CocoIndex Plus exports, as the engine names it and as a Prometheus-compatible store renders it after the OpenTelemetry translation (dots become underscores, counters gain _total, time units become _seconds). Histograms additionally produce _bucket, _sum and _count series. All metrics carry the env and app labels. See the Observability guide for configuration and the reference dashboard.

Catalog

OpenTelemetry namePrometheus nameKindUnitLabelsDescription
cocoindex.runscocoindex_runs_totalcounter{run}env, app, mode, full_reprocess, statusUpdates that finished, by mode and status.
cocoindex.run.time_to_readycocoindex_run_time_to_ready_secondshistogramsenv, app, modeTime from the start of an update until initial processing caught up.
cocoindex.run.durationcocoindex_run_duration_secondshistogramsenv, app, mode, statusTime from the start of an update until it terminated.
cocoindex.run.last_ready_timecocoindex_run_last_ready_time_secondsobservable gaugesenv, appUnix time at which the last update of the app reached ready.
cocoindex.component.startscocoindex_component_starts_totalcounter{run}env, app, stats_group, processorComponent runs started. Minus finished runs gives runs in progress.
cocoindex.component.runscocoindex_component_runs_totalcounter{run}env, app, stats_group, processor, mount_kind, ownership, outcomeComponent runs finished, by outcome (unchanged, added, reprocessed, deleted, error).
cocoindex.component.process.durationcocoindex_component_process_duration_secondshistogramsenv, app, stats_group, processorWall time of the processor body (user code).
cocoindex.component.submit.durationcocoindex_component_submit_duration_secondshistogramsenv, app, stats_group, processor, phaseWall time of each submit phase: precommit, sink_apply, commit.
cocoindex.component.memo.decisionscocoindex_component_memo_decisions_totalcounter{decision}env, app, stats_group, processor, decisionWhy each component run was reused or rebuilt.
cocoindex.admission.availablecocoindex_admission_availableobservable gauge{token}env, appIn-flight tokens (max_inflight_components) not held by any run.
cocoindex.admission.waitscocoindex_admission_waits_totalcounter{wait}env, appComponent runs that took an in-flight token from a bounded pool; the wait duration histogram says how long each waited.
cocoindex.admission.wait.durationcocoindex_admission_wait_duration_secondshistogramsenv, appTime component runs waited for an in-flight token.
cocoindex.target.reconcilescocoindex_target_reconciles_totalcounter{state}env, app, provider, container, resultTarget states reconciled, by result (created, updated, deleted, unchanged, unchanged_skipped).
cocoindex.target.sink.durationcocoindex_target_sink_duration_secondshistogramsenv, app, sinkWall time of one target action sink call.
cocoindex.target.sink.batch_sizecocoindex_target_sink_batch_sizehistogram{action}env, app, sinkActions per target action sink call (several components may be merged).
cocoindex.target.sink.splitscocoindex_target_sink_splits_totalcounter{batch}env, app, sinkSink calls re-applied on a smaller batch to isolate a failure.
cocoindex.target.sink.failurescocoindex_target_sink_failures_totalcounter{batch}env, app, sinkTarget action sink calls that failed.
cocoindex.errorscocoindex_errors_totalcounter{error}env, app, stats_group, processor, mount_kind, exception_type, handledComponent failures, by exception type and whether a handler swallowed them.

User counters

coco.metrics.counter(name) exports cocoindex.user.<name> (Prometheus: cocoindex_user_<name>_total), a counter with the env, app, stats_group and processor labels of the component the value was added from. See User counters.

CocoIndex Docs