Product
Platform overview Tomosu engine (open source) Tomosu Cloud Reliability rules
Solutions
Prevent outages before merge Reliability Radar Fix safety For developers For SRE and platform teams
Developers
Quickstart Documentation Contribute a rule
Resources
Blog Case studies Learn FAQ News
Company
Pricing About Contact Join the Waitlist
Theme

Use Tomosu with the Grafana stack

A Grafana stack is fed by an OpenTelemetry Collector or by Grafana Alloy, and Tomosu’s exporter goes next to Tempo, Mimir and Loki in either. With a Collector, paste the YAML block; with Alloy, add the same exporter as an Alloy component.

  • Collector or Alloy
  • Tempo, Mimir, Loki
  • Traces, metrics, logs
  • Updated

A self-hosted Grafana stack (Tempo for traces, Mimir for metrics, Loki for logs) is fed either by a standard OpenTelemetry Collector or by Grafana Alloy. Both work; only the config language differs.

Your appsSend OpenTelemetry dataOTel Collector or AlloyPlus the Tomosu exporterTempo, Mimir, LokiGrafana shows what is slowTomosuFinds the line of codeGrafana dashboard recoversProof the fix workedFix pull requestAfter you press Accept
Tempo, Mimir, Loki and Tomosu, from the same data.

First do the four steps every tool shares: make the engine reachable from the Collector, copy the exporter block from Setup health, set service.version on your services and build code indexes in CI.

What do I add?

With an OpenTelemetry Collector, add the block from Setup health and append otlp/tomosu to each pipeline. The existing exporter names below are examples; keep yours.

service:
  pipelines:
    traces:  { exporters: [otlp/tempo, otlp/tomosu] }
    metrics: { exporters: [prometheusremotewrite, otlp/tomosu] }
    logs:    { exporters: [otlphttp/loki, otlp/tomosu] }

With Grafana Alloy, the YAML block does not paste in: add the same exporter as an Alloy component (otelcol.exporter.otlp). Setup health shows only the Collector YAML, so copy this instead:

otelcol.exporter.otlp "tomosu" {
  timeout = "2s"
  client {
    endpoint    = "tomosu:4317"
    compression = "gzip"
    tls {
      insecure = true
    }
  }
  sending_queue {
    enabled       = true
    num_consumers = 2
    queue_size    = 100
  }
  retry_on_failure {
    enabled          = true
    initial_interval = "1s"
    max_interval     = "2s"
    max_elapsed_time = "5s"
  }
}

Then add otelcol.exporter.otlp.tomosu.input to the output lists of the component that sends to Tempo, Mimir and Loki (usually otelcol.processor.batch), for example traces = [otelcol.exporter.otlp.tempo.input, otelcol.exporter.otlp.tomosu.input], and reload Alloy.

Which address and ports does Tomosu use?

A Collector or Alloy on the same host holds 4317/4318. Move Tomosu to 14317/14318 with run.otlp_grpc_port and run.otlp_http_port, and point the exporter at that port.

How do I check it works?

Check: Grafana still shows the traces in Tempo, and Setup health shows data arriving.