quic: add debug visitor to export various quic stats from quiche (#36813)

Signed-off-by: Greg Greenway <ggreenway@apple.com>

Mirrored from https://github.com/envoyproxy/envoy @ ec94989f7ecce064a130ae43070352bbf4a0b7b6
main
update-envoy[bot] 1 month ago
parent 381cd3d808
commit b6a95fbd30
  1. 1
      BUILD
  2. 9
      envoy/extensions/quic/connection_debug_visitor/quic_stats/v3/BUILD
  3. 24
      envoy/extensions/quic/connection_debug_visitor/quic_stats/v3/quic_stats.proto
  4. 1
      versioning/BUILD

@ -305,6 +305,7 @@ proto_library(
"//envoy/extensions/outlier_detection_monitors/consecutive_errors/v3:pkg",
"//envoy/extensions/path/match/uri_template/v3:pkg",
"//envoy/extensions/path/rewrite/uri_template/v3:pkg",
"//envoy/extensions/quic/connection_debug_visitor/quic_stats/v3:pkg",
"//envoy/extensions/quic/connection_debug_visitor/v3:pkg",
"//envoy/extensions/quic/connection_id_generator/v3:pkg",
"//envoy/extensions/quic/crypto_stream/v3:pkg",

@ -0,0 +1,9 @@
# DO NOT EDIT. This file is generated by tools/proto_format/proto_sync.py.
load("@envoy_api//bazel:api_build_system.bzl", "api_proto_package")
licenses(["notice"]) # Apache 2
api_proto_package(
deps = ["@com_github_cncf_xds//udpa/annotations:pkg"],
)

@ -0,0 +1,24 @@
syntax = "proto3";
package envoy.extensions.quic.connection_debug_visitor.quic_stats.v3;
import "google/protobuf/duration.proto";
import "udpa/annotations/status.proto";
import "validate/validate.proto";
option java_package = "io.envoyproxy.envoy.extensions.quic.connection_debug_visitor.quic_stats.v3";
option java_outer_classname = "QuicStatsProto";
option java_multiple_files = true;
option go_package = "github.com/envoyproxy/go-control-plane/envoy/extensions/quic/connection_debug_visitor/quic_stats/v3;quic_statsv3";
option (udpa.annotations.file_status).package_version_status = ACTIVE;
// [#protodoc-title: QUIC stats config]
// [#extension: envoy.quic.connection_debug_visitor.quic_stats]
// Configuration for a QUIC debug visitor which emits stats from the underlying QUIC transport.
message Config {
// Period to update stats while the connection is open. If unset, updates only happen when the
// connection is closed. Stats are always updated one final time when the connection is closed.
google.protobuf.Duration update_period = 2 [(validate.rules).duration = {gte {nanos: 1000000}}];
}

@ -243,6 +243,7 @@ proto_library(
"//envoy/extensions/outlier_detection_monitors/consecutive_errors/v3:pkg",
"//envoy/extensions/path/match/uri_template/v3:pkg",
"//envoy/extensions/path/rewrite/uri_template/v3:pkg",
"//envoy/extensions/quic/connection_debug_visitor/quic_stats/v3:pkg",
"//envoy/extensions/quic/connection_debug_visitor/v3:pkg",
"//envoy/extensions/quic/connection_id_generator/v3:pkg",
"//envoy/extensions/quic/crypto_stream/v3:pkg",

Loading…
Cancel
Save