metrics.proto 699 B

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