package envoy.config.metrics.v3

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message DogStatsdSink

stats.proto:361

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_v3_api_msg_config.metrics.v3.StatsConfig>`. [#extension: envoy.stat_sinks.dog_statsd]

message HistogramBucketSettings

stats.proto:293

Specifies a matcher for stats and the buckets that matching stats should use.

Used in: StatsConfig

enum HistogramEmitMode

metrics_service.proto:23

HistogramEmitMode is used to configure which metric types should be emitted for histograms.

Used in: MetricsServiceConfig

message HystrixSink

stats.proto:398

Stats configuration proto schema for built-in ``envoy.stat_sinks.hystrix`` sink. The sink emits stats in `text/event-stream <https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events>`_ formatted stream for use by `Hystrix dashboard <https://github.com/Netflix-Skunkworks/hystrix-dashboard/wiki>`_. Note that only a single HystrixSink should be configured. Streaming is started through an admin endpoint :http:get:`/hystrix_event_stream`. [#extension: envoy.stat_sinks.hystrix]

message MetricsServiceConfig

metrics_service.proto:49

Metrics Service is configured as a built-in ``envoy.stat_sinks.metrics_service`` :ref:`StatsSink <envoy_v3_api_msg_config.metrics.v3.StatsSink>`. This opaque configuration will be used to create Metrics Service. Example: .. code-block:: yaml stats_sinks: - name: envoy.stat_sinks.metrics_service typed_config: "@type": type.googleapis.com/envoy.config.metrics.v3.MetricsServiceConfig [#extension: envoy.stat_sinks.metrics_service] [#next-free-field: 6]

message StatsConfig

stats.proto:47

Statistics configuration such as tagging.

Used in: bootstrap.v3.Bootstrap

message StatsMatcher

stats.proto:115

Configuration for disabling stat instantiation.

The instantiation of stats is unrestricted by default. If the goal is to configure Envoy to instantiate all stats, there is no need to construct a StatsMatcher. However, StatsMatcher can be used to limit the creation of families of stats in order to conserve memory. Stats can either be disabled entirely, or they can be limited by either an exclusion or an inclusion list of :ref:`StringMatcher <envoy_v3_api_msg_type.matcher.v3.StringMatcher>` protos: * If ``reject_all`` is set to ``true``, no stats will be instantiated. If ``reject_all`` is set to ``false``, all stats will be instantiated. * If an exclusion list is supplied, any stat name matching *any* of the StringMatchers in the list will not instantiate. * If an inclusion list is supplied, no stats will instantiate, except those matching *any* of the StringMatchers in the list. A StringMatcher can be used to match against an exact string, a suffix / prefix, or a regex. **NB:** For performance reasons, it is highly recommended to use a prefix- or suffix-based matcher rather than a regex-based matcher. Example 1. Excluding all stats. .. code-block:: json { "statsMatcher": { "rejectAll": "true" } } Example 2. Excluding all cluster-specific stats, but not cluster-manager stats: .. code-block:: json { "statsMatcher": { "exclusionList": { "patterns": [ { "prefix": "cluster." } ] } } } Example 3. Including only manager-related stats: .. code-block:: json { "statsMatcher": { "inclusionList": { "patterns": [ { "prefix": "cluster_manager." }, { "prefix": "listener_manager." } ] } } }

Used in: StatsConfig

message StatsSink

stats.proto:25

Configuration for pluggable stats sinks.

Used in: bootstrap.v3.Bootstrap

message StatsdSink

stats.proto:310

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 TagSpecifier

stats.proto:208

Designates a tag name and value pair. The value may be either a fixed value or a regex providing the value via capture groups. The specified tag will be unconditionally set if a fixed value, otherwise it will only be set if one or more capture groups in the regex match.

Used in: StatsConfig