stat sinks/tracers: use new style names (#9970)

Modifies the well-known-names of the built-in stat sinks and
tracers to use the same name as the extension build system.

Risk Level: low, previous name is still accepted
Testing: existing tests + deprecated tests for old names
Docs Changes: updated names
Release Notes: updated
Deprecated: old names are logged as deprecated

Signed-off-by: Stephan Zuercher <zuercher@gmail.com>

Mirrored from https://github.com/envoyproxy/envoy @ b09184f8e9e17839f555f78ad8dbbcc57e3709db
master-ci-test
data-plane-api(CircleCI) 5 years ago
parent 473cb78cf0
commit 2388a2e047
  1. 2
      envoy/config/metrics/v2/metrics_service.proto
  2. 10
      envoy/config/metrics/v2/stats.proto
  3. 2
      envoy/config/metrics/v3/metrics_service.proto
  4. 10
      envoy/config/metrics/v3/stats.proto
  5. 6
      envoy/config/trace/v2/trace.proto
  6. 6
      envoy/config/trace/v3/trace.proto

@ -12,7 +12,7 @@ option java_multiple_files = true;
// [#protodoc-title: Metrics service]
// Metrics Service is configured as a built-in *envoy.metrics_service* :ref:`StatsSink
// Metrics Service is configured as a built-in *envoy.stat_sinks.metrics_service* :ref:`StatsSink
// <envoy_api_msg_config.metrics.v2.StatsSink>`. This opaque configuration will be used to create
// Metrics Service.
// [#extension: envoy.stat_sinks.metrics_service]

@ -23,9 +23,9 @@ message StatsSink {
// The name of the stats sink to instantiate. The name must match a supported
// stats sink. The built-in stats sinks are:
//
// * :ref:`envoy.statsd <envoy_api_msg_config.metrics.v2.StatsdSink>`
// * :ref:`envoy.dog_statsd <envoy_api_msg_config.metrics.v2.DogStatsdSink>`
// * :ref:`envoy.metrics_service <envoy_api_msg_config.metrics.v2.MetricsServiceConfig>`
// * :ref:`envoy.stat_sinks.statsd <envoy_api_msg_config.metrics.v2.StatsdSink>`
// * :ref:`envoy.stat_sinks.dog_statsd <envoy_api_msg_config.metrics.v2.DogStatsdSink>`
// * :ref:`envoy.stat_sinks.metrics_service <envoy_api_msg_config.metrics.v2.MetricsServiceConfig>`
// * :ref:`envoy.stat_sinks.hystrix <envoy_api_msg_config.metrics.v2.HystrixSink>`
//
// Sinks optionally support tagged/multiple dimensional metrics.
@ -243,7 +243,7 @@ message TagSpecifier {
}
}
// Stats configuration proto schema for built-in *envoy.statsd* sink. This sink does not support
// Stats configuration proto schema for built-in *envoy.stat_sinks.statsd* sink. This sink does not support
// tagged metrics.
// [#extension: envoy.stat_sinks.statsd]
message StatsdSink {
@ -290,7 +290,7 @@ message StatsdSink {
string prefix = 3;
}
// Stats configuration proto schema for built-in *envoy.dog_statsd* sink.
// Stats configuration proto schema for built-in *envoy.stat_sinks.dog_statsd* sink.
// The sink emits stats with `DogStatsD <https://docs.datadoghq.com/guides/dogstatsd/>`_
// compatible tags. Tags are configurable via :ref:`StatsConfig
// <envoy_api_msg_config.metrics.v2.StatsConfig>`.

@ -14,7 +14,7 @@ option java_multiple_files = true;
// [#protodoc-title: Metrics service]
// Metrics Service is configured as a built-in *envoy.metrics_service* :ref:`StatsSink
// Metrics Service is configured as a built-in *envoy.stat_sinks.metrics_service* :ref:`StatsSink
// <envoy_api_msg_config.metrics.v3.StatsSink>`. This opaque configuration will be used to create
// Metrics Service.
// [#extension: envoy.stat_sinks.metrics_service]

@ -31,9 +31,9 @@ message StatsSink {
// The name of the stats sink to instantiate. The name must match a supported
// stats sink. The built-in stats sinks are:
//
// * :ref:`envoy.statsd <envoy_api_msg_config.metrics.v3.StatsdSink>`
// * :ref:`envoy.dog_statsd <envoy_api_msg_config.metrics.v3.DogStatsdSink>`
// * :ref:`envoy.metrics_service <envoy_api_msg_config.metrics.v3.MetricsServiceConfig>`
// * :ref:`envoy.stat_sinks.statsd <envoy_api_msg_config.metrics.v3.StatsdSink>`
// * :ref:`envoy.stat_sinks.dog_statsd <envoy_api_msg_config.metrics.v3.DogStatsdSink>`
// * :ref:`envoy.stat_sinks.metrics_service <envoy_api_msg_config.metrics.v3.MetricsServiceConfig>`
// * :ref:`envoy.stat_sinks.hystrix <envoy_api_msg_config.metrics.v3.HystrixSink>`
//
// Sinks optionally support tagged/multiple dimensional metrics.
@ -258,7 +258,7 @@ message TagSpecifier {
}
}
// Stats configuration proto schema for built-in *envoy.statsd* sink. This sink does not support
// Stats configuration proto schema for built-in *envoy.stat_sinks.statsd* sink. This sink does not support
// tagged metrics.
// [#extension: envoy.stat_sinks.statsd]
message StatsdSink {
@ -307,7 +307,7 @@ message StatsdSink {
string prefix = 3;
}
// Stats configuration proto schema for built-in *envoy.dog_statsd* sink.
// Stats configuration proto schema for built-in *envoy.stat_sinks.dog_statsd* sink.
// The sink emits stats with `DogStatsD <https://docs.datadoghq.com/guides/dogstatsd/>`_
// compatible tags. Tags are configurable via :ref:`StatsConfig
// <envoy_api_msg_config.metrics.v3.StatsConfig>`.

@ -30,9 +30,9 @@ message Tracing {
// The name of the HTTP trace driver to instantiate. The name must match a
// supported HTTP trace driver. Built-in trace drivers:
//
// - *envoy.lightstep*
// - *envoy.zipkin*
// - *envoy.dynamic.ot*
// - *envoy.tracers.lightstep*
// - *envoy.tracers.zipkin*
// - *envoy.tracers.dynamic_ot*
// - *envoy.tracers.datadog*
// - *envoy.tracers.opencensus*
// - *envoy.tracers.xray*

@ -40,9 +40,9 @@ message Tracing {
// The name of the HTTP trace driver to instantiate. The name must match a
// supported HTTP trace driver. Built-in trace drivers:
//
// - *envoy.lightstep*
// - *envoy.zipkin*
// - *envoy.dynamic.ot*
// - *envoy.tracers.lightstep*
// - *envoy.tracers.zipkin*
// - *envoy.tracers.dynamic_ot*
// - *envoy.tracers.datadog*
// - *envoy.tracers.opencensus*
// - *envoy.tracers.xray*

Loading…
Cancel
Save