grafana/pkg/server
Alexa Vargas 808cf7e4f1
SuggestedDashboards: dashvalidator app - Add Prometheus Support (#115769)
Dashboard Validator App - Prometheus support

Validates dashboard compatibility with Prometheus datasources. The app analyzes dashboard queries against                             available metrics to produce a compatibility score.                                              

Backend (Go):
- App scaffolding with grafana-app-sdk, custom `/check` endpoint
- Prometheus validator: parses PromQL queries, fetches available metrics, and computes per-query and per-datasource compatibility
- Metric caching, input validation, request timeouts, and structured error handling (not found, unreachable, auth, timeout)
- Custom authorizer with role-based access control
- Datasource-scoped validation and variable interpolation support

Frontend (React/TypeScript):
- API client for the validator backend
- Compatibility badge inline on community dashboards
- Detail modal showing per-datasource and per-query results
- Gated behind dashboardValidatorApp feature flag

Tests:
- Go unit tests for parser, fetcher, validator, and JSON serialization
- Dashboard query extraction tests
2026-02-16 20:06:35 +01:00
..
doc.go
instrumentation_service.go unified-storage: setup ring to shard requests (#103783) 2025-04-25 13:08:44 -04:00
instrumentation_service_test.go unified-storage: setup ring to shard requests (#103783) 2025-04-25 13:08:44 -04:00
memberlist.go unified-storage: Add integration tests for distributor (#105771) 2025-06-30 09:31:58 -04:00
module_registerer.go Server: Add possibility to register build-specific targets (#111988) 2025-10-06 11:50:02 +02:00
module_runner.go
module_server.go Unified: Extract gRPC server into its own dskit service/provider (#117164) 2026-02-13 12:58:16 +01:00
module_server_test.go Replace check for integration tests. (#110707) 2025-09-08 15:49:49 +02:00
operator.go Add more metrics to the IAM Folder Reconciler (#111275) 2025-09-18 09:03:32 -06:00
ring.go fix: improve resilience for unified storage and search service grpc clients (#116122) 2026-01-13 11:42:21 +00:00
runner.go SecretsManager: Consolidation service and ability to run via cli (#108774) 2025-07-31 14:45:59 +01:00
search_server_distributor_test.go fix: rebuild indexes before migration count validation (#117237) 2026-02-04 13:19:05 +00:00
server.go chore : Deprecating FeatureToggles.IsEnabledGlobally (#112885) 2025-10-24 12:02:53 -04:00
server_test.go Access Control: Add fixed role loader service (#112747) 2025-10-22 12:04:42 -04:00
service.go Add ConfigProvider and modify quota.Service to use it (#109395) 2025-08-12 09:42:10 +03:00
test_env.go Provisioning: Add Validation and Mutation for Connection resource (#115596) 2026-01-12 17:52:00 +01:00
wire.go refactor: decouple resource migrators from accessor (#117743) 2026-02-11 12:23:22 +01:00
wire_gen.go SuggestedDashboards: dashvalidator app - Add Prometheus Support (#115769) 2026-02-16 20:06:35 +01:00
wireexts_oss.go GSM: Implement DEK caching (#113894) 2026-02-02 12:46:16 -05:00