Metrics service (proto)


[config.metrics.v3.MetricsServiceConfig proto]

Metrics Service is configured as a built-in envoy.stat_sinks.metrics_service StatsSink. This opaque configuration will be used to create Metrics Service.


  - name: envoy.stat_sinks.metrics_service
      transport_api_version: V3

This extension has the qualified name envoy.stat_sinks.metrics_service


This extension does not operate on the data plane and hence is intended to be robust against untrusted traffic.


This extension extends and can be used with the following extension category:

This extension must be configured with one of the following type URLs:

  "grpc_service": {...},
  "transport_api_version": ...,
  "report_counters_as_deltas": {...},
  "emit_tags_as_labels": ...

(config.core.v3.GrpcService, REQUIRED) The upstream gRPC cluster that hosts the metrics service.


(config.core.v3.ApiVersion) API version for metric service transport protocol. This describes the metric service gRPC endpoint and version of messages used on the wire.


(BoolValue) If true, counters are reported as the delta between flushing intervals. Otherwise, the current counter value is reported. Defaults to false. Eventually ( if this value is not set, the sink will take updates from the MetricsResponse.


(bool) If true, metrics will have their tags emitted as labels on the metrics objects sent to the MetricsService, and the tag extracted name will be used instead of the full name, which may contain values used by the tag extractor or additional tags added during stats creation.