Skip to content

talkops-ai/tempo

v0.2.1Apache-2.0

Grafana Tempo 2.x/3.x and Tempo Operator (v1alpha1) plugin for TalkOps: TraceQL search, TraceQL Metrics (RED & compare() cohorts), cross-pillar exemplar/log trace pivots, service topology, per-tenant /api/overrides, and Kubernetes TempoStack/TempoMonolithic management.

authoring-traceql-and-metrics-queries

Authors, validates, and optimizes TraceQL 2.x/3.x search queries, TraceQL Metrics aggregations (rate, quantile_over_time, histogram_over_time, topk, compare), structural parent-child/sibling operators (>, >>, ~, !>, !>>), event/link scopes, and A2UI trace waterfall views in Grafana Tempo. Use when constructing or linting TraceQL expressions, handling OTel v1.20 vs v1.24+ semantic conventions, paginating search results, or rendering waterfall views. Do not use for PromQL queries (use authoring-promql-and-analyzing-metrics), LogQL queries (use authoring-logql-and-analyzing-logs), two-trace latency diffs (use investigating-tempo-latency-regressions), or Tempo cluster health diagnostics (use diagnosing-tempo-ingestion-and-health).

diagnosing-tempo-ingestion-and-health

Diagnoses Grafana Tempo 2.x and 3.x ingestion pipelines, backend connectivity, hash rings (RING_MEMBER_UNHEALTHY, gossip port 7946), Kafka PARTITION_LAG_OBSERVED, SPANS_DISCARDED rate/size drops, X-Scope-OrgID multi-tenant mismatches, OTel Collector exporter misconfigurations (:4317 vs :4318), TRACE_TIME_GAPS, and degraded TempoStack Operator CRs (OPERATOR_CR_NOT_READY). Use when traces are missing, spans are discarded, TraceQL metrics/service-graphs go blank, or Tempo components are unhealthy. Do not use for Day-1/Day-2 TempoStack sizing (use operating-tempo-deployments-and-tenants), OTel Collector internal OOM/queue crashes (use troubleshooting-telemetry-pipelines), Loki ingestion drops (use operating-loki-deployments-and-ingestion), or microservice 5xx error triage (use triaging-tempo-service-errors).

investigating-tempo-latency-regressions

Investigates p50, p95, and p99 latency regressions in Grafana Tempo by comparing slow vs baseline trace cohorts, analyzing critical paths and merged-interval self-time hotspots, correlating async producer-consumer span links, and computing 5-axis structural trace diffs (tempo_compare_traces). Use when diagnosing slow endpoints, bimodal tail spikes, uniform latency shifts, N+1 database/RPC fan-out, async queue delays, or uninstrumented time gaps. Do not use for HTTP/gRPC error spikes (use triaging-tempo-service-errors), general TraceQL syntax authoring (use authoring-traceql-and-metrics-queries), service dependency topology/alerts (use mapping-tempo-topology-and-alerts), or OTel Collector tail-sampling configs (use tuning-sampling-and-trace-derived-metrics).

mapping-tempo-topology-and-alerts

Maps upstream and downstream distributed service dependency graphs (tempo_get_service_dependencies) and generates Prometheus span-metrics (traces_spanmetrics_*) and service-graphs (traces_service_graph_*) SLO alerting rules from Grafana Tempo. Use when analyzing pre-maintenance blast radius, high-coupling bottlenecks, failing client -> server RPC edges, unpaired datastore spans (peer_attributes), or /setup-monitoring --signals traces. Do not use for OTel Collector connector pipelines (use tuning-sampling-and-trace-derived-metrics), native PromQL rule unit-testing/upsert (use authoring-and-testing-prometheus-rules), individual trace diffs (use investigating-tempo-latency-regressions), or TempoStack CR deployment (use operating-tempo-deployments-and-tenants).

operating-tempo-deployments-and-tenants

Operates Grafana Tempo Kubernetes custom resources (TempoStack and TempoMonolithic tempo.grafana.com/v1alpha1), conducts production readiness reviews, and manages per-tenant runtime /api/overrides with HTTP ETag (If-Match / 412 Precondition Failed) optimistic concurrency control. Use when sizing or applying Tempo Operator deployments (dev, small-prod, large-prod), tuning ingestion_rate_limit_bytes, ingestion_burst_size_bytes, max_bytes_per_trace, or block_retention, or enabling per-tenant metrics_generator.processors. Do not use for live Tempo ring/ingestion outage diagnosis (use diagnosing-tempo-ingestion-and-health), LokiStack operations (use operating-loki-deployments-and-ingestion), or OTel Collector provisioning (use provisioning-opentelemetry-collectors).

triaging-tempo-service-errors

Triages distributed service errors and incidents in Grafana Tempo by computing RED severity, comparing error vs baseline span cohorts (canary version, single-pod, or route skew), pivoting from metrics exemplars or W3C traceparent/JSON/logfmt logs, and isolating deepest error origin spans. Use when investigating 5xx spikes, elevated RPC error rates, failing requests across microservices, or running /triage. Do not use for pure zero-error latency regressions (use investigating-tempo-latency-regressions), Loki-only log signature summaries (use triaging-loki-incidents-and-errors), Prometheus multi-burn SLO math (use triaging-prometheus-incidents-and-slos), or Tempo cluster/ring failures (use diagnosing-tempo-ingestion-and-health).