...
1syntax = "proto3";
2
3package envoy.admin.v2alpha;
4
5import "udpa/annotations/status.proto";
6
7option java_package = "io.envoyproxy.envoy.admin.v2alpha";
8option java_outer_classname = "MetricsProto";
9option java_multiple_files = true;
10option (udpa.annotations.file_status).package_version_status = FROZEN;
11
12// [#protodoc-title: Metrics]
13
14// Proto representation of an Envoy Counter or Gauge value.
15message SimpleMetric {
16 enum Type {
17 COUNTER = 0;
18 GAUGE = 1;
19 }
20
21 // Type of the metric represented.
22 Type type = 1;
23
24 // Current metric value.
25 uint64 value = 2;
26
27 // Name of the metric.
28 string name = 3;
29}
View as plain text