-
Bug
-
Resolution: Obsolete
-
Minor
-
None
-
2.4 ER1
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
},
....