Skip to content

feat(k8s): expose pyroscope ui endpoints, port-forwarding and grafana dashboards #977

Closed

Description

@dan-petty

Problem Statement

Following the integration of Grafana Pyroscope to the monitoring stack (#943), users cannot access or view Pyroscope continuous profiling:

  1. devops k8s deploy-stack does not announce the Pyroscope UI endpoint upon deployment.
  2. devops k8s port-forward does not expose or forward svc/pyroscope:4040 (and lacks --pyroscope-port).
  3. devops k8s configure-urls does not discover or record pyroscope.url.
  4. Grafana provisions the Pyroscope datasource but provides zero continuous profiling dashboards or flamegraph panels, so users opening Grafana cannot see profiling data.

Proposed Changes

  1. Add DEFAULT_PYROSCOPE_PORT: int = 4040 and DEFAULT_PYROSCOPE_URL: str = "http://localhost:4040" in src/devops_cli/config/defaults.py and configure PyroscopeConfig in settings.py.
  2. Add --pyroscope-port to devops k8s port-forward in src/devops_cli/commands/k8s/networking.py, forwarding svc/pyroscope:4040 for infra/all stacks.
  3. Add pyroscope.url to _PROXY_TARGETS_INFRA and _NODEPORT_KEYS_INFRA for service-proxy and nodeport discovery.
  4. Announce Pyroscope UI: http://localhost:4040 (namespace: monitoring) in _post_deploy_credentials in src/devops_cli/commands/k8s/stack_lifecycle.py.
  5. Provision a dedicated Continuous Profiling dashboard (pyroscope.json) with interactive flamegraphs and integrate a Continuous Profiling flamegraph panel into sre-service.json.
  6. Update documentation and test suites.

Activity

  1. added this to the v0.2.25 milestone on Oct 2, 2026
  2. added
    type/feature
    scope/k8s
    scope/telemetry
    priority/p1-high
    on Oct 2, 2026
  3. dan-petty commented on Oct 2, 2026

    @dan-petty
    OwnerAuthor

    Closed by #978, merged into release/v0.2.25.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

  4. added a commit that references this issue on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1-highscope/k8sscope/telemetrytype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions