Skip to main content

Monitoring Object Stores

Each object store keeps live metrics about its S3 traffic, such as request counts and latencies per operation and bucket. You can view them in the web interface, the CLI or the REST API, and collect them over time with Prometheus and Grafana.

These metrics describe S3 traffic. For a store's capacity, which matters most on versioned and Object Lock buckets, watch its volumes with StorONE capacity monitoring.

Viewing a store's metrics

Using the web interface

The Metrics page under Applications > Objects > Stores, listing metrics with their value, bucket and operation

  1. Open Applications > Objects > Stores and choose Metrics.
  2. Under Select Application & Volume, choose the store's application and volume.
  3. Choose Submit. The table lists each metric with its labels (such as the bucket and the operation) and its value. Use Export as to save the table.

Using the CLI

applications objects stores metrics --application=<name> --volume=<name>
Option Description
--application=<name> The application that contains the store.
--volume=<name> The store's volume.

The CLI shows the metrics as a table: metric name, labels, value and, where present, timestamp.

Example

applications objects stores metrics --application backups --volume archive

Using the REST API

GET /applications/objects/stores/metrics?application=<name>&volume=<name>&outputType=Prometheus

With outputType=Prometheus, the response body is the metrics in the Prometheus text format, without the usual JSON envelope (see Choosing an output format). The request needs a session token like any other call (see Authentication).

curl -k "https://<management IP>/applications/objects/stores/metrics?application=Backup&volume=ObjVol1&outputType=Prometheus" \
     -H "Authorization: Bearer <token>"

Next: Prometheus and Grafana