Skip to content

Grafana Dashboard

βœ… Healthy v12.3.0 πŸ‘€ SRE Team

Overview

Visualization and dashboarding platform for ecosystem metrics, health monitoring, and alerting.

Provides visual dashboards for monitoring system health, performance metrics, and business KPIs across all VALINA services.

πŸ“¦ Source Repository


Key Features

  • Real-time metric visualization

  • Custom dashboards

  • Alert management

  • Log aggregation views

  • Distributed tracing UI


Architecture

Grafana instance with Prometheus data source and pre-built VALINA dashboards

System Overview

%%{init: {
  'theme': 'dark',
  'themeVariables': {
    'primaryColor': '#db41f6',
    'primaryBorderColor': '#e066f7',
    'primaryTextColor': '#ffffff',
    'secondaryColor': '#1a0f2e',
    'tertiaryColor': '#0f0a1a',
    'lineColor': '#22c55e',
    'fontSize': '14px'
  }
}}%%
flowchart TB
    subgraph EXTERNAL["🌐 External"]
        CLIENT[/"πŸ‘€ Clients"/]
        INGRESS["πŸšͺ Ingress"]
    end

    subgraph NS["monitoring Namespace"]
        direction TB
        subgraph SVC["πŸ“¦ Grafana Dashboard"]
            DEPLOY["βš™οΈ Deployment<br/>1 replicas"]
            subgraph PODS["Pods"]
                POD0["Pod 1"]
            end
        end
    end

    CLIENT --> INGRESS --> DEPLOY

Component Architecture

%%{init: {
  'theme': 'dark',
  'themeVariables': {
    'primaryColor': '#db41f6',
    'primaryBorderColor': '#e066f7',
    'primaryTextColor': '#ffffff',
    'secondaryColor': '#1a0f2e',
    'tertiaryColor': '#0f0a1a',
    'lineColor': '#22c55e',
    'fontSize': '14px'
  }
}}%%
flowchart TB
    subgraph ARCH_CLIENT["πŸ§‘ Client Layer"]
        ARCH_USER[/"User Interaction"/]
    end

    subgraph ARCH_CORE["πŸ’Ž Grafana Dashboard Core"]
        direction TB
        subgraph ARCH_FEATURES["✨ Features"]
            ARCH_F0["Real-time metric visualization"]
            ARCH_F1["Custom dashboards"]
            ARCH_F2["Alert management"]
            ARCH_F3["Log aggregation views"]
            ARCH_F4["Distributed tracing UI"]
        end

        subgraph ARCH_PROCESS["βš™οΈ Processing"]
            ARCH_HANDLER["Request Handler"]
            ARCH_LOGIC["Business Logic"]
        end
    end

    ARCH_USER --> ARCH_CORE
    ARCH_HANDLER --> ARCH_LOGIC

Container Details

Property Value
Image quay.io/kiwigrid/k8s-sidecar:2.1.2
Replicas 1 / 1 ready

Volume Mounts

Volume Mount Path
sc-dashboard-volume β†’ /tmp/dashboards

Flows and Processes

Process Flow

%%{init: {
  'theme': 'dark',
  'themeVariables': {
    'primaryColor': '#db41f6',
    'primaryBorderColor': '#e066f7',
    'primaryTextColor': '#ffffff',
    'secondaryColor': '#1a0f2e',
    'tertiaryColor': '#0f0a1a',
    'lineColor': '#22c55e',
    'fontSize': '14px'
  }
}}%%
flowchart LR
    subgraph FLOW_IN["πŸ“₯ Input"]
        MON_METRICS["πŸ“Š Metrics"]
        MON_LOGS["πŸ“ Logs"]
        MON_TRACES["πŸ” Traces"]
    end

    subgraph FLOW_PROC["βš™οΈ Processing"]
        MON_COLLECT["πŸ“₯ Collect"]
        MON_AGGREGATE["πŸ”— Aggregate"]
        MON_ANALYZE["🧠 Grafana Dashboard"]
        MON_ALERT["🚨 Alert Rules"]
    end

    subgraph FLOW_OUT["πŸ“€ Output"]
        MON_DASHBOARD["πŸ“Ί Dashboard"]
        MON_ALERTS["πŸ”” Alerts"]
        MON_REPORTS["πŸ“„ Reports"]
    end

    MON_METRICS --> MON_COLLECT
    MON_LOGS --> MON_COLLECT
    MON_TRACES --> MON_COLLECT
    MON_COLLECT --> MON_AGGREGATE --> MON_ANALYZE
    MON_ANALYZE --> MON_DASHBOARD
    MON_ANALYZE --> MON_ALERT --> MON_ALERTS
    MON_ANALYZE --> MON_REPORTS

Request Lifecycle

%%{init: {
  'theme': 'dark',
  'themeVariables': {
    'primaryColor': '#db41f6',
    'primaryBorderColor': '#e066f7',
    'primaryTextColor': '#ffffff',
    'secondaryColor': '#1a0f2e',
    'tertiaryColor': '#0f0a1a',
    'lineColor': '#22c55e',
    'fontSize': '14px'
  }
}}%%
sequenceDiagram
    autonumber
    participant C as πŸ‘€ Client
    participant I as πŸšͺ Ingress
    participant S as βš™οΈ Grafana Dashboard

    C->>+I: HTTP Request
    I->>+S: Route to Service
    S-->>-I: Response
    I-->>-C: HTTP Response

Custom Flows

  • Query Execution

  • Dashboard Render

  • Alert Evaluation


Integration and APIs

Exposed Ports

Port Service
http-web:80 valina-prometheus-grafana

Dependencies

Service Purpose
Prometheus Dependency
Loki Dependency
Tempo Dependency

Security and Compliance

Security Context

Setting Value
Security Level Restricted
Run as Non-Root βœ… Yes
Read-Only Root FS ❌ No
Service Account valina-prometheus-grafana

Dropped Capabilities

  • ALL

Security Best Practices

Restricted Security

This service has some security hardening but could be improved.



Monitoring and Operations

Health Probes

No readiness probe configured.

No liveness probe configured.

No Prometheus metrics configured. Add prometheus.io/scrape: "true" annotation.

Operations Commands

# Check deployment status
kubectl get deployment valina-prometheus-grafana -n monitoring

# View logs
kubectl logs -l app.kubernetes.io/name=valina-prometheus-grafana -n monitoring -f

# Scale replicas
kubectl scale deployment/valina-prometheus-grafana -n monitoring --replicas=3

# Restart deployment
kubectl rollout restart deployment/valina-prometheus-grafana -n monitoring

πŸ”§ AI-Powered Diagnostics

πŸ”§ Diagnostics

βœ… No issues detected


πŸ“Š SLO Dashboard

SLOTargetCurrentError BudgetStatus
🟒 Availability 99.9% 99.95% 85% remaining βœ… Meeting
⚑ Latency P99 < 200ms 142ms 92% remaining βœ… Meeting
πŸ”΄ Error Rate < 0.1% 0.02% 98% remaining βœ… Meeting

πŸ“ˆ Live Metrics

CPU Usage
0%
▁▂▃▂▃▄▃▂▃▂
Memory
0MB
β–‚β–‚β–ƒβ–ƒβ–ƒβ–„β–„β–ƒβ–ƒβ–ƒ
Request Rate
0.0k/s
β–ƒβ–„β–…β–†β–…β–†β–‡β–†β–…β–†
Error Rate
0.00%
▁▁▁▂▁▁▁▁▁▁

πŸ”’ Security Scan

0
Critical
0
High
2
Medium
5
Low

Security Status: Passing

Last scanned: 2026-01-12 10:00 UTC Scanner: Trivy v0.50.0


πŸ‘₯ RBAC & Permissions

Resource Permissions Scope
ServiceAccount valina-prometheus-grafana Namespace
ClusterRole view Cluster-wide (read)

Pod Security Standards

Policy Status
Privileged ❌ Denied
Run as Root ❌ Blocked
Host Network ❌ Blocked
Host PID ❌ Blocked

πŸ“– API Documentation

No OpenAPI Spec

Add API documentation via annotation: valina.ai/openapi-url: "https://..."


πŸ“œ Version History

v12.3.0 - Current deployment (2026-01-14T06:44:04.902863784+00:00)

⚑ Latency Heatmap

P50
45ms
P90
98ms
P99
142ms
Max
285ms
SLO (200ms)
🟑 95.0%
Good

24-Hour Latency Heatmap

Hourly P99 🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒🟒
🟒 <50% 🟑 50-75% 🟠 75-100% πŸ”΄ >SLO

πŸ”” Active Alerts

βœ… All Clear 0 active alerts

🌐 Traffic Flow

πŸ“₯ Inbound Traffic

nginx-ingress β†’ 1.2k rps | 45ms | 0.02% err
api-gateway β†’ 850.0 rps | 12ms | 0.00% err

πŸ“€ Outbound Traffic

No outbound traffic detected

πŸ’° Cost Attribution

Monthly Cost $5.85
Efficiency Score 72%

Resource Breakdown

CPU
Memory
Storage
Net
πŸ’» CPU: $3.00 🧠 Memory: $2.40 πŸ’Ύ Storage: $0.30 🌐 Network: $0.15

πŸ“š Runbooks

πŸ”₯ High CPU Usage

Steps to diagnose and mitigate high CPU consumption

cpuperformance
⚑ High Latency

Troubleshooting guide for latency spikes

latencynetworking
πŸ”„ Pod Restarts

Investigation steps for frequent pod restarts

restartsoom

πŸ“ž On-Call

πŸ“ž Platform Team Platform Team Escalation πŸ“… View Schedule
Primary
OE
On-Call Engineer
πŸ“§ Email πŸ’¬ @oncall
πŸ• Shift ends: 7h
Secondary
BE
Backup Engineer
πŸ“§ Email πŸ’¬ @oncall-backup

πŸ“… Change Timeline

πŸ“… Deployment History 1 changes πŸ“Š View in ArgoCD
πŸš€
Deployment 2026-01-14 06:44 UTC
Current deployment
πŸ‘€ CI/CD

🐀 Canary Status

🐀 No active canary deployment

πŸ”΄ Error Drill-down

βœ… No errors in the last 24 hours πŸ“‹ View Logs

⚑ Quick Actions



Configuration Reference

Labels

Label Value
app.kubernetes.io/instance valina-prometheus
app.kubernetes.io/managed-by Helm
app.kubernetes.io/name grafana
app.kubernetes.io/version 12.3.0
helm.sh/chart grafana-10.4.0

Environment Variables

Variable Value
FOLDER /tmp/dashboards
LABEL grafana_dashboard
LABEL_VALUE 1
METHOD WATCH
NAMESPACE ALL
REQ_METHOD POST
REQ_SKIP_INIT true
REQ_URL http://localhost:3000/api/admin/provisioning/dashboards/relo…
RESOURCE both

Annotations

Annotation Value
valina.ai/architecture Grafana instance with Prometheus data source and pre-built V…
valina.ai/dependencies prometheus
valina.ai/features Custom Dashboards,Alert Rules,Data Source Integration,Team A…
valina.ai/flows Query Execution,Dashboard Render,Alert Evaluation
valina.ai/owner @3xzyle
valina.ai/purpose Grafana dashboards for VALINA ecosystem visualization and al…
valina.ai/repository https://github.com/3xzyle/VALINA-AI


Auto-Generated Documentation

This documentation was auto-generated from Kubernetes deployment metadata.

Enhance this doc by adding annotations:

annotations:
  valina.ai/description: "Detailed service description"
  valina.ai/purpose: "Service purpose statement"
  valina.ai/features: "Feature 1, Feature 2, Feature 3"
  valina.ai/flows: "Auth Flow, Data Processing Flow"
  valina.ai/dependencies: "redis, postgres, auth-service"
  valina.ai/api-endpoints: "/api/v1/resource, /health"
  valina.ai/economics: "Ties to GRAT treasury via..."
  valina.ai/owner: "Platform Team"
  valina.ai/repository: "https://github.com/org/repo"
  valina.ai/changelog: "v1.2.0 Added feature X, v1.1.0 Initial release"
  valina.ai/roadmap: "SSO integration, Multi-region support"
  valina.ai/notices: "Requires v2.0 by Q2 2026"

Created: 2025-12-24T08:09:21Z | Generated: 2026-01-14T06:44:04.902863784+00:00