Skip to content

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

@tdstein

Description

@tdstein

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions