diff --git a/envoy/config/metrics/v3/metrics_service.proto b/envoy/config/metrics/v3/metrics_service.proto index ad987905..0e078c09 100644 --- a/envoy/config/metrics/v3/metrics_service.proto +++ b/envoy/config/metrics/v3/metrics_service.proto @@ -4,6 +4,8 @@ package envoy.config.metrics.v3; import "envoy/config/core/v3/grpc_service.proto"; +import "google/protobuf/wrappers.proto"; + import "udpa/annotations/status.proto"; import "udpa/annotations/versioning.proto"; import "validate/validate.proto"; @@ -25,4 +27,10 @@ message MetricsServiceConfig { // The upstream gRPC cluster that hosts the metrics service. core.v3.GrpcService grpc_service = 1 [(validate.rules).message = {required: true}]; + + // If true, counters are reported as the delta between flushing intervals. Otherwise, the current + // counter value is reported. Defaults to false. + // Eventually (https://github.com/envoyproxy/envoy/issues/10968) if this value is not set, the + // sink will take updates from the :ref:`MetricsResponse `. + google.protobuf.BoolValue report_counters_as_deltas = 2; }