Skip to content

How-to guides

Each guide solves one problem and assumes you already have a provider building. If none of that is true yet, start with Getting started.

Guides that do not exist yet

Worth saying plainly, so you do not go looking:

  • Exporting over OTLP/gRPC. Not supported. Only OTLP/HTTP exporters are built.
  • Switching to a Prometheus or Jaeger exporter. Not built in. Implement otelcore.Exporter and pass it as Settings.Exporter.
  • Instrumenting HTTP handlers. Use otelhttp, otelgrpc and the OTel contrib instrumentation. instrument covers your own operations, not the transport.

What this module does not do covers the full list and the reasoning.