Install
Guides

Metrics reference

Every series Relic exports on its metrics port, with its labels.

Relic serves these series at /metrics on its metrics port (RELIC_METRICS_LISTEN_ADDRESS, default :8091), besides the Go runtime (go_*) and process (process_*) collectors. Label values are bounded: routes are the router's patterns, formats and classes come from fixed lists, and anything unknown is other. A repository label marked (opt-in) appears only with RELIC_METRICS_REPOSITORY_LABEL=true; the replication gauges carry it always, one series per configured replication. Histograms also export _bucket, _sum and _count, and latency histograms carry the trace ID as an exemplar. See Monitoring for the dashboards and alerts.

SeriesTypeLabelsMeaning
relic_artifact_bytes_totalcounterdirection, format, repository (opt-in)File bytes deployed (direction up) and downloaded (down), by format.
relic_artifact_downloads_totalcounterformat, class, source, repository (opt-in)Full file downloads by format, class of the repository that served them, and source (local, cache, upstream).
relic_artifact_uploads_totalcounterformat, class, repository (opt-in)Files deployed into local repositories, by format and repository class.
relic_audit_events_totalcounteroutcome, resultAudit events by outcome (success, denied, failure), and whether recording them failed (result).
relic_auth_attempts_totalcountermethod, resultAuthentication attempts by credential method and result (success, failure, throttled, error).
relic_blob_integrity_failures_totalcounterproblemReads that found a blob missing from object storage, or stored content that does not match its digest or size.
relic_build_infogaugeversion, revision, componentRelic's version and source revision; always 1.
relic_buildsgaugeBuild names with published build info.
relic_builds_published_totalcounterresultBuild info documents published, by result.
relic_cache_lookups_totalcountercache, resultLookups of in-memory caches by cache (repository settings, SBOM components) and result (hit, miss).
relic_cleanup_moved_totalcounterItems cleanup policies moved to the trash.
relic_cleanup_runs_totalcounterresultCleanup policy runs by result.
relic_cve_feed_age_secondsgaugefeedTime since each CVE feed (epss, kev) was last read.
relic_db_pool_acquire_duration_seconds_totalcounterTime spent acquiring connections.
relic_db_pool_acquiredgaugeConnections in use.
relic_db_pool_acquires_totalcounterConnections acquired from the pool.
relic_db_pool_empty_acquire_totalcounterAcquires that had to wait because no connection was idle.
relic_db_pool_idlegaugeIdle connections.
relic_db_pool_maxgaugeThe pool's maximum size.
relic_db_query_duration_secondshistogramqueryDatabase query duration by sqlc query name (other for dynamic and migration SQL).
relic_db_sqlite_file_bytesgaugeSize of the SQLite database, its write-ahead log included.
relic_db_transaction_retries_totalcounterreasonTransactions run again after a deadlock, a serialization failure, a busy SQLite database or a conflict.
relic_deploy_checksum_hits_totalcounterformatDeploys satisfied by content Relic already stored (checksum deploys), by format.
relic_deps_dev_lookups_totalcounterresultdeps.dev lookups that missed the cache, by result (success, error).
relic_disk_free_bytesgaugevolumeFree space on the volume Relic keeps data on (SQLite, the filesystem object store).
relic_disk_size_bytesgaugevolumeSize of the volume Relic keeps data on (SQLite, the filesystem object store).
relic_downloads_blocked_totalcounterreasonDownloads refused by a scan policy, by reason (unscanned, quarantine, policy).
relic_downloads_not_held_totalcounterreasonDownloads served without a successful scan where quarantine or blockUnscanned would hold a package, by reason (unscanned, quarantine).
relic_end_of_life_refreshes_totalcounterresultReads of the end-of-life data by result (changed, unchanged, error).
relic_findingsgaugeseverityVulnerability findings on content stored in repositories, by severity.
relic_gc_deleted_blobs_totalcounterBlobs removed by garbage collection.
relic_gc_deleted_bytes_totalcounterBytes reclaimed by garbage collection (the drop in unreferenced bytes over a run).
relic_gc_deleted_temporary_files_totalcounterExpired uploads and staging files the filesystem object store's garbage collection deleted.
relic_gc_runs_totalcounterresultGarbage collection runs by result.
relic_http_request_duration_secondshistogramfamily, route, methodTime from the request's arrival to the end of its response.
relic_http_request_size_byteshistogramfamilyRequest body bytes read, by API family.
relic_http_requests_in_flightgaugefamilyRequests being served, by API family.
relic_http_requests_totalcounterfamily, route, method, codeHTTP requests by API family, route pattern, method and status class.
relic_http_response_size_byteshistogramfamilyResponse body bytes written, by API family.
relic_http_slow_requests_totalcounterfamilyRequests still being served 10 seconds after they arrived, by API family.
relic_huggingface_xet_rebuilt_bytes_totalcounterBytes of the files Relic rebuilt from Xet xorbs into repository items.
relic_huggingface_xet_shard_duration_secondshistogramresultTime to register a Xet shard, rebuilding the files it lists, by result (success, error).
relic_huggingface_xet_upload_bytes_totalcounterobjectBytes of the Xet objects Hugging Face clients uploaded and Relic stored, by object (xorb, shard).
relic_huggingface_xet_uploads_totalcounterobject, resultXet objects Hugging Face clients uploaded, by object (xorb, shard) and result (success, error).
relic_index_build_duration_secondshistogramformat, class, resultTime to generate a repository's indexes (Debian distributions, RPM repodata, Helm indexes), by format, repository class and result (success, error).
relic_index_cache_bytesgaugeformatBytes the kept generated indexes take, by format.
relic_index_cache_totalcounterformat, resultLookups of generated indexes: hit (served fresh), stale (served while a rebuild runs), miss (waited for a build).
relic_inventory_timestamp_secondsgaugeWhen the inventory series were last computed (Unix time).
relic_item_downloads_dropped_totalcounterDownloads left out of the per-item download counts because too many items were waiting for a database write.
relic_job_duration_secondshistogramkindBackground job duration by kind.
relic_job_oldest_available_age_secondsgaugekindAge of the oldest job available to run, by kind (0 when none waits).
relic_jobs_queuedgaugekindJobs available to run now, by kind.
relic_jobs_retryablegaugekindJobs waiting to be retried after an error, by kind.
relic_jobs_totalcounterkind, resultBackground jobs worked, by kind and result (success, error, cancelled, snoozed).
relic_ldap_request_duration_secondshistogramdirectory_op, resultLDAP operations (dial, bind, search) and their duration.
relic_mcp_tool_calls_totalcountertool, resultMCP tool calls by tool and result.
relic_move_batch_duration_secondshistogramDuration of each transaction that moves part of a large folder (a delete into the trash can).
relic_move_batch_items_totalcounterItems moved by the transactions that move part of a large folder.
relic_object_storage_bytes_totalcounteropBytes written to (put) and read from (get) object storage.
relic_object_storage_op_duration_secondshistogramopObject storage operation duration (for get, to the start of the body).
relic_object_storage_ops_totalcounterop, resultObject storage operations by operation and result (success, miss for a key that does not exist, error).
relic_operational_risks_found_totalcounterkindOperational risks found in scanned artifacts by kind (end_of_life, deprecated, unmaintained).
relic_packument_cache_bytesgaugecacheBytes held by the npm packument caches, by cache (index, document).
relic_packument_cache_totalcountercache, resultLookups of npm packument caches, by cache (index, document) and result (hit, miss).
relic_promotion_gate_decisions_totalcounterdecisionPromotion gate decisions by decision (allowed, refused).
relic_promotions_totalcounterkind, resultBuild and release promotions by kind (build, release) and result.
relic_registry_approvals_totalcounterdecisionAgent registry approvals by decision (approved, revoked).
relic_releases_totalcounterop, resultRelease (release bundle) operations by operation (create, update, finalize, delete, export, import) and result.
relic_remote_cache_totalcounterformat, result, repository (opt-in)Remote repository lookups: hit (served from the cache), miss (fetched), stale (cached metadata served because the upstream failed), absent (an upstream 404 remembered), uncached (fetched for a repository that keeps nothing), error.
relic_replication_consecutive_failuresgaugerepositoryFailed push replication runs in a row since the last success, per replicated repository (bounded by the configured replications).
relic_replication_duration_secondshistogramReplication run duration.
relic_replication_events_totalcounterresultFiles handled by replication, by result (pushed, pulled, skipped, deleted).
relic_replication_lag_secondsgaugerepositoryTime since a replication last ran, per replicated repository.
relic_replication_runs_totalcounterresult, repository (opt-in)Push replication runs by result.
relic_repositoriesgaugeformat, classRepositories by format and class.
relic_rpc_duration_secondshistogramservice, methodRelic API (Connect) call duration.
relic_rpc_requests_totalcounterservice, method, codeRelic API (Connect) calls by service, method and Connect code.
relic_scan_backloggaugeArtifacts queued for Relic Scan.
relic_scan_duration_secondshistogramstageScanner run time by stage: catalog (Syft), match (Grype), secrets (gitleaks), misconfiguration (Trivy), license (ScanCode), model and reachability (govulncheck).
relic_scanner_db_age_secondsgaugeAge of the scanner's vulnerability database (from its build time).
relic_scanner_db_replacements_totalcounterVulnerability databases deleted for failing their checksum and downloaded again.
relic_scans_totalcounterresultArtifact scans finished, by result (done, partial, failed, skipped, queued, error).
relic_secret_validations_totalcounterprovider, resultSecrets found in content checked with their provider, by provider and result (live, inactive, unknown, error).
relic_storage_blobsgaugeBlobs stored.
relic_storage_bytesgaugeBytes of content stored (each blob once).
relic_storage_check_findings_totalcounterfindingWhat storage checks found: objects no blob row named (adopted for garbage collection), and blobs missing, of the wrong size or corrupt.
relic_storage_check_runs_totalcounterresultStorage checks by result.
relic_storage_check_verified_bytes_totalcounterBytes of stored content storage checks re-hashed.
relic_telemetry_errors_totalcounterErrors the OpenTelemetry SDK reported, such as a failed export of spans or log records.
relic_telemetry_spans_totalcounteroutcomeSampled spans by outcome: ended (queued for export), exported, or failed (the export returned an error).
relic_tls_certificate_expiry_timestamp_secondsgaugesourceWhen the certificate the server serves expires, in Unix seconds, by source (operator, generated).
relic_tls_certificates_issued_totalcounterresultServer certificates issued by the certificate authority Relic generated, by result.
relic_tokens_issued_totalcounterkindAccess tokens issued: new ones (access) and exchanges of a refresh token (refresh).
relic_trash_itemsgaugeEntries in the trash can.
relic_trash_purged_totalcounterTrash can entries purged after the retention period.
relic_unreferenced_bytesgaugeBytes of content no item references, which garbage collection will reclaim.
relic_upstream_duration_secondshistogramformat, repository (opt-in)Time to an upstream's response headers.
relic_upstream_requests_totalcounterformat, code, repository (opt-in)Requests to remote repositories' upstreams, by format and status class (error when no response came).
relic_usersgaugeUser accounts.
relic_vex_exports_totalcounterformatVEX documents exported by format (openvex, cyclonedx).
relic_webhook_deliveries_totalcounterresultWebhook delivery attempts by result: delivered, retry (failed, to be retried) or failed (given up).
relic_webhook_delivery_duration_secondshistogramTime a webhook's receiver took to answer.