-
Notifications
You must be signed in to change notification settings - Fork 36
Add optional LGTM stack subchart to rstudio-connect with preconfigured OTel integration #822
Description
Summary
Add an optional LGTM stack (Loki, Grafana, Tempo, Mimir) as subchart dependencies to the rstudio-connect chart, preconfigured to receive telemetry from Connect via OpenTelemetry.
This would give operators a path to full observability when deploying Connect on Kubernetes.
Motivation
Connect 2026.03.0 deprecated the legacy Metrics.Enabled / Graphite-based pipeline in favor of OpenTelemetry (see #820). With that transition, Connect can now emit metrics, traces, and logs over standard OTel protocols — but users are left to wire up their own backend.
The LGTM stack is the natural Grafana-ecosystem target for OTel data:
| Signal | Destination |
|---|---|
| Metrics | Mimir (or Prometheus) |
| Logs | Loki |
| Traces | Tempo |
| Dashboards | Grafana |
Bundling these as opt-in subcharts with sane defaults would make Connect observability accessible out of the box for teams that don't already have a monitoring stack.
Proposed approach
-
Add optional subchart dependencies in
Chart.yaml(all disabled by default):grafana/grafanagrafana/lokigrafana/tempografana/mimir-distributed(orprometheus-community/prometheusas a lighter alternative)
-
Preconfigure Connect OTel settings in
values.yamlwhen the subcharts are enabled — pointing Connect's OTel exporter endpoints at the in-cluster Mimir, Tempo, and Loki services. -
Ship a starter Grafana dashboard (as a ConfigMap) covering the key Connect OTel metrics exposed since 2026.03.0.
-
Document a
values.yamlsnippet that enables the full stack in one block, suitable for local dev/demo use.
Related
- Update rstudio-connect chart: Metrics.Enabled deprecated in Connect 2026.03.0 #820 — removes the deprecated
Metrics.Enabledsetting and is a prerequisite for this work - Connect OTel docs
Acceptance criteria
- LGTM subcharts are opt-in (no change to default deploys)
- When enabled, Connect metrics/traces/logs flow to the stack without additional configuration
- A starter Grafana dashboard is included and auto-provisioned
- README documents the feature and the values snippet to enable it