rstudio / rstudio/helm

Add optional LGTM stack subchart to rstudio-connect with preconfigured OTel integration

Open
#822 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Add optional subchart dependencies in Chart.yaml (all disabled by default):

  2. Preconfigure Connect OTel settings in values.yaml when the subcharts are enabled — pointing Connect's OTel exporter endpoints at the in-cluster Mimir, Tempo, and Loki services.

  3. Ship a starter Grafana dashboard (as a ConfigMap) covering the key Connect OTel metrics exposed since 2026.03.0.

  4. Document a values.yaml snippet that enables the full stack in one block, suitable for local dev/demo use.

Related

  • #820 — removes the deprecated Metrics.Enabled setting 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.