Skip to content

Commit b8aacd1

Browse files
authored
Remove log message regarding unsupported SPLUNK_METRICS_ENDPOINT (#3511)
1 parent 470a4d1 commit b8aacd1

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

distro/config.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ const (
4545
// Logging level to set when using the default logger.
4646
otelLogLevelKey = "OTEL_LOG_LEVEL"
4747

48-
// splunkMetricsEndpointKey defines the endpoint Splunk specific metrics
49-
// are sent. This is not currently supported.
50-
splunkMetricsEndpointKey = "SPLUNK_METRICS_ENDPOINT"
51-
5248
// splunkRealmKey defines the Splunk realm to build an endpoint from.
5349
splunkRealmKey = "SPLUNK_REALM"
5450
)

distro/otel.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ func Run(opts ...Option) (SDK, error) {
7373
}))
7474
otel.SetLogger(c.Logger)
7575

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-
8176
res, err := newResource(ctx)
8277
if err != nil {
8378
return SDK{}, err

0 commit comments

Comments
 (0)