Metrics

Get impact metrics configuration for the instance

Enterprise feature

Gets all impact metrics configurations now associated with any feature flag.

get/api/admin/impact-metrics/config

Response

impactMetricsConfigListSchema

Example response

{
  "configs": [
    {
      "id": "01ARZ3NDEKTSV4RRFFQ69G5FAV",
      "metricName": "unleash_counter_feature_toggle_usage_total",
      "timeRange": "day",
      "aggregationMode": "rps",
      "labelSelectors": {
        "environment": [
          "development"
        ],
        "project": [
          "default"
        ]
      },
      "source": "internal",
      "displayName": "feature_toggle_usage_total",
      "yAxisMin": "auto",
      "step": "15m",
      "title": "Feature Toggle Usage",
      "mode": "write"
    }
  ]
}

Changes

Changed in 1 of the 7 revisions of this API.13

  • 774670258f0413See the full diff
    • removed the required property // from the response with the status

      response-required-property-removed

    • api tag Metrics added

      api-tag-added

    • api tag Unstable removed

      api-tag-removed

    • added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog