Skip to content

feat(monitoring): provision grafana-llm-app for litellm and qwen3.8:27b #5710

Closed

Description

@dan-petty

Problem or Motivation

Grafana 13 preinstalls the grafana-llm-app plugin, but lacks automated provisioning for the in-cluster LiteLLM AI Gateway and model qwen3.8:27b. Without plugin provisioning, operators must configure the gateway connection and credentials manually in the Grafana web console.

Proposed Solution & Architectural Design

  • Provision grafana-llm-app settings via extraObjects and extraConfigmapMounts in k8s/monitoring/grafana-values.yaml pointing to http://llm-gateway.llm.svc.cluster.local:4000/v1 with model mapping for qwen3.8:27b.
  • Mount apps.yaml into /etc/grafana/provisioning/plugins/apps.yaml.
  • Inject GF_LLM_GATEWAY_KEY via envValueFrom in grafana-values.yaml referencing secret monitoring/grafana-admin key llm-gateway-key.
  • Add llm-gateway-key to monitoring/grafana-admin in src/devops_cli/k8s/cluster_secrets.py sourced from llm_gateway_master_key.
  • Update k8s/README.md and integration tests.

Target Subsystem

Kubernetes Monitoring (k8s/monitoring/grafana-values.yaml, src/devops_cli/k8s/cluster_secrets.py).

Existing Tool Considered

Grafana native plugin provisioning (/etc/grafana/provisioning/plugins/) using $__env{GF_LLM_GATEWAY_KEY}.

Acceptance Criteria

  • grafana-values.yaml mounts apps.yaml provisioning grafana-llm-app with OpenAI provider URL http://llm-gateway.llm.svc.cluster.local:4000/v1 and model qwen3.8:27b.
  • Secret monitoring/grafana-admin includes llm-gateway-key backed by llm_gateway_master_key.
  • Integration tests in tests/commands/k8s/test_k8s_monitoring_integration.py and tests/k8s/ pass.

Activity

  1. added
    type/feature
    priority/p2-medium
    source/agent
    scope/monitoring
    status/in-progress
    on Nov 14, 2026
  2. changed the title [-]feat(monitoring): provision grafana-llm-app for litellm gateway and qwen3.8:27b[/-] [+]feat(monitoring): provision grafana-llm-app for litellm and qwen3.8:27b[/+] on Nov 14, 2026
  3. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    Contributor

    The job shortened the title of this item. The summary had 61 characters, and the limit is 60. The type and the scope stay.

    • Before: feat(monitoring): provision grafana-llm-app for litellm gateway and qwen3.8:27b
    • After: feat(monitoring): provision grafana-llm-app for litellm and qwen3.8:27b
    • Source of the summary: the background model
  4. removed
    status/in-progress
    on Nov 14, 2026
  5. devops-cli-service commented on Nov 14, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-14 21:08 UTC

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/p2-mediumscope/monitoringsource/agenttype/feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions