StatefulSetMetric

Scope: Namespaced

StatefulSetMetric is handy interface for configuring custom StatefulSet-related metrics in prometheus-metrics-adapter.

  • spec
    object

    Required value

    • spec.query
      string

      Required value

      PromQL-query which returns unambiguous value for your metric. Use grouping operators like sum() by(), max() by() etc. Also use keywords: «.LabelMatchers» with your optional applied comma-separated labels as label selector and «.GroupBy» as group-by-labels. Example: max(mymetric{«.LabelMatchers»,queue=”messages”}) by(«.GroupBy»)

StatefulSetMetric is handy interface for configuring custom StatefulSet-related metrics in prometheus-metrics-adapter.

  • spec
    object

    Required value

    • spec.query
      string

      Required value

      PromQL-query which returns unambiguous value for your metric. Use grouping operators like sum() by(), max() by() etc. Also use keywords: «.LabelMatchers» with your optional applied comma-separated labels as label selector and «.GroupBy» as group-by-labels. Example: max(mymetric{«.LabelMatchers»,queue=”messages”}) by(«.GroupBy»)