File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,6 @@ const (
45
45
// Logging level to set when using the default logger.
46
46
otelLogLevelKey = "OTEL_LOG_LEVEL"
47
47
48
- // splunkMetricsEndpointKey defines the endpoint Splunk specific metrics
49
- // are sent. This is not currently supported.
50
- splunkMetricsEndpointKey = "SPLUNK_METRICS_ENDPOINT"
51
-
52
48
// splunkRealmKey defines the Splunk realm to build an endpoint from.
53
49
splunkRealmKey = "SPLUNK_REALM"
54
50
)
Original file line number Diff line number Diff line change @@ -73,11 +73,6 @@ func Run(opts ...Option) (SDK, error) {
73
73
}))
74
74
otel .SetLogger (c .Logger )
75
75
76
- // SPLUNK_METRICS_ENDPOINT is currently not supported, log this fact.
77
- if _ , ok := os .LookupEnv (splunkMetricsEndpointKey ); ok {
78
- c .Logger .Info ("SPLUNK_METRICS_ENDPOINT set; not supported by this distro" )
79
- }
80
-
81
76
res , err := newResource (ctx )
82
77
if err != nil {
83
78
return SDK {}, err
You can’t perform that action at this time.
0 commit comments