You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.5 KiB
37 lines
1.5 KiB
5 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package envoy.config.metrics.v4alpha;
|
||
|
|
||
|
import "envoy/config/core/v4alpha/grpc_service.proto";
|
||
|
|
||
|
import "google/protobuf/wrappers.proto";
|
||
|
|
||
|
import "udpa/annotations/status.proto";
|
||
|
import "udpa/annotations/versioning.proto";
|
||
|
import "validate/validate.proto";
|
||
|
|
||
|
option java_package = "io.envoyproxy.envoy.config.metrics.v4alpha";
|
||
|
option java_outer_classname = "MetricsServiceProto";
|
||
|
option java_multiple_files = true;
|
||
|
option (udpa.annotations.file_status).package_version_status = NEXT_MAJOR_VERSION_CANDIDATE;
|
||
|
|
||
|
// [#protodoc-title: Metrics service]
|
||
|
|
||
|
// Metrics Service is configured as a built-in *envoy.stat_sinks.metrics_service* :ref:`StatsSink
|
||
|
// <envoy_api_msg_config.metrics.v4alpha.StatsSink>`. This opaque configuration will be used to create
|
||
|
// Metrics Service.
|
||
|
// [#extension: envoy.stat_sinks.metrics_service]
|
||
|
message MetricsServiceConfig {
|
||
|
option (udpa.annotations.versioning).previous_message_type =
|
||
|
"envoy.config.metrics.v3.MetricsServiceConfig";
|
||
|
|
||
|
// The upstream gRPC cluster that hosts the metrics service.
|
||
|
core.v4alpha.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 <envoy_api_msg_service.metrics.v3.StreamMetricsResponse>`.
|
||
|
google.protobuf.BoolValue report_counters_as_deltas = 2;
|
||
|
}
|