XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 2.4 ER1
    • Gateway

      There should be defined units for all metrics provided by Apicast. They are not there now as you can see from simple Prometheus API call:

      curl -G "http://prometheus.3scale._domain_/api/v1/targets/metadata" --data-urlencode 'match_target={job="3scale Apicast"}' | jq .
      {
        "status": "success",
        "data": [
          {
            "target": {
              "instance": "apicast-staging.3scale-er1.svc:9421",
              "job": "3scale Apicast"
            },
            "metric": "nginx_error_log",
            "type": "counter",
            "help": "Items in nginx error log",
            "unit": "" <---------- missing units
          },
          {
            "target": {
              "instance": "apicast-staging.3scale-er1.svc:9421",
              "job": "3scale Apicast"
            },
            "metric": "nginx_metric_errors_total",
            "type": "counter",
            "help": "Number of nginx-lua-prometheus errors",
            "unit": "" <---------- missing units
          },
      ....
      

            Unassigned Unassigned
            mkudlej@redhat.com Martin Kudlej
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: