forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathwell_known_names.h
More file actions
33 lines (27 loc) · 853 Bytes
/
well_known_names.h
File metadata and controls
33 lines (27 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once
#include <string>
#include "common/singleton/const_singleton.h"
namespace Envoy {
namespace Extensions {
namespace StatSinks {
/**
* Well-known stats sink names.
* NOTE: New sinks should use the well known name: envoy.stat_sinks.name.
*/
class StatsSinkNameValues {
public:
// Statsd sink
const std::string Statsd = "envoy.stat_sinks.statsd";
// DogStatsD compatible statsd sink
const std::string DogStatsd = "envoy.stat_sinks.dog_statsd";
// MetricsService sink
const std::string MetricsService = "envoy.stat_sinks.metrics_service";
// Hystrix sink
const std::string Hystrix = "envoy.stat_sinks.hystrix";
// WebAssembly sink
const std::string Wasm = "envoy.stat_sinks.wasm";
};
using StatsSinkNames = ConstSingleton<StatsSinkNameValues>;
} // namespace StatSinks
} // namespace Extensions
} // namespace Envoy