Description
We encounter an issue with tyk-pump not publishing tyk specific metrics via the prometheus pump on OAS imported APIs. We use the tyk-oss helm chart deployment.
When creating a legacy TyK API via POST /tyk/apis default tyk metrics are emitted (e.g. tyk_latency_bucket, tyk_http_status_per_path, tyk_http_requests_total, etc.).
When creating an OAS API via POST /tyk/apis/oas no tyk-specific metrics are emitted whatsoever.
Sample
I have created a minimal reproducible sample here: https://github.com/ad-langebo/tyk-pump-metrics
Expected behavior
tyk-pump publishes tyk specific metrics for OAS APIs
Actual behavior
tyk-pump publishes no tyk specific metrics for OAS APIs
Versions
tyk-oss helm chart v2.2.0
tyk-gateway v5.9.2
tyk-pump v1.12.1