Policies · Mesh* policies
MeshMetric
Metrics exposure for selected proxies (Prometheus or OpenTelemetry).
Behaviour per target
Output: MeshMetric
default.sidecar.regex→default.sidecar.profiles.exclude(auto-fixed).- An inline
openTelemetry.endpointis reported (deprecated in 2.14, removed in 3.0).
Output: MeshMetric, MeshOpenTelemetryBackend
v2 fix, plus the inline OTel endpoint is replaced by a backendRef and a generated
MeshOpenTelemetryBackend.
prometheus.tls.mode: ActiveMTLSBackend is reported: on 3.0 a scraper connecting from
another address must present a client certificate the mesh trusts. Give each remote
scraper one, or set the mode to Disabled. A MeshMetric generated from Mesh.metrics
gets this mode under v3 when the legacy endpoint required a mesh client certificate.
Timeline
| Version | Change |
|---|---|
| 2.7 | sidecar.regex replaced by sidecar.profiles.exclude. |
| 2.14 | Inline openTelemetry.endpoint deprecated. |
| 3.0 | Inline OpenTelemetry endpoint removed. ActiveMTLSBackend requires a client certificate from remote scrapers. |
Related topics
- Observability — Metrics, tracing and access logs from Mesh fields and legacy policies to MeshMetric, MeshTrace, MeshAccessLog and MeshOpenTelemetryBackend.