Send Zipkin traces to Promscale

Promscale natively supports the OpenTelemetry Protocol (OTLP) for traces. To ingest Zipkin traces to Promscale, use the OpenTelemetry Collector. The OpenTelemetry Collector converts the Zipkin traces to OpenTelemetry traces.

Send data using the OpenTelemetry Collector

You can configure the OpenTelemetry Collector to forward Zipkin traces to Promscale using Zipkin receiver and the OpenTelemetry exporter.

Here’s an example configuration file for the OpenTelemetry Collector to forward traces to Promscale after batch processing the data:

  1. receivers:
  2. zipkin:
  3. exporters:
  4. otlp:
  5. endpoint: "<PROMSCALE_HOST>:<gRPC_PORT>"
  6. tls:
  7. insecure: true
  8. sending_queue:
  9. queue_size: 1000000
  10. timeout: 10s
  11. processors:
  12. batch:
  13. send_batch_size: 4000
  14. send_batch_max_size: 4000
  15. timeout: 10s
  16. service:
  17. pipelines:
  18. traces:
  19. receivers: [zipkin]
  20. exporters: [otlp]
  21. processors: [batch]

Where:

  • <PROMSCALE_HOST>: hostname of Promscale.
  • <gRPC_PORT>: gRPC port of Promscale. The default port is 9202.

If you are running the OTLP Collector and the Promscale Connector on a Kubernetes cluster, the endpoint parameter is similar to endpoint: "promscale-connector.default.svc.cluster.local:<PORT>"

The default port exposed by the OpenTelemetry Collector Zipkin receiver is 9411. This is the port where you should send your Zipkin traces.

For more information about OpenTelemetry Collector, see the OpenTelemetry documentation.