Skip to content

Commit

Permalink
fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: zhaonan <[email protected]>
  • Loading branch information
zhaonan committed Aug 28, 2023
1 parent 492a09b commit abd2bbc
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions internal/xds/bootstrap/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const (
EnvoyReadinessPort = 19001
EnvoyReadinessPath = "/ready"

// DefaultEnvoyStatsMatcherPrefixes is the default subset of Envoy stats.
// DefaultEnvoyStatsMatcherPrefixes is the default subset of Envoy stats added when setting StatsMatcher.
DefaultEnvoyStatsMatcherPrefixes = "cluster_manager,listener_manager,server,cluster.xds-grpc"
)

Expand Down Expand Up @@ -66,13 +66,11 @@ type bootstrapParameters struct {
EnablePrometheus bool
// OtelMetricSinks defines the configuration of the OpenTelemetry sinks.
OtelMetricSinks []metricSink

// StatsMatcher is to control creation of additional Envoy stats with prefix,
// suffix, and regex expressions match on the name of the stats.
StatsMatcher StatsMatcherParameters

// EnableStatConfig defines whether to to customize the Envoy proxy stats.
EnableStatConfig bool
// StatsMatcher is to control creation of custom Envoy stats with prefix,
// suffix, and regex expressions match on the name of the stats.
StatsMatcher StatsMatcherParameters
}

type xdsServerParameters struct {
Expand Down

0 comments on commit abd2bbc

Please sign in to comment.