-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
Explore: Fixed updating time range before running queries #17349
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This makes sure that refresh/update/run query are parsing a relative time range to get proper epoch time range before running queries.
hugohaggmark
approved these changes
May 29, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
ryantxu
added a commit
to ryantxu/grafana
that referenced
this pull request
May 29, 2019
* grafana/master: LDAP: remove unused function (grafana#17351) Enterprise: remove gofakeit dep (grafana#17344) Explore: Update time range before running queries (grafana#17349) Build(package.json): improve npm commands (grafana#17022) Chore: upgrade webpack analyser (grafana#17340) NewDataSourcePage: Add Grafana Cloud link (grafana#17324) CloudWatch: Avoid exception while accessing results (grafana#17283) Build: ignore absence of docker-compose (grafana#17331) Build(makefile): improve error handling (grafana#17281) adds auth example for the cli cherrypick task (grafana#17307) docs: remove my email from docs examples (grafana#17325) 16365 change clashing variable names (grafana#17140) Frontend/SeriesData: Fix for convert SeriesData to Table format (grafana#17314) Frontend/utils: Import has only from lodash (grafana#17311) Frontend/utils: Add missing type (grafana#17312) update v6.2-beta1 changelog with missing pr (grafana#17308)
ryantxu
added a commit
to ryantxu/grafana
that referenced
this pull request
May 30, 2019
…-grafanaui * grafana/master: (92 commits) LDAP: remove unused function (grafana#17351) Enterprise: remove gofakeit dep (grafana#17344) Explore: Update time range before running queries (grafana#17349) Build(package.json): improve npm commands (grafana#17022) Chore: upgrade webpack analyser (grafana#17340) NewDataSourcePage: Add Grafana Cloud link (grafana#17324) CloudWatch: Avoid exception while accessing results (grafana#17283) Build: ignore absence of docker-compose (grafana#17331) Build(makefile): improve error handling (grafana#17281) adds auth example for the cli cherrypick task (grafana#17307) docs: remove my email from docs examples (grafana#17325) 16365 change clashing variable names (grafana#17140) Frontend/SeriesData: Fix for convert SeriesData to Table format (grafana#17314) Frontend/utils: Import has only from lodash (grafana#17311) Frontend/utils: Add missing type (grafana#17312) update v6.2-beta1 changelog with missing pr (grafana#17308) explore: don't parse log levels if provided by field or label (grafana#17180) HTTP Server: Serve Grafana with a custom URL path prefix (grafana#17048) update latest.json to latest stable version (grafana#17306) release: v6.2.1 changelog update (grafana#17303) ...
ryantxu
added a commit
to ryantxu/grafana
that referenced
this pull request
Jun 3, 2019
* grafana/master: (73 commits) docs: configuring custom headers in the dataproxy (grafana#17367) Explore: Queries the datasource once per run query and uses DataStreamObserver (grafana#17263) Feature: Adds redux action logging toggle from url params (grafana#17368) Build: Adds e2e tests back to master workflow with better error messages and with artifacts (grafana#17374) Explore: Handle datasources with long names better in ds picker (grafana#17393) Annotations: Improve annotation option tooltips (grafana#17384) InfluxDB: Fixes single quotes are not escaped (grafana#17398) Chore: Bump axios to 0.19.0 (grafana#17403) Alerting: golint fixes for alerting (grafana#17246) Batch disable users (grafana#17254) Chore: Remove unused properties in explore (grafana#17359) MySQL/Postgres/MSSQL: Add parsing for day, weeks and year intervals in macros (grafana#13086) Security: Prevent csv formula injection attack (grafana#17363) LDAP: remove unused function (grafana#17351) Enterprise: remove gofakeit dep (grafana#17344) Explore: Update time range before running queries (grafana#17349) Build(package.json): improve npm commands (grafana#17022) Chore: upgrade webpack analyser (grafana#17340) NewDataSourcePage: Add Grafana Cloud link (grafana#17324) CloudWatch: Avoid exception while accessing results (grafana#17283) ...
ryantxu
added a commit
to ryantxu/grafana
that referenced
this pull request
Jun 4, 2019
* grafana/master: (49 commits) Build: specify build flag for `docker-compose up` (grafana#17411) Add a @grafana/runtime package with backendSrv interface (grafana#16533) Database: Initialize xorm with an empty schema for postgres (grafana#17357) docs: configuring custom headers in the dataproxy (grafana#17367) Explore: Queries the datasource once per run query and uses DataStreamObserver (grafana#17263) Feature: Adds redux action logging toggle from url params (grafana#17368) Build: Adds e2e tests back to master workflow with better error messages and with artifacts (grafana#17374) Explore: Handle datasources with long names better in ds picker (grafana#17393) Annotations: Improve annotation option tooltips (grafana#17384) InfluxDB: Fixes single quotes are not escaped (grafana#17398) Chore: Bump axios to 0.19.0 (grafana#17403) Alerting: golint fixes for alerting (grafana#17246) Batch disable users (grafana#17254) Chore: Remove unused properties in explore (grafana#17359) MySQL/Postgres/MSSQL: Add parsing for day, weeks and year intervals in macros (grafana#13086) Security: Prevent csv formula injection attack (grafana#17363) LDAP: remove unused function (grafana#17351) Enterprise: remove gofakeit dep (grafana#17344) Explore: Update time range before running queries (grafana#17349) Build(package.json): improve npm commands (grafana#17022) ...
ryantxu
added a commit
to ryantxu/grafana
that referenced
this pull request
Jun 4, 2019
* grafana/master: (108 commits) Build: specify build flag for `docker-compose up` (grafana#17411) Add a @grafana/runtime package with backendSrv interface (grafana#16533) Database: Initialize xorm with an empty schema for postgres (grafana#17357) docs: configuring custom headers in the dataproxy (grafana#17367) Explore: Queries the datasource once per run query and uses DataStreamObserver (grafana#17263) Feature: Adds redux action logging toggle from url params (grafana#17368) Build: Adds e2e tests back to master workflow with better error messages and with artifacts (grafana#17374) Explore: Handle datasources with long names better in ds picker (grafana#17393) Annotations: Improve annotation option tooltips (grafana#17384) InfluxDB: Fixes single quotes are not escaped (grafana#17398) Chore: Bump axios to 0.19.0 (grafana#17403) Alerting: golint fixes for alerting (grafana#17246) Batch disable users (grafana#17254) Chore: Remove unused properties in explore (grafana#17359) MySQL/Postgres/MSSQL: Add parsing for day, weeks and year intervals in macros (grafana#13086) Security: Prevent csv formula injection attack (grafana#17363) LDAP: remove unused function (grafana#17351) Enterprise: remove gofakeit dep (grafana#17344) Explore: Update time range before running queries (grafana#17349) Build(package.json): improve npm commands (grafana#17022) ...
ryantxu
added a commit
to ryantxu/grafana
that referenced
this pull request
Jun 4, 2019
* grafana/master: (142 commits) Build: specify build flag for `docker-compose up` (grafana#17411) Add a @grafana/runtime package with backendSrv interface (grafana#16533) Database: Initialize xorm with an empty schema for postgres (grafana#17357) docs: configuring custom headers in the dataproxy (grafana#17367) Explore: Queries the datasource once per run query and uses DataStreamObserver (grafana#17263) Feature: Adds redux action logging toggle from url params (grafana#17368) Build: Adds e2e tests back to master workflow with better error messages and with artifacts (grafana#17374) Explore: Handle datasources with long names better in ds picker (grafana#17393) Annotations: Improve annotation option tooltips (grafana#17384) InfluxDB: Fixes single quotes are not escaped (grafana#17398) Chore: Bump axios to 0.19.0 (grafana#17403) Alerting: golint fixes for alerting (grafana#17246) Batch disable users (grafana#17254) Chore: Remove unused properties in explore (grafana#17359) MySQL/Postgres/MSSQL: Add parsing for day, weeks and year intervals in macros (grafana#13086) Security: Prevent csv formula injection attack (grafana#17363) LDAP: remove unused function (grafana#17351) Enterprise: remove gofakeit dep (grafana#17344) Explore: Update time range before running queries (grafana#17349) Build(package.json): improve npm commands (grafana#17022) ...
marefr
changed the title
Explore: Update time range before running queries
Explore: Fixed updating time range before running queries
Jun 5, 2019
aocenas
pushed a commit
that referenced
this pull request
Jun 5, 2019
Merged
aocenas
pushed a commit
that referenced
this pull request
Jun 5, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
This makes sure that refresh/update/run query are parsing a
relative time range to get proper epoch time range before
running queries.
Which issue(s) this PR fixes:
Fixes #17322
Special notes for your reviewer: