Commit Graph
19865 Commits
Author SHA1 Message Date
Marcus Efraimsson 2d92d217eb update changelog
[skip ci]
2018-11-19 09:15:08 +01:00
Marcus Efraimsson 0652d8bbe2 changelog: add notes about closing #11977
[skip ci]
2018-11-19 09:15:08 +01:00
Marcus Efraimsson 63e817e7c8 changelog: add notes about closing #6367
[skip ci]
2018-11-19 09:15:07 +01:00
Marcus Efraimsson db6af9eed1 docs: team http api update 2018-11-19 09:15:07 +01:00
stop-cran ec19306260 [elasticsearch] Do not set a placeholder to index name, if it's already specified. 2018-11-19 09:15:07 +01:00
bergquist bb66661cc6 changelog: adds note about closing #14043 2018-11-19 09:15:07 +01:00
Peter Holmberg 7b66120122 fixed issue with save. 2018-11-19 09:15:07 +01:00
Peter Holmberg f6aab0fe4b fixed mutability issue in dashboard dropdowns 2018-11-19 09:15:07 +01:00
David Kaltschmidt a1fad2d8d4 Explore: Fix table pagination styles
- get rid of drop shadow
- get rid of top border
- add min height for better no-data placement
- add margins
2018-11-19 09:15:07 +01:00
Marcus Efraimsson a251461c62 team preferences ui 2018-11-19 09:15:07 +01:00
Marcus Efraimsson b00542e194 feat: team preferences 2018-11-19 09:15:06 +01:00
David Kaltschmidt b2e6b2485f Explore: Dont set datasource in state if navigated away
Datasource selection triggers a connection test, on success
the DS is set in the Explore state. If the test takes long and user
selects a different DS, and just after that the first test succeeds,
then the first DS overwrites the state.

* when test returns check if datasource is still the requested one
2018-11-19 09:15:06 +01:00
Marcus Efraimsson ac3e175e54 fix switching from es raw document metric breaks query editor 2018-11-19 09:15:06 +01:00
bergquist 76cbd7f0de alerting: reduce the length of range queries
since we introduce deboucing the length should matter less.
But going below 5m as default might be weird depending on datasource.
2018-11-19 09:10:19 +01:00
Victor Cinaglia ba5a002323 Mitigate XSS vulnerabilities in Singlestat panel
Sanitize `prefix` and `postfix` fields. Re-arrange code slightly in order to handle variable
interpolation.
2018-11-18 20:33:36 -05:00
Patrick 2de5a7119b Merge branch 'master' into add_google_hangouts_chat_notifier 2018-11-18 22:00:53 +01:00
Victor Cinaglia 4ed0a3d29a Retain decimal precision when exporting CSV
Using `Number.prototype.toLocaleString()` has the unexpected behavior of truncating anything
exceeding 3 decimal digits on floats.

Additionally, it introduces inconsistencies (comma vs period separators) which could make processing the
output CSV harder than it could be.  The proposed solution here is to simply let numbers be cast
automatically via string concatenation.

Fixes #13929
2018-11-18 12:40:43 -05:00
Vinicyus Macedo 152261413d Added Id to BasicUserInfo returns 2018-11-17 12:05:06 -02:00
Torkel Ödegaard 435079c6e7 Merge pull request #14102 from grafana/change-tab-in-edit-modefix
fix: dont setViewMode when nothing has changed
2018-11-17 14:46:16 +01:00
Vinicyus Macedo 057f611194 Added google oauth account id 2018-11-17 00:48:54 -02:00
Torkel Ödegaard 8d39ca76be switch style tweaks 2018-11-16 12:45:19 -08:00
David Kaltschmidt adb2430a1b Explore: collapsible result panels
- replace the Graph/Table buttons with toggle control in a wrapper panel
- moved toggle control to left to be close to the label
- removed panel styles from Logs and Graph viewer
- moved loader animation to panel
2018-11-16 18:21:13 +00:00
Peter Holmberg 5916f76991 removing test page 2018-11-16 16:58:08 +01:00
Peter Holmberg cc7bf31c3e Merge remote-tracking branch 'origin/develop' into unit-picker 2018-11-16 16:54:02 +01:00
Peter Holmberg ee3b438269 format value 2018-11-16 16:41:01 +01:00
Peter Holmberg 02d8ffda5b default value 2018-11-16 16:35:42 +01:00
ijin08 ad8e9ae691 created classes for new checkbox and variables 2018-11-16 16:35:04 +01:00
David 634d71a657 Merge pull request #14052 from grafana/davkal/explore-query-importer
Explore: POC for datasource query importers
2018-11-16 14:55:19 +00:00
David Kaltschmidt e3e8be16b3 Prometheus: fix rules expansion
Rules expansion (available via query hints in explore) was broken for expressions that contained selectors.

- fix replacing regexp to recognize `{` and `[` as the end of a rule name
- moved logic to language utils
- added tests
2018-11-16 14:38:20 +00:00
Peter Holmberg 0f4131b8d7 handle default value 2018-11-16 15:26:51 +01:00
Torkel Ödegaard 57de2475b0 various fixes to angular loading 2018-11-16 15:09:14 +01:00
David Kaltschmidt 411719bc70 Explore: POC for datasource query importers
Explore is about keeping context between datasources if possible. When
changing from metrics to logging, some of the filtering can be kept to
narrow down logging streams relevant to the metrics.

- adds `importQueries` function in language providers
- query import dependent on origin datasource
- implemented  prometheus-to-logging import: keeping label selectors
  that are common to both datasources
- added types
2018-11-16 13:52:58 +00:00
Leonard Gram ac8731b9fb build: enabled darwin build. 2018-11-16 14:50:27 +01:00
Leonard Gram ce63f5c0ee Merge pull request #14103 from xlson/darwin-compatible-build
build: darwin compatible build env.

Fixes #13763
2018-11-16 14:48:24 +01:00
Peter Holmberg 8ab86c2ceb expand groups when searching 2018-11-16 14:40:24 +01:00
Leonard Gram badb36b3c8 build: darwin compatible build env. 2018-11-16 14:29:35 +01:00
Peter Holmberg 2b8eab8c8c maxHeight and style overrides 2018-11-16 14:11:51 +01:00
Marcus Efraimsson 2c7dfd74b4 Merge pull request #14100 from grafana/fix-save-redirect-issue
fix for save dashboard redirect issue
2018-11-16 04:03:47 -08:00
ijin08 c505fc3783 moved slider into label to make it clickable, styled slider in dark and light theme, created variables for slider 2018-11-16 13:02:29 +01:00
Marcus Efraimsson f528142655 Merge pull request #14089 from grafana/fixed-alert-tab-location
fixed alert tab order and fixed some console logging issues
2018-11-16 03:58:13 -08:00
Torkel Ödegaard 96104e4372 fix: dont setViewMode when nothing has changed 2018-11-16 12:39:26 +01:00
Torkel Ödegaard 907c84f7d8 Merge pull request #14099 from alexanderzobnin/fix-14098
fix datasource testing
2018-11-16 11:34:30 +01:00
Torkel Ödegaard e85a3f1d04 fix redirect issue, caused by timing of events between angular location change and redux state changes 2018-11-16 11:29:32 +01:00
Alexander Zobnin 8c7f4ac188 fix datasource testing 2018-11-16 13:17:41 +03:00
Torkel Ödegaard 7c72f8e028 panel options now load even when changing type 2018-11-16 10:44:39 +01:00
Torkel Ödegaard f21fe65bb1 fixed issues when changing type, need to remove event listeners and cleanup props 2018-11-16 10:00:13 +01:00
Leonard Gram 438f7d0332 build: refactoring. 2018-11-16 09:03:46 +01:00
Torkel Ödegaard dac02d3d73 React edit mode for angular panels progress 2018-11-16 08:31:29 +01:00
Torkel Ödegaard 4822c02534 Merge pull request #14092 from cloudshapes/record-full-url-in-google-analytics
Update google analytics code to submit full URL not just path
2018-11-16 07:58:55 +01:00
Torkel Ödegaard ad3e683739 Merge branch 'develop' into panel-edit-in-react 2018-11-16 07:43:37 +01:00