# grafana | Grafana Labs | Knowledge Base | Instagit

The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more. 

GitHub Stars: 72.4k

Repository: https://github.com/grafana/grafana

---

## Articles

### [k8s Wrapper System for Unified Storage in Grafana: How RBAC Secures Kubernetes-Style Stores](/grafana/grafana/grafana-k8s-wrapper-system-unified-storage)

Discover Grafana's k8s wrapper system, securing Kubernetes-style stores with RBAC. It unifies storage access by swapping user to service identities and enforcing Grafana policies.

- Tags: deep-dive
- Published: 2026-03-02

### [How the Correlations Service Links Related Data Sources in Grafana](/grafana/grafana/grafana-correlations-service-link-related-data-sources)

Discover how Grafana's correlations service links related data sources using backend definitions and internal data links for seamless panel navigation.

- Tags: internals
- Published: 2026-03-02

### [Notification System Architecture for Alert Routing in Grafana: How the Managed Routes Service Works](/grafana/grafana/grafana-notification-system-alert-routing-architecture)

Explore Grafana's alert routing architecture. Learn how the managed routes service efficiently routes notifications using a tree structure within Alertmanager. Understand its CRUD operations.

- Tags: architecture
- Published: 2026-03-02

### [How Grafana’s Caching Service Optimizes Query Performance: A Deep Dive into the Source Code](/grafana/grafana/grafana-caching-service-query-performance-optimization)

Optimize Grafana query performance with the caching service. Discover how Grafana uses SHA-256 keys to serve cached responses in sub-milliseconds, avoiding slow data-source calls. Explore the source code for deep insights.

- Tags: deep-dive
- Published: 2026-03-02

### [Grafana Public Dashboard Sharing Mechanism: Architecture and Implementation](/grafana/grafana/grafana-public-dashboard-sharing-mechanism)

Explore Grafana's public dashboard sharing mechanism. Learn how lightweight access tokens enable secure anonymous read-only access to dashboards via a dedicated service layer.

- Tags: architecture
- Published: 2026-03-02

### [How Query History Persists and Retrieves Past Queries in Grafana: A Deep Dive into the Query-History Service](/grafana/grafana/grafana-query-history-persistence-retrieval)

Discover how Grafana's query history service persists and retrieves past queries through SQL tables and a REST API. Learn about filtering starring and pagination for your query history.

- Tags: deep-dive
- Published: 2026-03-02

### [How to Build Custom Backend Plugins with the Grafana Plugin SDK](/grafana/grafana/grafana-plugin-sdk-custom-plugin-development)

Learn to build custom backend plugins for Grafana using the Grafana Plugin SDK. This Go library simplifies data source plugin development and management.

- Tags: tutorial
- Published: 2026-03-02

### [How Grafana’s Frontend Redux Store Manages Application State](/grafana/grafana/grafana-frontend-redux-store-application-state-management)

Discover how Grafana's frontend Redux store manages application state with Redux Toolkit, modular architecture, RTK Query, and runtime reducer injection.

- Tags: internals
- Published: 2026-03-02

### [CUE Schema System and Code Generation in Grafana: A Complete Technical Guide](/grafana/grafana/grafana-cue-schema-system-code-generation)

Explore Grafana's CUE schema system for declarative configuration and automatic Go and TypeScript code generation. Understand the `make gen-cue` pipeline for efficient development.

- Tags: deep-dive
- Published: 2026-03-02

### [How @grafana/data Handles Data Structures and Transformations: A Complete Guide](/grafana/grafana/grafana-data-package-data-structures-transformations)

Learn how Grafana's @grafana/data package manages data structures with DataFrames and Fields, and transforms data using an Rx-JS pipeline and the transformDataFrame function.

- Tags: deep-dive
- Published: 2026-03-02

### [Grafana Scenes Framework: Understanding the Scene Object Model](/grafana/grafana/grafana-scenes-framework-scene-object-model)

Explore the Grafana Scenes framework and its scene object model. Learn how this declarative UI framework enables automatic URL sync, undo/redo, and modular UI composition for dashboards.

- Tags: deep-dive
- Published: 2026-03-02

### [How User and Organization Management Scale Across the Grafana Platform](/grafana/grafana/grafana-user-organization-management-scaling)

Discover how Grafana scales user and organization management to millions of accounts using a modular architecture. Learn about its sub-millisecond latency under heavy load.

- Tags: architecture
- Published: 2026-03-02

### [How Grafana’s Folder Service Implements Hierarchical Organization for Dashboards](/grafana/grafana/grafana-folder-service-dashboard-organization-model)

Explore Grafana's Folder Service and its hierarchical organization model for dashboards. Learn how parent pointers enable efficient traversal and path resolution.

- Tags: internals
- Published: 2026-03-02

### [How Grafana's Provisioning System Automates Data Source and Dashboard Configuration](/grafana/grafana/grafana-provisioning-system-automate-configuration)

Automate Grafana data source and dashboard configuration using its provisioning system. Read YAML and JSON files at startup for automatic synchronization and eliminate manual UI setup.

- Tags: internals
- Published: 2026-03-02

### [Grafana SQL Store Architecture and Database Migrations: A Complete Guide](/grafana/grafana/grafana-sql-store-architecture-database-migrations)

Explore Grafana SQL store architecture and database migrations. Understand how Grafana abstracts MySQL, PostgreSQL, and SQLite with xorm and a Migrator framework. Learn about migration logs, locking, and SQLite retries.

- Tags: architecture
- Published: 2026-03-02

### [How Grafana's Secret Management and Encryption Service Protects Sensitive Data](/grafana/grafana/grafana-secret-management-encryption-service-data-protection)

Learn how Grafana's secret management and encryption service protects sensitive data with envelope encryption. Discover how your secrets stay secure at rest, in cache, and during rotation.

- Tags: internals
- Published: 2026-03-02

### [Grafana Authentication and Authorization Architecture: A Complete Technical Guide](/grafana/grafana/grafana-authentication-authorization-architecture)

Explore Grafana's authentication and authorization architecture. Understand identity verification with pluggable clients and permission enforcement via RBAC and Zanzana policy engines.

- Tags: architecture
- Published: 2026-03-02

### [How Data Sources Work Through the TSDB Layer in Grafana: A Deep Dive into the Architecture](/grafana/grafana/grafana-data-sources-tsdb-layer-querying)

Explore how Grafana's TSDB layer unifies frontend API and backend data sources. Learn how queries execute against Prometheus, MySQL, Loki, and more.

- Tags: deep-dive
- Published: 2026-03-02

### [Grafana Feature Management (featuremgmt) System: How Feature Toggles Are Implemented](/grafana/grafana/grafana-feature-management-system-feature-toggles)

Explore Grafana feature management and how feature toggles are implemented. Learn about static definitions, config overrides, and OpenFeature APIs in pkg services featuremgmt.

- Tags: internals
- Published: 2026-03-02

### [How Grafana's Dashboard Service Stores and Retrieves Dashboards: Unified Storage Architecture Explained](/grafana/grafana/grafana-dashboard-service-storage-retrieval)

Discover how Grafana's unified resource store architecture enables efficient dashboard storage and retrieval using DashboardServiceImpl. Learn about its flexible persistence options.

- Tags: internals
- Published: 2026-03-02

### [How Does the Grafana Alerting (ngalert) Service Evaluate Alert Rules?](/grafana/grafana/grafana-ngalert-service-alert-rule-evaluation)

Explore how Grafana's ngalert service evaluates alert rules through its four-phase pipeline involving query execution, state conversion, and notification dispatch.

- Tags: internals
- Published: 2026-03-02

### [Grafana Plugin System Architecture: How Plugins Integrate with the Core Platform](/grafana/grafana/grafana-plugin-system-architecture-and-integration)

Explore Grafana's plugin system architecture. Discover how plugins integrate with the core platform using a central Plugin model, OS processes, and gRPC communication. Learn about frontend asset loading.

- Tags: architecture
- Published: 2026-03-02

### [How Grafana's Wire Dependency Injection System Works in the Backend](/grafana/grafana/how-does-grafana-wire-dependency-injection-work-backend)

Explore how Grafana's backend uses Wire for compile-time dependency injection. Learn about runtime efficiency and static constructors generated by make gen-go.

- Tags: internals
- Published: 2026-03-02

