Erik Sundell
69137e6774
stackdriver: revert project test stuff
2018-11-15 13:23:42 +01:00
Erik Sundell
b9d5fa1b36
stackdriver: revert test code
2018-11-15 13:20:32 +01:00
bergquist
e7260d77b3
adds pending filter for alert list page
2018-11-15 12:46:28 +01:00
bergquist
968bfd0139
adds pending state to alert list panel
2018-11-15 12:42:47 +01:00
David Kaltschmidt
ce59acd141
Extracted language provider variables for readibility
2018-11-15 11:20:27 +00:00
Marcus Efraimsson
116e367e71
fix time regions mutable bug
2018-11-15 11:30:49 +01:00
Torkel Ödegaard
2ff58d5241
Merge branch 'master' into 12550_team_preferences
2018-11-15 11:29:36 +01:00
Marcus Efraimsson
81efc00adf
set default color mode
2018-11-15 11:21:30 +01:00
stop-cran
20214b3d6a
[elasticsearch] Do not set a placeholder to index name, if it's already specified.
2018-11-14 18:45:18 +02:00
Marcus Efraimsson
0f57c4b20e
create time regions solely based on utc time
2018-11-14 17:21:20 +01:00
Torkel Ödegaard
0a080149ae
Merge pull request #14054 from marefr/6367_raw_document_reset
...
Fix switching from es raw document metric breaks query editor
2018-11-14 16:46:47 +01:00
David
19b3578bdd
Merge pull request #14048 from grafana/davkal/explore-table-pagination-styles
...
Explore: Fix table pagination styles
2018-11-14 14:45:51 +00:00
David
f00f347099
Merge pull request #14033 from grafana/davkal/explore-slow-ds-load
...
Explore: Dont set datasource in state if navigated away
2018-11-14 14:45:35 +00:00
Peter Holmberg
655f4d0a8d
fixed issue with save.
2018-11-13 18:23:35 +01:00
Peter Holmberg
03cf238fa7
fixed mutability issue in dashboard dropdowns
2018-11-13 18:23:00 +01:00
Torkel Ödegaard
b5921ef287
fixed singlestat guage ceneterd dot rendering issue
2018-11-13 16:51:33 +01:00
Marcus Efraimsson
63be43e3b2
graph: Time region support
2018-11-13 12:23:06 +01:00
David Kaltschmidt
7627de80f2
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-13 11:00:32 +00:00
Erik Sundell
2e0cbe75ee
stackdriver: use arrow functions
2018-11-13 11:06:08 +01:00
Erik Sundell
e698202fae
stackdriver: use new naming convention for query editor all over
2018-11-13 10:57:10 +01:00
Marcus Efraimsson
69a57850c4
restore user profile preferences
2018-11-13 10:22:02 +01:00
Mat Schaffer
f6313fe675
Clarify wording of playlist protip
...
Per discussion on 154fbe2413 (r31238888)
it seemed like this wording might be easier to understand.
2018-11-13 14:56:32 +09:00
Marcus Efraimsson
1194ff282e
team preferences ui
2018-11-12 20:58:59 +01:00
David Kaltschmidt
9b48338d95
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-12 18:06:12 +00:00
David Kaltschmidt
ff0ed06441
Explore: Don't suggest term items when text follows
...
Tab completion gets in the way when constructing a query from the inside
out:
```
up| => |up => sum(|up)
```
At that point the language provider will not suggest anything.
2018-11-12 17:40:05 +00:00
Torkel Ödegaard
a2a4458923
Merge pull request #14023 from grafana/gauge-panel
...
React Gauge Panel - first step
2018-11-12 15:58:54 +01:00
Peter Holmberg
490fb9e8e6
import changes
2018-11-12 11:25:47 +01:00
Peter Holmberg
9f1784d0e5
updated text styling when switching views
2018-11-12 10:59:35 +01:00
Torkel Ödegaard
057696a0f8
Merge pull request #14002 from Nexucis/bugfix/template-srv
...
[Bugfix] Don't drop the value when it's equal to None
2018-11-11 16:49:51 +01:00
Peter Holmberg
656900516b
draw gauge
2018-11-09 16:37:09 +01:00
David
0e7b6dcfb4
Merge pull request #14008 from miqh/fix/query-stats-depth
...
Adjust UI depth of query statistics
2018-11-09 15:06:17 +01:00
Erik Sundell
30f9a324ac
stackdriver: remove service query tyhpe
2018-11-09 14:36:50 +01:00
Erik Sundell
3b9eda2561
stackdriver: correct aligner name
2018-11-09 14:36:04 +01:00
Peter Holmberg
9163db02b4
fix in to not render multiple labels
2018-11-09 14:32:14 +01:00
Erik Sundell
f307fc4760
stackdriver: typescriptifying props
2018-11-09 14:30:28 +01:00
Erik Sundell
996b470dd0
stackdriver: remove redundant try catch
2018-11-09 14:24:21 +01:00
Michael Huynh
5d9faef167
Adjust UI depth of query statistics
...
A z-index value of less than 1020 is needed because the time selection
dropdown shares the latter value via inheritance. Arbitrarily picked
1015 because it is a notch down.
Related: #14004
2018-11-09 21:09:22 +08:00
Erik Sundell
bb1f79ecdc
stackdriver: rename query function
2018-11-09 13:55:16 +01:00
Erik Sundell
5424603052
stackdriver: rename query variable
2018-11-09 13:55:16 +01:00
Erik Sundell
f14b3e7fcf
stackdriver: remove debug log
2018-11-09 13:55:16 +01:00
Erik Sundell
9c85793dbb
stackdriver: test saved variable
2018-11-09 13:55:15 +01:00
Erik Sundell
b262be73e0
stackdriver: fix failing tests
2018-11-09 13:55:15 +01:00
Erik Sundell
45f49c2e5b
stackdriver: remove services query type
2018-11-09 13:55:15 +01:00
Erik Sundell
209b1c026e
stackdriver: update tests
2018-11-09 13:55:15 +01:00
Erik Sundell
0280179d35
stackdriver: add tests for render snapshop and default query type
2018-11-09 13:55:15 +01:00
Erik Sundell
7bdf97d3e6
stackdriver: remove lodash since object assign will do the trick
2018-11-09 13:55:15 +01:00
Erik Sundell
85ef5c2523
stackdriver: make sure we don't crash when selected service doesnt have a value
2018-11-09 13:55:15 +01:00
Erik Sundell
8333bf0b76
stackdriver: add simple render test
2018-11-09 13:55:15 +01:00
Erik Sundell
24cb44e029
stackdriver: rename params
2018-11-09 13:55:15 +01:00
Erik Sundell
f168dd5d34
stackdriver: remove not used prop
2018-11-09 13:55:14 +01:00
Erik Sundell
1fe70721c9
stackdriver: persist template variable definition
2018-11-09 13:55:14 +01:00
Erik Sundell
2d14bd10f3
stackdriver: add default value for query type
2018-11-09 13:55:14 +01:00
Erik Sundell
588c5c045a
stackdriver: pass query definition from react, making it possible to use another definition than the query string only
2018-11-09 13:55:14 +01:00
Erik Sundell
5069f4afc9
stackdriver: make it possible to use alignment period template variable
2018-11-09 13:55:14 +01:00
Erik Sundell
a027a87d50
stackdriver: make it possible to use aligner template variable
2018-11-09 13:55:14 +01:00
Erik Sundell
2a6aec721e
stackdriver: make it possible to use aggregation template variable
2018-11-09 13:55:14 +01:00
Erik Sundell
a951e577b7
stackdriver: make it possible to use aggregation template variable
2018-11-09 13:55:14 +01:00
Erik Sundell
20f1956225
stackdriver: make it possible to use metric type template variable
2018-11-09 13:55:13 +01:00
Erik Sundell
4569527873
stackdriver: set currentdatasource when editview is enabled
2018-11-09 13:55:13 +01:00
Erik Sundell
40bb3551cf
stackdriver: return correct value
2018-11-09 13:55:13 +01:00
Erik Sundell
3883643ea2
stackdriver: reset query value on datasource changed
2018-11-09 13:55:13 +01:00
Erik Sundell
fcf39a0839
stackdriver: fix default value bug
2018-11-09 13:55:13 +01:00
Erik Sundell
042d156e5f
stackdriver: extend label width
2018-11-09 13:55:13 +01:00
Erik Sundell
21940c2ca3
stackdriver: revert refactoring
2018-11-09 13:55:12 +01:00
Erik Sundell
2780ef27fd
stackdriver: extract variables for pickers
2018-11-09 13:55:12 +01:00
Erik Sundell
b3c34be648
stackdriver: cleanup
2018-11-09 13:55:12 +01:00
Erik Sundell
a46b9cb0bb
stackriver: rename interface
2018-11-09 13:55:12 +01:00
Erik Sundell
e9e20224d4
stackriver: use type for state
2018-11-09 13:55:12 +01:00
Erik Sundell
e0c0dc1453
stackdriver: rename state vars
2018-11-09 13:55:12 +01:00
Erik Sundell
9872ea7d8c
stackdriver: extract common function
2018-11-09 13:55:11 +01:00
Erik Sundell
c993a4d296
stackdriver: streamline the way labels are refreshed when a new value is picked in the dropdowns above
2018-11-09 13:55:11 +01:00
Erik Sundell
1791e7329c
stackdriver: handle default state
2018-11-09 13:55:11 +01:00
Erik Sundell
3c5f8325f5
stackdriver: refactor dropdown component
2018-11-09 13:55:11 +01:00
Erik Sundell
3c1cf214bc
stackdriver: replace components with basic stateless select
2018-11-09 13:55:11 +01:00
Erik Sundell
1194da0d04
stackdriver: remove not used func. wrap query in exception
2018-11-09 13:55:11 +01:00
Erik Sundell
3af1d74c6a
stackdriver: reload all child dropdown and update selected accordingly
2018-11-09 13:55:10 +01:00
Erik Sundell
c40794c2b9
stackdriver: improve default state handling
2018-11-09 13:55:10 +01:00
Erik Sundell
16c6d79dd6
stackdriver: use standard naming convention for selects
2018-11-09 13:55:10 +01:00
Erik Sundell
d80025d215
stackdriver: streamline label change
2018-11-09 13:55:10 +01:00
Erik Sundell
727472a3cb
stackdriver: refactor TemplateQueryComponent
2018-11-09 13:55:10 +01:00
Erik Sundell
f0b4af9f6c
stackdriver: use enum for query type
2018-11-09 13:55:10 +01:00
Erik Sundell
ca77cdc37e
stackdriver: add aggregation query
2018-11-09 13:55:09 +01:00
Erik Sundell
b1db07789b
stackdriver: add alignment periods
2018-11-09 13:55:09 +01:00
Erik Sundell
a0b8c4acba
stackdriver: add aligner query
2018-11-09 13:55:09 +01:00
Erik Sundell
b3edad40a9
stackdriver: add resource types query
2018-11-09 13:55:09 +01:00
Erik Sundell
cb0d563aae
stackdriver: add support for resource label queries
2018-11-09 13:55:09 +01:00
Erik Sundell
8c3874ee30
stackdriver: return friendly display name
2018-11-09 13:55:08 +01:00
Erik Sundell
4ab278dca4
stackdriver: add metric labels query
2018-11-09 13:55:08 +01:00
Erik Sundell
cbb663015e
stackdriver: move response parsing to datasource file
2018-11-09 13:55:08 +01:00
Erik Sundell
7ccce76b80
stackdriver: return values for services and metric types
2018-11-09 13:55:08 +01:00
Erik Sundell
f0cba0b0d8
stackdriver: rename default component
2018-11-09 13:55:08 +01:00
Erik Sundell
149c649132
stackdriver: more renaming
2018-11-09 13:55:08 +01:00
Erik Sundell
33c9217cc9
stackdriver: refactoring - rename react components and file structure changes
2018-11-09 13:55:08 +01:00
Erik Sundell
4bcf3bf1ff
stackdriver: remove not used code
2018-11-09 13:53:44 +01:00
Erik Sundell
ba4d52e048
stackdriver: add selector components for service and metric type
2018-11-09 13:53:44 +01:00
Erik Sundell
1969ad41e8
stackdriver: refactor stackdriver query ctrl
2018-11-09 13:53:44 +01:00
Erik Sundell
4f7d3fccb7
stackdriver: make sure default template query editor state is propagted to parent angular scope
2018-11-09 13:53:44 +01:00
Erik Sundell
637b91ab8d
stackdriver: conditional template component rendering
2018-11-09 13:53:44 +01:00
Erik Sundell
0792c182cc
stackdriver: add react component for template query editor
2018-11-09 13:53:44 +01:00
Erik Sundell
94ac522109
stackdriver: make it possible to load react plugin components from template query page
2018-11-09 13:53:43 +01:00
Erik Sundell
efd3343d19
stackdriver: add basic directive for loading react plugin components
2018-11-09 13:51:37 +01:00
Michael Huynh
22b8b04dbe
Preserve suffix text when applying function suggestion
...
Updates all PromQL function-like suggestions to omit parentheses
when inserted. Such insertions also preserve any suffix text.
Related: #13885
2018-11-09 20:43:20 +08:00
Peter Holmberg
b536a9f760
can render something
2018-11-08 16:40:53 +01:00
Augustin Husson
2abf8a0e8b
don't drop the value when it equals to None
2018-11-08 16:23:40 +01:00
David
203078280f
Merge pull request #13942 from grafana/davkal/explore-logging-graph
...
Explore: Logging graph overview and view options
2018-11-08 14:38:29 +01:00
David Kaltschmidt
6b8d7c89ac
Refactored log stream merging, added types, tests, comments
2018-11-08 14:24:54 +01:00
bergquist
aa1b80fe45
docs: improve helper test for For
2018-11-08 14:16:58 +01:00
Marcus Efraimsson
f065af320d
fix switching from es raw document metric breaks query editor
2018-11-08 01:00:20 +01:00
Torkel Ödegaard
3b4d8c9b9b
Merge pull request #13984 from grafana/12759-panel-header-standard-menu-only
...
12759 panel header menu in React (standard options only)
2018-11-07 23:42:42 +01:00
Torkel Ödegaard
dcb5015022
Merge pull request #13951 from marefr/11977_6x_terms
...
Fix terms agg order deprecation warning on es 6+
2018-11-07 20:47:41 +01:00
Torkel Ödegaard
d7655e0b54
fixed issue with reducer sharing url query instance with angular router
2018-11-07 11:44:50 -08:00
Torkel Ödegaard
bcd0b2fcf7
Merge branch 'master' into 12759-panel-header-standard-menu-only
2018-11-07 11:22:30 -08:00
Torkel Ödegaard
99610e040f
fixed exporter bug missing adding requires for datasources only used via data source variable, fixes #13891
2018-11-07 11:14:39 -08:00
Torkel Ödegaard
c52e91ee6c
minor text change in export modal
2018-11-07 10:46:09 -08:00
Torkel Ödegaard
e73e18913c
Merge branch 'export_dashboard_guidence' of https://github.com/bergquist/grafana into bergquist-export_dashboard_guidence
2018-11-07 10:34:15 -08:00
Torkel Ödegaard
93b4cb562d
Fixed issues introduced by changing to PureComponent
2018-11-07 16:03:33 +01:00
Torkel Ödegaard
37eb7ca62b
further refactoring of #13984
2018-11-07 13:55:02 +01:00
Torkel Ödegaard
a24f6998f2
refactorings and some clean-up / removal of things not used
2018-11-07 13:36:35 +01:00
Johannes Schill
08251425ca
wip: panel-header: Fix shareModal compatibility with react and angular
2018-11-06 16:55:44 +01:00
Johannes Schill
9c28ff8f84
wip: panel-header: Remove custom menu items from panels completely
2018-11-06 16:44:13 +01:00
Johannes Schill
dd7437e9e9
wip: panel-header: Reverted a lot of code to pause the "custom menu options" for now
2018-11-06 16:37:51 +01:00
Johannes Schill
49550ccedf
wip: panel-header: More merge conflicts during cherry pick
2018-11-06 16:12:04 +01:00
Johannes Schill
dbf7f3fb61
wip: panel-header: More merge conflicts during cherry pick
2018-11-06 16:05:34 +01:00
Johannes Schill
6c0c1254fe
wip: panel-header: More merge conflicts
2018-11-06 15:44:04 +01:00
David Kaltschmidt
dfc0c5052d
Fix loglevel tests for Explore loggging
2018-11-06 15:40:29 +01:00
Johannes Schill
ca4612af26
wip: panel-header: Merge conflicts
2018-11-06 15:35:15 +01:00
Johannes Schill
f471482569
wip: panel-header: Fragment not needed anymore
2018-11-06 15:27:15 +01:00
Johannes Schill
443d381dd9
wip: panel-header: Add possibility to add custom actions to the menu by passing them in as props
2018-11-06 15:26:56 +01:00
Johannes Schill
f124b9de6a
wip: panel-header: Separate all panel actions to its own file so we decouple them from react
2018-11-06 15:26:43 +01:00
Johannes Schill
6151310216
wip: panel-header: Start implementing the Toggle legend, but its not taken all the way
2018-11-06 15:26:34 +01:00
Johannes Schill
79da3dc9f6
wip: panel-header: Change DashboardPanel to a PureComponent to avoid unwanted rerenders
2018-11-06 15:25:59 +01:00
Johannes Schill
5375ce5ffd
wip: panel-header: Refactor so "Share" use the same code in angular+react
2018-11-06 15:25:46 +01:00
Johannes Schill
f9dd516578
wip: panel-header: Add "Edit JSON" functionality + make sure everyone using the json editor pass in the model property instead of the scope property when triggering the json modal
2018-11-06 15:25:36 +01:00
Johannes Schill
edceb204e7
wip: panel-header: Add "Copy" functionality
2018-11-06 15:25:13 +01:00
Johannes Schill
b296d724e5
wip: panel-header: Add "Duplicate"
2018-11-06 15:25:07 +01:00
Johannes Schill
839057dc7a
wip: Add "Share" to the react panels
2018-11-06 15:25:02 +01:00
Johannes Schill
bf8703edb8
wip: panel-header: Move code existing in both angular+react to utility functions
2018-11-06 15:24:25 +01:00
Johannes Schill
820e47b4c0
wip: panel-header: Remove panel
2018-11-06 15:24:06 +01:00
Johannes Schill
212c086162
Mobx is now Redux
2018-11-06 15:24:00 +01:00
Johannes Schill
9f6683de2c
wip: Initial commit for PanelHeaderMenu
2018-11-06 15:23:52 +01:00
Torkel Ödegaard
b592d5d731
Merge pull request #13977 from grafana/13932_ds_selector
...
fix selecting datasource using enter key
2018-11-06 13:27:59 +01:00
David Kaltschmidt
f5575459eb
unify log level colors between rows and graph
2018-11-06 12:05:10 +01:00
David Kaltschmidt
a5ed86edba
Graph log entries by log level
2018-11-06 12:00:05 +01:00
Marcus Efraimsson
e5e886ccb7
fix selecting datasource using enter key
2018-11-06 11:49:22 +01:00
David Kaltschmidt
e39e82949d
Adaptive bar widths for log graph
2018-11-06 11:07:12 +01:00
bergquist
7bde98aff9
rename and mark functions as private
2018-11-06 09:00:17 +01:00
Torkel Ödegaard
562411af1a
fixed options
2018-11-06 07:23:02 +01:00
David Kaltschmidt
c1ca1ed35e
Time selection via graph
2018-11-05 23:36:58 +01:00
Torkel Ödegaard
b9612aaa23
minor code style change
2018-11-05 10:38:55 -08:00
Torkel Ödegaard
9393b06166
basic panel options working
2018-11-05 10:31:39 -08:00