Skip to content

Commit 09a443c

Browse files
committed
remove unused configs
Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
1 parent e025904 commit 09a443c

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

config/yaml_config.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,6 @@ type YamlAgentConfig struct {
8989
// The maximum number of connections per message.
9090
// Only change if the defaults are causing issues.
9191
MaxConnectionsPerMessage int `yaml:"max_connections_per_message"`
92-
// Overrides the path to the Agent bin used for getting the hostname. The default is usually fine.
93-
DDAgentBin string `yaml:"sts_agent_bin"`
94-
// Overrides of the environment we pass to fetch the hostname. The default is usually fine.
95-
DDAgentEnv []string `yaml:"sts_agent_env"`
9692
// Optional additional pairs of endpoint_url => []apiKeys to submit to other locations.
9793
AdditionalEndpoints map[string][]string `yaml:"additional_endpoints"`
9894
// Windows-specific configuration goes in this section.
@@ -108,10 +104,6 @@ type YamlAgentConfig struct {
108104
Network struct {
109105
// A string indicating the enabled state of the network tracer.
110106
NetworkTracingEnabled string `yaml:"network_tracing_enabled"`
111-
// A string indicating whether we use /proc to get the initial connections
112-
NetworkInitialConnectionFromProc string `yaml:"initial_connections_from_proc"`
113-
// The full path to the location of the unix socket where network traces will be accessed
114-
UnixSocketPath string `yaml:"nettracer_socket"`
115107
// The full path to the file where network-tracer logs will be written.
116108
LogFile string `yaml:"log_file"`
117109
// The maximum number of in flight connections the network tracer keeps track of
@@ -134,14 +126,6 @@ type YamlAgentConfig struct {
134126
DisabledProtocols []string `yaml:"disabled_protocols"`
135127
MaxHTTPStatsBuffered int `yaml:"http_stats_buffer_size"`
136128
MaxHTTPObservationsBuffered int `yaml:"http_observations_buffer_size"`
137-
HTTPMetrics struct {
138-
// Specifies which algorithm to use to collapse measurements: collapsing_lowest_dense, collapsing_highest_dense, unbounded
139-
SketchType string `yaml:"sketch_type"`
140-
// A maximum number of bins of the ddSketch we use to store percentiles
141-
MaxNumBins int `yaml:"max_num_bins"`
142-
// Desired accuracy for computed percentiles. 0.01 means, for example, we can say that p99 is 100ms +- 1ms
143-
Accuracy float64 `yaml:"accuracy"`
144-
} `yaml:"http_metrics"`
145129
} `yaml:"network_tracer_config"`
146130
TransactionManager struct {
147131
// ChannelBufferSize is the concurrent transactions before the tx manager begins backpressure

0 commit comments

Comments
 (0)