{
  "id": "metrics",
  "title": "rladmin metrics",
  "url": "https://redis.io/docs/latest/operate/rs/references/cli-utilities/rladmin/metrics/",
  "summary": "Configures the cluster-wide metrics stream engine settings.",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2026-07-24T10:52:10-07:00",
  "page_type": "content",
  "content_hash": "c25b7a775e693789cc331e2524bf2a647b138c7573031a242a690f49938e9157",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "Manages the cluster-wide [metrics configuration](https://redis.io/docs/latest/operate/rs/monitoring/metrics_stream_engine/metrics-configuration) for the v2 metrics stream engine."
    },
    {
      "id": "metrics-config",
      "title": "`metrics config`",
      "role": "content",
      "text": "Updates the cluster's metrics configuration. Specify one or more field/value pairs; at least one pair is required.\n\n[code example]\n\nTo view the current configuration, use [`rladmin info metrics`](https://redis.io/docs/latest/operate/rs/references/cli-utilities/rladmin/info#info-metrics)."
    },
    {
      "id": "parameters",
      "title": "Parameters",
      "role": "parameters",
      "text": "For the available fields and their types, defaults, and validation, see the [metrics configuration object](https://redis.io/docs/latest/operate/rs/references/rest-api/objects/metrics_config).\n\nOn the command line, boolean fields take `enabled` or `disabled`, list fields take a comma-separated set of values, and an empty value (`\"\"`) clears a list field."
    },
    {
      "id": "returns",
      "title": "Returns",
      "role": "returns",
      "text": "Returns a confirmation message when the update succeeds."
    },
    {
      "id": "example",
      "title": "Example",
      "role": "example",
      "text": "[code example]"
    }
  ],
  "examples": [
    {
      "id": "metrics-config-ex0",
      "language": "sh",
      "code": "rladmin metrics config <field> <value> [ <field> <value> ... ]",
      "section_id": "metrics-config"
    },
    {
      "id": "example-ex0",
      "language": "sh",
      "code": "$ rladmin metrics config expose_db_tags enabled metrics_tag_keys_exposed env,team\nMetrics configuration updated successfully",
      "section_id": "example"
    }
  ]
}
