Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the concurrent query count key in sdk #875

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

itsmylife
Copy link
Contributor

@itsmylife itsmylife commented Jan 29, 2024

We recently added a new configuration option ConcurrentQueryCount. See: grafana/grafana#81212
This needs to be passed to the plugins (currently, Loki and InfluxDB need it). Reaching to that via using github.com/grafana/grafana/pkg/setting is against our decoupling goals. As it was suggested here exposing this key would be easier to reach without compromising our decoupling goals.

@itsmylife itsmylife requested a review from a team as a code owner January 29, 2024 13:08
@itsmylife itsmylife requested review from marefr and oshirohugo and removed request for a team January 29, 2024 13:08
Copy link
Contributor

@andresmgot andresmgot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one nit

backend/config.go Outdated Show resolved Hide resolved
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
@itsmylife itsmylife merged commit 60cd92b into main Jan 29, 2024
3 checks passed
@itsmylife itsmylife deleted the ismail/expose-concurrent-query-count-in-config branch January 29, 2024 13:34
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.

None yet

2 participants