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

OpenTSDB: Adding lookup limit to OpenTSDB datasource settings #20647

Merged
merged 5 commits into from
Dec 12, 2019

Conversation

itamarst
Copy link
Contributor

@itamarst itamarst commented Nov 25, 2019

What this PR does / why we need it:

Adding lookup limit to OpenTSDB datasource settings and using it in the datasource for tag value lookup and suggest. The limits were hard-coded to 1000 which made it difficult to query more metrics and tag values.

This is a rebase of #16754, authored by @smalik03, with the addition of a tiny bit of documentation.

Which issue(s) this PR fixes:

Fixes #8155

@itamarst
Copy link
Contributor Author

UI screenshot, again from smalik03:

@dprokop dprokop requested a review from marefr November 26, 2019 08:50
@marefr marefr added area/frontend pr/external This PR is from external contributor labels Nov 26, 2019
@dprokop dprokop requested a review from torkelo November 26, 2019 19:06
@torkelo
Copy link
Member

torkelo commented Dec 4, 2019

We converted this config editor (the options view) to react so sadly this has updated.

@itamarst
Copy link
Contributor Author

itamarst commented Dec 4, 2019

I can do the update to React.

@marefr marefr removed their request for review December 5, 2019 12:41
@itamarst itamarst force-pushed the opentsdb_lookup_limit branch from 6fb4fb2 to 813c353 Compare December 9, 2019 14:21
smalik03 and others added 3 commits December 9, 2019 13:06
Adding lookup to OpenTSDB datasource settings and using it in the datasource for tag value lookup and suggest
@itamarst itamarst force-pushed the opentsdb_lookup_limit branch from 813c353 to 8da1d50 Compare December 9, 2019 19:41
@itamarst
Copy link
Contributor Author

itamarst commented Dec 9, 2019

@torkelo this has been updated to use React, although I am not a React programmer so I might've done it wrong.

@itamarst
Copy link
Contributor Author

@torkelo and now all check pass.

@torkelo torkelo changed the title Datasource/OpenTSDB: adding lookup limit to OpenTSDB datasource settings OpenTSDB: Adding lookup limit to OpenTSDB datasource settings Dec 12, 2019
@torkelo torkelo added this to the 6.6 milestone Dec 12, 2019
Copy link
Member

@torkelo torkelo left a comment

Choose a reason for hiding this comment

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

Looks great! thanks for contributing!

@torkelo torkelo merged commit 70e38ec into grafana:master Dec 12, 2019
ryantxu pushed a commit to ryantxu/grafana that referenced this pull request Dec 23, 2019
…a#20647)

* feat: adding lookup limit to OpenTSDB settings

Adding lookup to OpenTSDB datasource settings and using it in the datasource for tag value lookup and suggest

* Document the change.

* feat: UI for configuring OpenTSDB lookup limit.

* Apply prettier.

* Fix compilation error.
johntdyer pushed a commit to johntdyer/grafana that referenced this pull request Jan 2, 2020
…a#20647)

* feat: adding lookup limit to OpenTSDB settings

Adding lookup to OpenTSDB datasource settings and using it in the datasource for tag value lookup and suggest

* Document the change.

* feat: UI for configuring OpenTSDB lookup limit.

* Apply prettier.

* Fix compilation error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add to changelog area/frontend pr/external This PR is from external contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Grafana/Open TSDB - Limit on returned items for template variables
4 participants