|
|
|
@ -2,6 +2,8 @@ syntax = "proto3"; |
|
|
|
|
|
|
|
|
|
// [#proto-status: draft] |
|
|
|
|
|
|
|
|
|
// [#protodoc-title: Metrics Service] |
|
|
|
|
|
|
|
|
|
package envoy.api.v2; |
|
|
|
|
|
|
|
|
|
import "api/base.proto"; |
|
|
|
@ -29,16 +31,16 @@ message StreamMetricsMessage { |
|
|
|
|
Node node = 1 [(validate.rules).message.required = true]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Identifier data effectively is a structured metadata. |
|
|
|
|
// As a performance optimization this will only be sent in the first message on the stream. |
|
|
|
|
// Identifier data effectively is a structured metadata. As a performance optimization this will |
|
|
|
|
// only be sent in the first message on the stream. |
|
|
|
|
Identifier identifier = 1; |
|
|
|
|
|
|
|
|
|
// A list of metric entries |
|
|
|
|
repeated io.prometheus.client.MetricFamily envoy_metrics = 2; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Configuration structure for Metrics Service. It is a :ref: `StatsSink <envoy_api_msg_StatsSink>` |
|
|
|
|
// opaque configuration that will be used to create Metrics Service. |
|
|
|
|
// Metrics Service is configured as a built-in *envoy.metrics_service* :ref:`StatsSink |
|
|
|
|
// <envoy_api_msg_StatsSink>`. This opaque configuration will be used to create Metrics Service. |
|
|
|
|
message MetricsServiceConfig { |
|
|
|
|
// The upstream gRPC cluster that hosts the metrics service. |
|
|
|
|
GrpcService grpc_service = 1 [(validate.rules).message.required = true]; |
|
|
|
|