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