Svix supports sending tracing information to the OpenTelemetry collector at a configured address. This can be used to interface with many services such as DataDog or Sentry.
To set this up you can follow these steps:
- Set up an account with any service which supports receiving logs from the OpenTelemetry Collector. Note some services (such as DataDog) require use of specific forks of the OpenTelemetry Collector which include "exporters" for their services. The most popular is the opentelemetry-collector-contrib.
- Install, configure, and (re)start the OpenTelemetry Collector, noting the gRPC address it is configured to bind to. Ensure that your external service has been integrated properly by consulting their documentation for OpenTelemetry Collector exporters.
- Configure the Svix server including the
opentelemetry_address
field to point towards the gRPC address configured above. - Optionally configure the
opentelemetry_sample_ratio
in the Svix server configuration. If not set, all traces will be sent to the external service. - Ensure the OpenTelemetry Collector is running, start the Svix server, and watch the tracing information be received.