Przejdź do treści
Biblioteka skilli
DevOps i chmura · Budowanie i kod

grafana-expert

/grafana-expert

Wspiera pracę z Grafana na poziomie eksperckim: dashboardy, wizualizacje, źródła danych, alerty, instalacja na Kubernetes i JSON dashboardów.

Repozytorium
pcl ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
10.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
4
Przestarzałość

Brak sygnałów. Repozytorium zmienione 10.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Wspiera pracę z Grafana na poziomie eksperckim: dashboardy, wizualizacje, źródła danych, alerty, instalacja na Kubernetes i JSON dashboardów.

Oryginalny opis (EN)

Expert-level Grafana dashboards, visualization, data sources, alerting, and production operations. Use when the user mentions dashboards, visualization, monitoring, observability, or alerting, or when the task involves Grafana Architecture, Installation on Kubernetes, Data Sources, or Dashboard JSON.

Jak działa

  1. Best Practices
  2. Anti-Patterns
  3. Approach
  4. Reference Documentation
  5. Resources
Sekcje z nagłówków SKILL.md, w oryginale · 168 linii, 409 słów
Podgląd SKILL.md
---
name: grafana-expert
version: 1.1.0
description: >-
  Expert-level Grafana dashboards, visualization, data sources, alerting, and production
  operations. Use when the user mentions dashboards, visualization, monitoring,
  observability, or alerting, or when the task involves Grafana Architecture, Installation
  on Kubernetes, Data Sources, or Dashboard JSON.
category: devops
author: PCL Team
license: Apache-2.0
tags:
  - grafana
  - dashboards
  - visualization
  - monitoring
  - observability
  - alerting
allowed-tools:
  - Read
  - Write
  - Edit
  - Bash(kubectl:*, grafana-cli:*)
  - Glob
  - Grep
requirements:
  grafana: '>=10.0'
  kubernetes: '>=1.28'
---

# Grafana Expert

You are an expert in Grafana with deep knowledge of dashboard creation, panel types, data sources, templating, alerting, and production operations. You design and manage comprehensive visualization and observability systems following Grafana best practices.

## Best Practices

### 1. Use Template Variables

```json
// Query with variables
{
  "expr": "sum(rate(http_requests_total{namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])) by (pod)"
}
```

### 2. Set Appropriate Refresh Rates

```json
// Dashboard refresh
{
  "refresh": "30s" // Production
  // "refresh": "1m"  // Development
}
```

### 3. Use $\_\_rate_interval

```promql
# Better than fixed interval
rate(http_requests_total[$__rate_interval])
```

### 4. Organize with Folders

```
Dashboards/
├── Kubernetes/
│   ├── Cluster Overview
│   └── Pod Monitoring
├── Applications/
│   ├── API Performance
│   └── Database Metrics
└── Infrastructure/
    ├── Node Metrics
    └── Network Traffic
```

### 5. Use Annotations

```json
{
  "annotations": {
    "list": [
      {
        "datasource": "Prometheus",
        "enable": true,
        "expr": "ALERTS{alertstate=\"firing\"}",
        "iconColor": "red",
        "name": "Alerts",
        "tagKeys": "alertname,severity"
      }
    ]
  }
}
```

### 6. Color Thresholds

```json
{
  "thresholds": {
    "mode": "absolute",
    "steps": [
      { "value": null, "color": "green" },
      { "value": 70, "color": "yellow" },
      { "value": 90, "color": "red" }
    ]
  }
}
```

### 7. Dashboard Links

```json
{
  "links": [
    {
      "title": "Related Dashboard",
      "url": "/d/xyz/other-dashboard?var-namespace=$namespace",
      "type": "link",
      "icon": "dashboard"
    }
  ]
}
```

## Anti-Patterns

**1. Too Many Panels:**

```
# BAD: 50+ panels
# GOOD: 10-15 focused panels per dashboard
```

**2. No Variables:**

```json
// BAD: Hardcoded namespace
{
  "expr": "sum(rate(http_requests_total{namespace=\"production\"}[5m]))"
}

// GOOD: Use variables
{
  "expr": "sum(rate(http_requests_total{namespace=\"$namespace\"}[5m]))"
}
```

**3. Short Refresh Intervals:**

```json
// BAD: Too frequent
"refresh": "5s"

// GOOD: Reasonable rate
"refresh": "30s"
```

**4. No Units:**

```json
// GOOD: Always specify units
{
  "unit": "bytes",
  "decimals": 2
}
```

## Approach

When creating Grafana dashboards:

1. **Start with Goals**: Define what you want to monitor
2. **Use Variables**: Make dashboards reusable
3. **Golden Signals**: Latency, Traffic, Errors, Saturation
4. **Organize**: Use folders and consistent naming
5. **Test**: Verify queries and thresholds
6. **Document**: Add descriptions and links
7. **Version Control**: Store JSON in Git
8. **Provision**: Use ConfigMaps for automation

Always design dashboards that are clear, actionable, and maintainable.

## Reference Documentation

Detailed material lives alongside this skill and is read on demand:

- [Core Expertise](references/CORE_CONCEPTS.md) — Grafana Architecture, Installation on Kubernetes, Data Sources, Dashboard JSON, Panel Types, Variables (Templating), Alerting, Dashboard Provisioning

## Resources

- Grafana Documentation: https://grafana.com/docs/
- Dashboard Best Practices: https://grafana.com/docs/grafana/latest/best-practices/
- Community Dashboards: https://grafana.com/grafana/dashboards/
- Grafana Plugins: https://grafana.com/grafana/plugins/
Pliki w paczce (2)
  • SKILL.md 4 KB
  • references/CORE_CONCEPTS.md 15 KB

Wersje

W bazie nie ma innych skilli o nazwie grafana-expert.

Migawka bazy z 28.10.2026 · wersja paczki ba8ca20f72a0 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100grafana-dashboards
    Tworzy i prowadzi produkcyjne dashboardy Grafana do wizualizacji metryk systemów i aplikacji w czasie rzeczywistym.
  • 100grafana-dashboards
    Tworzy i prowadzi produkcyjne dashboardy Grafana do wizualizacji metryk systemów i aplikacji w czasie rzeczywistym.
  • 100grafana-dashboards
    Tworzy i prowadzi produkcyjne dashboardy Grafana do wizualizacji metryk systemów i aplikacji w czasie rzeczywistym.
  • 100grafana-dashboards
    Tworzy i prowadzi produkcyjne dashboardy Grafana do wizualizacji metryk systemów i aplikacji w czasie rzeczywistym.
  • 100grafana
    Wspiera pracę z Grafana: dashboardy, panele PromQL i LogQL, reguły alertów, źródła danych oraz Loki i Tempo, przy wizualizacji metryk i logów.
  • 100grafana
    Zarządza Grafana przez HTTP API: dashboardy, źródła danych, foldery, alerty, adnotacje, użytkownicy, zespoły i organizacje.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.