Skip to content

httpClient inherits Grafana settings - #52

Merged
NeedleInAJayStack merged 4 commits into
mainfrom
feat/httpclient-improvements
Jun 8, 2026
Merged

httpClient inherits Grafana settings#52
NeedleInAJayStack merged 4 commits into
mainfrom
feat/httpclient-improvements

Conversation

@NeedleInAJayStack

@NeedleInAJayStackNeedleInAJayStack commented Jun 7, 2026

Copy link
Copy Markdown
Owner

This changes the datasource creation to use grafana-plugin-sdk-go/backend/httpclient, which respects Grafana's proxy / Private Data source Connect settings, request timeouts, and tracing.

It also refactors some error formatting and concurrency.

By using `grafana-plugin-sdk-go/backend/httpclient`, the datasource automatically respects Grafana's proxy / Private Data source Connect settings, request timeouts, and tracing.
This depends on a single channel instead of two channels and a wait group.
@NeedleInAJayStackNeedleInAJayStack self-assigned this Jun 7, 2026
@NeedleInAJayStackNeedleInAJayStack changed the title Feat/httpclient improvementshttpClient inherits Grafana settingsJun 7, 2026
@NeedleInAJayStack
NeedleInAJayStack merged commit e764b8c into mainJun 8, 2026
2 checks passed
Sign up for freeto 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.

1 participant

@NeedleInAJayStack