Observability

Zipkin

Export observability traces from Spice into Zipkin

In addition to the built-in runtime.task_history SQL table, Spice can export the observability traces it collects into Zipkin.

The Zipkin 'Find a trace' page lists 10 single-span traces, longest first. Most traces come from the zipkin_tracing service, with sql_query or accelerated_refresh root spans. Durations range from 25.829 milliseconds to 175 microseconds.

Zipkin UI showing traces exported by Spice

Enabling Zipkin Export

Zipkin export is defined in the spicepod.yaml under the runtime.tracingsection:

runtime:
  tracing:
    zipkin_enabled: true
    zipkin_endpoint: http://localhost:9411/api/v2/spans
  • zipkin_enabled: Optional. Default false. Enables or disables the Zipkin trace export.
  • zipkin_endpoint: Required if zipkin_enabledis true. The path to the /api/v2/spansendpoint on the Zipkin instance to export to.