Availability
Tyk Gateway Metrics
Whenopentelemetry.metrics.enabled is set to true, Tyk Gateway automatically exports four groups of metrics:
- Request metrics: Rate, Errors, and Duration (RED) for every API request
- Go runtime metrics: Memory, goroutines, and GC health
- Configuration state metrics: API/policy load counts and reload events
- Token exchange metrics: Volume, latency, and cache hit-rate for token exchange (Enterprise only)
Request Metrics
These four instruments cover the standard RED signals for every API proxied by the gateway.
For how to use the three latency histograms together, see Request Metrics. The histograms can also carry exemplars that link a data point to a trace. See Exemplars.
Default Dimensions
Default dimensions vary by instrument:
You can add more dimensions to any instrument using custom metrics.
Go Runtime Metrics
Tyk Gateway, Tyk Dashboard, and Tyk MDCB export the same set of Go runtime metrics. For what these mean and how to read them, see Go Runtime Metrics in the concepts page.Configuration State Metrics
These metrics reflect the operational state of the gateway’s loaded configuration. For how to use them, see Configuration State Metrics.Token Exchange Metrics
Token exchange is an Enterprise-only feature, available from Tyk 5.15.0. These metrics are only emitted on APIs with
oauth2.tokenExchange configured.Dimensions
All three metrics carry the following dimensions:
Identity, audience, and requested scopes are never metric labels or dimensions. They’re only available in structured logs and audit events. See Token exchange observability.
Resource Attributes
Every metric exported from a gateway instance carries resource attributes, metadata that identifies the source. These are set once at startup and attached to all metrics.Tyk-Specific Resource Attributes
Standard OTel Resource Attributes
To use resource attributes as labels in Prometheus, see Resource Attributes in Prometheus.
Tyk Dashboard and Tyk MDCB also carry
control_plane_id. See Control Plane Identity.
Tyk Dashboard Metrics
The Tyk Dashboard example dashboard shows its datastore connections, connected gateways, license usage, and pool saturation.
Uptime
Gateway Node Registry
Full label detail (node version, tags, address, process ID) depends on the connecting gateway sending node metadata headers. Older gateways report a limited label set until you upgrade them. See Connectivity and Fleet Health.
Management API
License
See Expiry and Build Info.
Change Propagation
Objects and Governance
Tyk Dashboard refreshes these counts every 300 seconds by default, independently of the export interval. To change it, set
opentelemetry.metrics.objects_metrics.collection_interval.
The governance metrics are only exported when the license includes governance and opentelemetry.metrics.objects_metrics.governance is not set to false. The inventory metrics keep exporting without them.
Dependency Pressure
See Dependency and Pool Metrics.
Self Health
Certificate Expiry
Build Info and Exporter Health
Tyk MDCB Metrics
The Tyk MDCB example dashboard shows its dependency health, connection pools, and RPC requests.
Uptime
Connectivity and Churn
See Connectivity and Fleet Health.
RPC
Configuration and Key Sync Health
Analytics Ingestion
Dependency Pressure
See Dependency and Pool Metrics.
Self Health
Certificate and License Expiry
See Expiry and Build Info.
Build Info and Exporter Health
See Expiry and Build Info.
Tyk Developer Portal Metrics
The Tyk Developer Portal example dashboard shows the sync status for each provider.
Uptime
Provider Sync Health
See Provider Sync Health.
Self Health
See Dependency and Pool Metrics.