Docs
  • 0.8.1latest
  • 0.8.0
  • 0.7.0
  • 0.6.0
  • 0.5.0
  • 0.4.0
  • 0.3.0-beta
  • 0.2.1-beta
  • 0.2.0-beta

Metrics and the access log

Prometheus metrics for requests, refusals and backlogs, and every request recorded in the region's access log.

Metrics

TESSARIDB_S3_METRICS_LISTEN makes the node serve GET /metrics in Prometheus text:

  • requests by operation, status and error code, and their duration by size class;
  • requests shed under load;
  • authentication refusals by reason, and policy denials;
  • the heal and replication backlogs;
  • the cluster's members, and those answering a probe.

Backlogs and members are read at the scrape; s3_collect_up says whether that read succeeded.

The node's state

SeriesWhat it says
s3_build_info{version}always 1; the server's version is the label
s3_start_time_secondswhen the process started, Unix seconds
s3_meta_probe_secondshow long the metadata store took to answer a probe at the scrape
s3_keys_vault{state}1 for the keys vault's state: unsealed, sealed or uninitialised
s3_data_capacity_bytes, s3_data_free_bytesthe data drive's size and the space this process may still write
s3_buckets, s3_objects, s3_stored_bytesthe latest usage measurement: buckets holding objects, objects, bytes
s3_usage_taken_secondswhen that measurement was taken
s3_uploads_openmultipart uploads not yet completed or aborted
s3_daemon_runs_total{daemon,outcome}background runs by daemon and outcome: succeeded, failed, timed_out
s3_data_verification_failures_totalreads of this node's data files that failed verification

Alert on s3_data_free_bytes well before it reaches the floor TESSARIDB_S3_DATA_MIN_FREE_BYTES (1 GiB by default): below it the node refuses writes and keeps serving reads.

The access log

With TESSARIDB_S3_AUDIT=on (the default) every S3 request is recorded in the region's s3_access_log topic in TessariDB, kept 30 days, under its request id: operation, bucket, key, signing access key, status, error code, bytes, duration and client address. It never holds a secret or a signature.

A full queue drops the record and counts it in the metrics; the request is never held up. TESSARIDB_S3_AUDIT=off records nothing.

Read it with a topic consumer, as any TessariDB topic.