HOMELAB-1096: Pi telemetry dashboards with Tempo metrics generator #217

Merged
aaron merged 2 commits from plane/HOMELAB-1096-pi-dashboards-with-metrics into live 2026-06-11 06:01:55 +00:00
Owner

What

Re-enables Tempo metrics generator and delivers a full suite of Pi agent telemetry dashboards.

Infrastructure Changes

  • Tempo: Enable metricsGenerator with remote_write to Prometheus
  • kube-prometheus-stack: Enable --enable-feature=remote-write-receiver on Prometheus

Dashboards

Dashboard UID Focus
Pi Sessions pi-sessions Session count, duration, tool calls, errors, trends
Pi Tools pi-tools Tool usage, duration, error traces
Pi LLM & Performance pi-llm-performance Turn counts, turn duration, LLM data
Agent Telemetry (fixed) agent-telemetry General overview with working queries

Query Types Used

  • TraceQL metrics (traceql): stat panels + time series — requires metrics generator
  • TraceQL search (traceqlSearch): tables + traces panels — works without metrics generator

Notes

  • Replaces broken queries in Agent Telemetry that referenced non-existent attributes (.plane.ticket_id, .user.id, .paperclip.run_id)
  • Previous metrics generator was removed in HOMELAB-1092 due to invalid overrides.defaults.metrics_generator nested object. This PR uses the helm chart's built-in metricsGenerator.enabled which generates the correct flat metrics_generator_processors key.

Closes HOMELAB-1096

## What Re-enables Tempo metrics generator and delivers a full suite of Pi agent telemetry dashboards. ### Infrastructure Changes - **Tempo**: Enable `metricsGenerator` with remote_write to Prometheus - **kube-prometheus-stack**: Enable `--enable-feature=remote-write-receiver` on Prometheus ### Dashboards | Dashboard | UID | Focus | |-----------|-----|-------| | **Pi Sessions** | `pi-sessions` | Session count, duration, tool calls, errors, trends | | **Pi Tools** | `pi-tools` | Tool usage, duration, error traces | | **Pi LLM & Performance** | `pi-llm-performance` | Turn counts, turn duration, LLM data | | **Agent Telemetry** (fixed) | `agent-telemetry` | General overview with working queries | ### Query Types Used - **TraceQL metrics** (`traceql`): stat panels + time series — requires metrics generator - **TraceQL search** (`traceqlSearch`): tables + traces panels — works without metrics generator ### Notes - Replaces broken queries in Agent Telemetry that referenced non-existent attributes (`.plane.ticket_id`, `.user.id`, `.paperclip.run_id`) - Previous metrics generator was removed in HOMELAB-1092 due to invalid `overrides.defaults.metrics_generator` nested object. This PR uses the helm chart's built-in `metricsGenerator.enabled` which generates the correct flat `metrics_generator_processors` key. Closes HOMELAB-1096
HOMELAB-1096: add Pi Tools, Pi LLM & Performance dashboards; fix Agent Telemetry
Some checks failed
0/0 projects applied successfully.
CI Review / pr-title (pull_request) Has been cancelled
CI Review / helm-validate (pull_request) Has been cancelled
CI Review / ai-review (pull_request) Has been cancelled
Lint & Validate / terraform-validate (pull_request) Has been cancelled
Lint & Validate / yaml-lint (pull_request) Has been cancelled
Lint & Validate / shellcheck (pull_request) Has been cancelled
06dccf136c
aaron merged commit b5a23d564c into live 2026-06-11 06:01:55 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aaron/infra-core!217
No description provided.