Skip to content

Metrics ​

Every node serves Prometheus text on GET /metrics of its admin listener. Counters start at zero when the node starts. A node keeps no history: Prometheus or the console turns successive readings into rates.

yaml
scrape_configs:
  - job_name: mink
    static_configs:
      - targets: ['mink-1:9180', 'mink-2:9180']

Scrape every node. Each counts only its own work. Label values come from fixed sets. Series count does not grow with tables, partitions or files.

Indexing and commits ​

MetricTypeLabelsCounts
mink_indexed_records_totalcountersource: live, backfillRecords written as files
mink_indexed_bytes_totalcountersourceBytes of those files
mink_files_written_totalcountersourceFiles written by indexers
mink_kafka_requests_totalcounterrequest: metadata, offsets, fetch. result: ok, errorKafka requests, retries included
mink_kafka_fetched_bytes_totalcounterRecord batch bytes fetched
mink_commits_totalcounterresult: ok, errorSnapshot commits
mink_commit_duration_secondshistogramTime of one commit
mink_assemblies_totalcounterAssembled files committed
mink_snapshots_expired_totalcounterSnapshots expired
mink_objects_collected_totalcounterMetadata objects deleted
mink_worker_failures_totalcounterworker: indexer, writerIndexers and writers that ended with an error
mink_leasesgaugescope: partition, topicLeases this node holds

Reads ​

MetricTypeLabelsCounts
mink_catalog_requests_totalcounterroute: config, namespaces, tables, load, write. status: 2xx, 4xx, 5xxCatalog requests
mink_tails_totalcounterLoad tails built
mink_tail_duration_secondshistogramTime to build one tail
mink_s3_requests_totalcountermethod: get, head. object: data, metadata. statusS3 requests answered or forwarded
mink_s3_sent_bytes_totalcounterResponse bytes this node sent
mink_s3_forwarded_totalcounterresult: ok, unreachableReads forwarded to a file's owner
mink_builds_totalcounterresult: ok, errorData files built from Kafka
mink_build_duration_secondshistogramTime to build one data file
mink_registry_requests_totalcounterresult: ok, missing, errorSchema Registry requests
mink_admin_requests_totalcounterstatusAdmin API requests
mink_cache_bytesgaugeBytes in the cache's memory tier

Histograms have buckets from 0.5 ms to 10 s.

Cache ​

The cache adds its own nestor_* metrics, labelled by namespace: files for data files, metadata for metadata objects.

MetricCounts
nestor_blocks_hit_total, nestor_blocks_miss_totalBlocks served from the cache, and blocks fetched
nestor_bytes_served_totalBytes served
nestor_origin_requests_total, nestor_origin_bytes_totalFetches from the origin, Kafka builds for files and the bucket for metadata
nestor_origin_errors_total, nestor_origin_timeouts_totalFailed and timed out fetches

The cache hit ratio for data files is nestor_blocks_hit_total{namespace="files"} over hits plus misses.