Skip to content

Commit

Permalink
Remove legacy 1x remnants (#1849)
Browse files Browse the repository at this point in the history
* change default exporter and point to docs

* remove old config directive

* remove unused property
  • Loading branch information
breedx-splk committed May 15, 2024
1 parent f8817c1 commit ad509fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ This distribution comes with the following defaults:
baggage](https://www.w3.org/TR/baggage/) context propagation;
[B3](https://github.com/openzipkin/b3-propagation) can also be
[configured](https://github.com/signalfx/splunk-otel-java/blob/main/docs/advanced-config.md#trace-propagation-configuration).
- [OTLP gRPC
exporter](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/protocol/README.md)
- [OTLP HTTP/protobuf
exporter](https://opentelemetry.io/docs/specs/otlp/#otlphttp)
configured to send spans to a locally running [Splunk OpenTelemetry
Collector](https://github.com/signalfx/splunk-otel-collector)
- Unlimited default limits for [configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ protected Map<String, String> getAgentEnvironment(
"OTEL_EXPORTER_OTLP_ENDPOINT", "http://" + COLLECTOR_ALIAS + ":" + COLLECTOR_PORT);
environment.put("SPLUNK_METRICS_ENABLED", "true");
// export metrics every 1s
environment.put("SPLUNK_METRICS_EXPORT_INTERVAL", "1000");
environment.put("OTEL_METRIC_EXPORT_INTERVAL", "1000");
environment.put("SPLUNK_METRICS_ENDPOINT", "http://" + COLLECTOR_ALIAS + ":9943/v2/datapoint");
if (setServiceName) {
environment.put("OTEL_RESOURCE_ATTRIBUTES", "service.name=smoke-test");
}
Expand Down

0 comments on commit ad509fc

Please sign in to comment.