Skip to content

feat: add Grafana origin provider - #1103

Open
houyuwushang wants to merge 4 commits into
trickstercache:mainfrom
houyuwushang:feat-grafana-origin-8
Open

feat: add Grafana origin provider#1103
houyuwushang wants to merge 4 commits into
trickstercache:mainfrom
houyuwushang:feat-grafana-origin-8

Conversation

@houyuwushang

Copy link
Copy Markdown
Contributor

Description

Fixes #8.

Adds a grafana backend provider that transparently proxies Grafana's HTTP UI and API while accelerating supported data source proxy requests through Trickster's existing Prometheus, InfluxDB, and ClickHouse providers.

The provider discovers data sources at startup and lazily resolves both UID and legacy numeric proxy paths. Unsupported data source types and request shapes stay on the uncached proxy path. Discovery and response caches are isolated by Grafana authentication and organization identity, custom cache-key headers are preserved, and dynamically created dispatchers are bounded and share the parent Grafana transport.

The supported paths, authentication behavior, WebSocket limitation, and an example configuration are documented.

Type of Change

    • Bug fix
    • New feature
    • Optimization
    • Test coverage
    • Documentation
    • Infrastructure

AI Disclosure

    • This contribution DOES NOT include AI-generated changes
    • This contribution DOES include AI-generated changes, and I have reviewed the relevant contributing guidelines.

Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com>
Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com>
@houyuwushang
houyuwushang requested a review from a team as a code owner August 10, 2026 10:20
Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com>
Signed-off-by: houyuwushang <liuluoqianqiu@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support New Origin Type: Grafana

1 participant