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

TimeSeries: Assume values are all numbers #18540

Merged
merged 2 commits into from
Aug 14, 2019

Conversation

ryantxu
Copy link
Member

@ryantxu ryantxu commented Aug 14, 2019

Fixes #18479

If the field type is not set explicitly, DataFrame willl guess it from the name or first value. When the name is "time", it assumes a time type.

BUT with existing TimeSeries data, the value type should always be set to number

@ryantxu ryantxu self-assigned this Aug 14, 2019
@ryantxu ryantxu added area/panel/data Common panel data querying & processing type/bug cherry-pick needed labels Aug 14, 2019
@ryantxu ryantxu added this to the 6.3.3 milestone Aug 14, 2019
@ryantxu ryantxu requested a review from torkelo August 14, 2019 03:55
@torkelo torkelo merged commit 0ba0772 into grafana:master Aug 14, 2019
@marefr marefr changed the title TimeSeries: assume values are all numbers TimeSeries: Assume values are all numbers Aug 15, 2019
marefr pushed a commit that referenced this pull request Aug 15, 2019
* assume number for TimeSeries types

* use const

(cherry picked from commit 0ba0772)
marefr pushed a commit that referenced this pull request Aug 15, 2019
* assume number for TimeSeries types

* use const

(cherry picked from commit 0ba0772)
ryantxu added a commit to ryantxu/grafana that referenced this pull request Aug 15, 2019
* grafana/master:
  DataFrame: convert from row based to a columnar value format (grafana#18391)
  Packages: Temporarily skip canary releases if packages build fail (grafana#18577)
  Update latest.json to latest stable version (grafana#18575)
  Docs: Update changelog for v6.3.3 (grafana#18569)
  Graph: Fixed issue clicking on series line icon (grafana#18563)
  grafana/toolkit: Unpublish previous "next" version when releasing a new one (grafana#18552)
  Toolkit: write PR report to a folder with the circle build number (grafana#18560)
  CI: Fail build if yarn.lock is not up to date (grafana#18555)
  Chore: Updates react-dependant packages to address react warnings (grafana#18549)
  Prometheus: Fix regression of rerunning query on legend/interval change (grafana#18147)
  Explore/Prometheus: More consistently allows for multi-line queries (grafana#18362)
  Login: Fixes undefined redirect (grafana#18545)
  Plugins: expose react-redux, redux (grafana#18501)
  TimeSeries: assume values are all numbers (grafana#18540)
ryantxu added a commit to ryantxu/grafana that referenced this pull request Aug 15, 2019
* grafana/master:
  DataFrame: convert from row based to a columnar value format (grafana#18391)
  Packages: Temporarily skip canary releases if packages build fail (grafana#18577)
  Update latest.json to latest stable version (grafana#18575)
  Docs: Update changelog for v6.3.3 (grafana#18569)
  Graph: Fixed issue clicking on series line icon (grafana#18563)
  grafana/toolkit: Unpublish previous "next" version when releasing a new one (grafana#18552)
  Toolkit: write PR report to a folder with the circle build number (grafana#18560)
  CI: Fail build if yarn.lock is not up to date (grafana#18555)
  Chore: Updates react-dependant packages to address react warnings (grafana#18549)
  Prometheus: Fix regression of rerunning query on legend/interval change (grafana#18147)
  Explore/Prometheus: More consistently allows for multi-line queries (grafana#18362)
  Login: Fixes undefined redirect (grafana#18545)
  Plugins: expose react-redux, redux (grafana#18501)
  TimeSeries: assume values are all numbers (grafana#18540)
ryantxu added a commit to ryantxu/grafana that referenced this pull request Aug 15, 2019
* grafana/master: (156 commits)
  DataFrame: convert from row based to a columnar value format (grafana#18391)
  Packages: Temporarily skip canary releases if packages build fail (grafana#18577)
  Update latest.json to latest stable version (grafana#18575)
  Docs: Update changelog for v6.3.3 (grafana#18569)
  Graph: Fixed issue clicking on series line icon (grafana#18563)
  grafana/toolkit: Unpublish previous "next" version when releasing a new one (grafana#18552)
  Toolkit: write PR report to a folder with the circle build number (grafana#18560)
  CI: Fail build if yarn.lock is not up to date (grafana#18555)
  Chore: Updates react-dependant packages to address react warnings (grafana#18549)
  Prometheus: Fix regression of rerunning query on legend/interval change (grafana#18147)
  Explore/Prometheus: More consistently allows for multi-line queries (grafana#18362)
  Login: Fixes undefined redirect (grafana#18545)
  Plugins: expose react-redux, redux (grafana#18501)
  TimeSeries: assume values are all numbers (grafana#18540)
  Login: Angular to React (grafana#18116)
  InfoTooltip: Info icon with tooltip (grafana#18478)
  Annotations: Fix failing annotation query when time series query is cancelled (grafana#18532)
  remotecache: support SSL with redis (grafana#18511)
  QueryData: Handle that response data must be array (grafana#18504)
  React: Rename deprecated UNSAFE_componentWillReceiveProps (grafana#18526)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add to changelog area/panel/data Common panel data querying & processing type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Series with name 'time' is shown as No Data in most panels
3 participants