Commit Graph
19865 Commits
Author SHA1 Message Date
Tobias Skarhed 7ae844518c Remove unused SASS variables (#12603)
* Comment out unused vars

* Remove unused sass vars
2018-07-13 12:10:09 -07:00
Torkel Ödegaard 964620c38c fix: panel embedd scrolbar fix, fixes #12589 (#12595) 2018-07-13 05:07:04 -07:00
Sven Klemm 17591ca29f fix tests for postgres datasource 2018-07-13 10:15:55 +02:00
David Kaltschmidt 390090da05 Set datasource in deep links to Explore 2018-07-13 09:45:56 +02:00
Sven Klemm 693efda4d5 send timerange with metricFindQuery 2018-07-13 09:31:39 +02:00
David Kaltschmidt d06b26de26 Explore Datasource selector
Adds a datasource selector to the Explore UI. Only datasource plugins
that have `explore: true` in their `plugin.json` can be selected.

- adds datasource selector (based on react-select) to explore UI
- adds getExploreSources to datasource service
- new `explore` flag in datasource plugins model
- Prometheus plugin enabled explore
2018-07-13 09:09:36 +02:00
Shane 756c08e713 changed you to your (#12590) 2018-07-12 23:56:37 -07:00
Sven Klemm bf21f1bf76 indent generated SQL 2018-07-12 22:36:41 +02:00
David 64c77febef Merge pull request #12586 from dehrax/12075-iframe-scroll
Prevent scroll on focus for iframe
2018-07-12 16:10:06 +02:00
Tobias Skarhed 7361d352bf Add comments 2018-07-12 15:38:41 +02:00
David 030d06331f Merge pull request #12585 from grafana/davkal/fix-plugin-css-loader-2
Fix freezing browser when loading plugin
2018-07-12 14:51:45 +02:00
David Kaltschmidt 81e62e1051 Fix freezing browser when loading plugin
- broken since 4d2dd2209
- `*` was previously working as a path matcher, but freezes browser when
  used with new cache-busting plugin loader
- changed matcher to be `/*`
2018-07-12 13:16:41 +02:00
Sven Klemm a24a6624e3 handle counter overflow and resets in rate 2018-07-12 13:15:19 +02:00
ryan 14d816aff9 Merge remote-tracking branch 'grafana/master'
* grafana/master: (29 commits)
  skip backend request if extended statistics is invalid. (#12495)
  Refactor team pages to react & design change (#12574)
  (prometheus) prevent error to use $__interval_ms in query (#12533)
  fix: folder picker did not notify parent that the initial folder had been changed, fixes #12543 (#12554)
  Add support for skipping variable value in URL, fixes #12174 (#12541)
  Don't build-all for PRs
  fix: requests/sec instead of requets (#12557)
  Add folder name to dashboard title (#12545)
  Fix css loading in plugins (#12573)
  Add new sequential color scales
  move go vet out of scripts and fixing warning (#12552)
  Cleanup and remove some jest.fn()
  Remove irrelevant tests and templateSrv stub
  Update CHANGELOG.md
  fix diff and percent_diff (#12515)
  Update lodash/moment version (#12532)
  Add mock to test files
  Create new instance in beforeEach
  Remove comments
  Karma to Jest: Cloudwatch datasource
  ...
2018-07-12 11:39:34 +02:00
Sven Klemm 0935526d23 partition by metricColumn when using increase 2018-07-12 10:13:21 +02:00
Sven Klemm bbe7b9b908 add rate and increase special functions 2018-07-12 09:57:04 +02:00
Torkel Ödegaard 211e0f2199 wip: another baby step, another million to go 2018-07-11 12:11:21 -07:00
Torkel Ödegaard 902eba90d0 Merge branch 'master' into react-panels 2018-07-11 11:39:22 -07:00
Mitsuhiro Tanda 9b50c9038b skip backend request if extended statistics is invalid. (#12495)
* check extended statistics pattern

* check extended statistics pattern

* Revert "check extended statistics pattern"

This reverts commit 52c7b1a972636d5f5729e64ae5e00e6fae329257.

* add test

* fix test
2018-07-11 11:23:38 -07:00
Torkel Ödegaard c03764ff8a Refactor team pages to react & design change (#12574)
* Rewriting team pages in react

* teams to react progress

* teams: getting team by id returns same DTO as search, needed for AvatarUrl

* teams: progress on new team pages

* fix: team test

* listing team members and removing team members now works

* teams: team member page now works

* ux: fixed adding team member issue

* refactoring TeamPicker to conform to react coding styles better

* teams: very close to being done with team page rewrite

* minor style tweak

* ux: polish to team pages

* feature: team pages in react & everything working

* fix: removed flickering when changing tabs by always rendering PageHeader
2018-07-11 11:23:07 -07:00
Mitsuhiro Tanda 18a8290c65 (prometheus) prevent error to use $__interval_ms in query (#12533)
* prevent error to use $__interval_ms in query

* add test

* prevent error to use $__interval_ms in query
2018-07-11 11:13:47 -07:00
Torkel Ödegaard b4e0ace7a2 fix: folder picker did not notify parent that the initial folder had been changed, fixes #12543 (#12554) 2018-07-11 10:58:06 -07:00
Łukasz Gryglicki 24f395f986 Add support for skipping variable value in URL, fixes #12174 (#12541)
* New rebase

Signed-off-by: Lukasz Gryglicki <lukaszgryglicki@o2.pl>

* Lint

Signed-off-by: Lukasz Gryglicki <lukaszgryglicki@o2.pl>
2018-07-11 10:06:36 -07:00
nikoalch f34f5008ba Update mac.md
added local login info
2018-07-11 08:15:23 -07:00
nikoalch a0e1f58815 Update windows.md 2018-07-11 08:14:25 -07:00
nikoalch bcb11d6747 Update rpm.md
added local login info
2018-07-11 08:13:48 -07:00
nikoalch e944803f10 Update debian.md
added local login info
2018-07-11 08:13:15 -07:00
Torkel Ödegaard 2c22a7b4ba Don't build-all for PRs 2018-07-11 13:31:34 +02:00
Sven Klemm 2784a2df6b Refactor value column SQL generation 2018-07-11 13:03:06 +02:00
Sven Klemm 9ba42f63f1 Refactor metric column sql generation 2018-07-11 12:33:37 +02:00
Rollulus Rouloul 2fbf2bba4e fix: requests/sec instead of requets (#12557) 2018-07-11 03:33:19 -07:00
Tobias Skarhed cfa555b569 Add folder name to dashboard title (#12545)
* Add folder name to dashboard title. No display on medium displays and below

* Compare folderId instead

* folderId bigger than 0
2018-07-11 03:31:07 -07:00
David 4d2dd22095 Fix css loading in plugins (#12573)
- allow css loader to be imported again (wasnt prefixed by plugin)
2018-07-11 03:29:19 -07:00
Sven Klemm a86e77fc68 Refactor group by query generation 2018-07-11 12:20:24 +02:00
Sven Klemm b9edc3c611 Refactor where clause generation 2018-07-11 11:50:02 +02:00
Sven Klemm 5dd236bf05 refactor SQL generation for value columns 2018-07-11 11:09:28 +02:00
Sven Klemm 772825ed09 Refactor time column sql generation 2018-07-11 11:00:12 +02:00
Sven Klemm c5bde0ef45 Refactor render function on PostgresQuery 2018-07-11 10:50:49 +02:00
Sven Klemm 1d711924bc Merge remote-tracking branch 'upstream/master' into postgres-query-builder 2018-07-11 10:21:13 +02:00
Sven Klemm c8a11d597f prepare sql part for special functions 2018-07-10 21:43:57 +02:00
Sven Klemm 0e610cad1b set query gui as default handle old panels gracefully 2018-07-10 21:40:59 +02:00
Bryan T. Richardson daf0c374b3 Added BurstBalance metric to list of AWS RDS metrics. 2018-07-10 10:11:39 -06:00
Sven Klemm 9d5b4cb91d dont throw exception for unknown types 2018-07-10 14:45:36 +02:00
Tobias Skarhed 4ee4ca99be Prevent scroll on focus for iframe 2018-07-10 12:54:45 +02:00
Sven Klemm e8e24f6139 add alias when adding group by 2018-07-10 11:32:23 +02:00
Dominic Smith 5578097210 Add new sequential color scales
* Add new sequential color scales

* Simplify inversion logic
2018-07-10 12:17:55 +03:00
Sven Klemm 6e7161f238 add aggregates when adding group by 2018-07-10 11:14:00 +02:00
David 9595f992b9 Merge pull request #12496 from dehrax/12224-prostgres-ds
Karma to Jest: 3 data sources
2018-07-10 11:13:44 +02:00
Sven Klemm 483e7c0163 remove superfluous braces 2018-07-10 10:21:02 +02:00
Sven Klemm dc93055a10 add column alias when add aggregate function 2018-07-10 10:19:30 +02:00