Ingest data from Zipkin
The following configuration example shows how you configure a Collector instance to accept Zipkin data, transform it to OTLP, and send it to the Dynatrace backend.
1receivers:2 zipkin:34exporters:5 otlphttp:6 endpoint: $DT_ENDPOINT/api/v2/otlp7 headers:8 Authorization: "Api-Token $DT_API_TOKEN"910service:11 pipelines:12 traces:13 receivers: [zipkin]14 exporters: [otlphttp]
For our configuration, we configure the following components.
receivers, we specify the
zipkin receiver as active receiver component for our Collector instance.
The Zipkin receiver can be customized with a few more attributes, which we leave with their default values in our example.
exporters, we specify the default
otlphttp exporter and configure it with our Dynatrace API URL and the required authentication token.
For this purpose, we set the following two environment variables and reference them in the configuration values for
service, we eventually assemble our receiver and exporter objects into a traces pipeline, which will handle our Zipkin transformation to OTLP.