diff --git a/.chloggen/deprecate_sapmexporter.yaml b/.chloggen/deprecate_sapmexporter.yaml index 0fc2826d62b1..4ecadeafb967 100644 --- a/.chloggen/deprecate_sapmexporter.yaml +++ b/.chloggen/deprecate_sapmexporter.yaml @@ -21,9 +21,9 @@ subtext: | ```yaml exporters: otlphttp: - traces_endpoint: "${INGEST_URL}/v2/trace/otlp" + traces_endpoint: "${SPLUNK_INGEST_URL}/v2/trace/otlp" headers: - "X-SF-Token": "${ACCESS_TOKEN}" + "X-SF-Token": "${SPLUNK_ACCESS_TOKEN}" ``` # If your change doesn't affect end users or the exported elements of any package, diff --git a/exporter/sapmexporter/README.md b/exporter/sapmexporter/README.md index 6c3d7aea1c02..aca596f37f1d 100644 --- a/exporter/sapmexporter/README.md +++ b/exporter/sapmexporter/README.md @@ -8,10 +8,25 @@ | Issues | [![Open issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aopen%20label%3Aexporter%2Fsapm%20&label=open&color=orange&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Aexporter%2Fsapm) [![Closed issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aclosed%20label%3Aexporter%2Fsapm%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aclosed+is%3Aissue+label%3Aexporter%2Fsapm) | | [Code Owners](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#becoming-a-code-owner) | [@dmitryax](https://www.github.com/dmitryax), [@atoulme](https://www.github.com/atoulme) | -[deprecated]: https://github.com/open-telemetry/opentelemetry-collector#deprecated +[deprecated]: https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/component-stability.md#deprecated [contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib +### Deprecated +> The SAPM protocol is based on the Jaeger protocol, which is no longer the preferred approach of the community, with the advent of the OTLP protocol. The Jaeger exporters have been removed from the collector already. Jaeger itself is migrating to use the OTel data format internally. + +> As a result, the SAPM exporter is being deprecated in favor of the OTLPHTTP exporter. The following configuration can be used for the OTLPHTTP exporter + +```yaml +exporters: + otlphttp: + traces_endpoint: "${SPLUNK_INGEST_URL}/v2/trace/otlp" + headers: + "X-SF-Token": "${SPLUNK_ACCESS_TOKEN}" +``` + + + The SAPM exporter builds on the Jaeger proto and adds additional batching on top. This allows the collector to export traces from multiples nodes/services in a single batch. The SAPM proto and some useful related utilities can be found [here](https://github.com/signalfx/sapm-proto/).