Skip to content

[TT-15771] Prometheus pump does not emit Tyk specific metrics for OAS APIs #895

@ad-langebo

Description

@ad-langebo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions