Add optional LGTM stack subchart to rstudio-connect with preconfigured OTel integration
Nobody has claimed this yet.
- Dominant language
- Markdown
- Stars
- 46
- Forks
- 40
- Avg merge
- 4h 3m
- Merged PRs (30d)
- 6
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
- #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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Chart.yaml and values.yaml, then review the README and the proposed ConfigMap dashboard work. Read related issue #820 and the linked Connect OTel documentation before assessing the dependency and exporter configuration. Done means opt-in subcharts, end-to-end telemetry without extra configuration, an auto-provisioned starter dashboard, and documented enablement values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- grafana, helm, kubernetes
- Domain
- cloud, devops, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100