Torkel Ödegaard
e164eba677
mysql: began work on backend macro engine
2017-04-19 10:10:08 +02:00
Mitsuhiro Tanda
62d11c147b
(cloudwatch) fix dimension value find query ( #8159 )
2017-04-19 07:12:59 +02:00
Torkel Ödegaard
456b07b766
annotations: removing wip stuff so I can merge to master
2017-04-18 17:28:39 +02:00
Torkel Ödegaard
73718afb79
annotations: mini fix to event manager
2017-04-18 17:09:06 +02:00
Torkel Ödegaard
809467955a
Merge branch 'master' into create-annotations
2017-04-18 17:07:44 +02:00
Torkel Ödegaard
db36639ffc
fix : #8111
2017-04-18 16:58:34 +02:00
Torkel Ödegaard
3ee886d0fb
Merge branch 'query-references'
2017-04-18 16:30:28 +02:00
Torkel Ödegaard
85baa50194
recfactor: added unit test for the new scenario, #8143
2017-04-18 16:30:20 +02:00
Dan Cech
a64e000f1a
process this.target separately to fix issues with tests
2017-04-17 11:10:55 -04:00
Dan Cech
715453204e
make sure graphite queries containing references are properly updated
2017-04-17 10:47:25 -04:00
Alexander Zobnin
5df82be290
create-annotations: fix missing lodash import
2017-04-17 11:37:23 +03:00
Thomas Szymanski
f2dffeb543
Influxdb datasource: fix language in stacking helpful info section ( #8134 )
2017-04-16 11:56:29 +02:00
Torkel Ödegaard
fa2a7db657
ux: create annotations
2017-04-14 23:10:56 +02:00
Torkel Ödegaard
03ef1fd758
refactoring: event / annotation handling in graph panel broken out
2017-04-14 22:56:01 +02:00
Torkel Ödegaard
60ef7d8768
Merge branch 'master' into create-annotations
2017-04-14 22:36:34 +02:00
Torkel Ödegaard
aa47b9bf5c
refactoring: simplified backend_srv and subUrl handling, #8122
2017-04-14 19:01:08 +02:00
Torkel Ödegaard
b77991f69b
refactoring: minor changes to #8122
2017-04-14 16:00:52 +02:00
Dan Cech
f490c5f12c
use X-Grafana-Org-Id header to ensure backend uses correct org ( #8122 )
2017-04-14 15:47:39 +02:00
Ivan Babrou
fb163450a5
Change prometheus semantics from step to min step ( #8073 )
...
Previously `Step` parameter would set a hard value for any zoom level.
Now it's renamed to `Min step` and sets the minimal value of `step` parameter
to Prometheus query. User would usually want to set it to the scraping interval
of the target metric to avoid having shap cliffs on graphs and extra load
on Prometheus. Actual `step` value is calculated as the minimum of automatically
selected step (based on zoom level) and user provided minimal step. If user
did not provide the step, then automatic value is used as is.
Example bahavior for `60s` scrape intervals:
* `5s` automatic interval, no user specified min step:
* Before: `step=5`
* After: `step=5`
* `5s` automatic interval, `1m` user specified min step:
* Before: `step=5`
* After: `step=60`
* `5m` automatic interval, `1m` user specified min step:
* Before: `step=60` (not really visible, too dense)
* After: `step=300` (automatic value is picked)
See:
* https://github.com/grafana/grafana/issues/8065
* https://github.com/prometheus/prometheus/issues/2564
2017-04-14 14:51:22 +02:00
Torkel Ödegaard
a151de1d37
progess on adding annotations
2017-04-14 14:43:06 +02:00
Torkel Ödegaard
ea92ddccb3
create annotations progress
2017-04-14 12:46:02 +02:00
Torkel Ödegaard
ff426ae9a3
more work on annotations
2017-04-14 12:23:32 +02:00
Torkel Ödegaard
dbe5480edc
create annotations work
2017-04-14 11:41:02 +02:00
Torkel Ödegaard
2fce88ee62
ux: popover forms
2017-04-14 10:18:49 +02:00
Torkel Ödegaard
c68fffcd6d
ux: popover forms
2017-04-13 20:28:13 +02:00
Torkel Ödegaard
2f61fc6afe
ux: made progress on popover forms
2017-04-13 18:39:49 +02:00
Torkel Ödegaard
dbeeb32ab6
Merge branch 'master' into popover-forms
2017-04-13 16:22:08 +02:00
Torkel Ödegaard
dd3e594dd7
fix: scroll issue and positioning of info-popover
2017-04-12 21:20:47 +02:00
Alexander Zobnin
2142323da9
graph(create annotation): refactor, AddAnnotationModalCtrl
2017-04-12 21:07:39 +03:00
Alexander Zobnin
17d3970673
graph(create annotation): push one annotation with time from and time to
2017-04-12 21:04:18 +03:00
Alexander Zobnin
ef99ff0ad7
graph(create annotation): use single description for range
2017-04-12 20:37:33 +03:00
Alexander Zobnin
8a1c35e1c2
graph(create annotation): refactor, fix two modal after range selection
...
bind create annotation handler directly to plotclick event, not to global graph-click
2017-04-12 20:27:32 +03:00
Torkel Ödegaard
de21be30d2
ux: working on how to show form in popover
2017-04-12 17:28:32 +02:00
Alexander Zobnin
eeb998d712
Merge remote-tracking branch 'upstream/create-annotations' into create-annotations
2017-04-12 17:36:40 +03:00
Torkel Ödegaard
b867921b3b
annotation: cleanup
2017-04-12 15:49:59 +02:00
Torkel Ödegaard
0156a94a49
annotations: you can now read annoations via manually created annoation query
2017-04-12 15:46:41 +02:00
Alexander Zobnin
aff6aa081c
Merge remote-tracking branch 'upstream/create-annotations' into create-annotations
2017-04-12 16:20:36 +03:00
Alexander Zobnin
d2f3d7d138
graph(add annotation): get alerts for all panels
2017-04-12 16:06:48 +03:00
Torkel Ödegaard
78f4bd2de9
Merge branch 'create-annotations' of github.com:grafana/grafana into create-annotations
2017-04-12 15:01:31 +02:00
Torkel Ödegaard
752b42798a
annotations: added new options hide toggle, and show option
2017-04-12 15:01:17 +02:00
Alexander Zobnin
232513bb4e
graph(add annotation): refactor
...
pass ctrlKey and metaKey through flot events
2017-04-12 15:26:34 +03:00
Torkel Ödegaard
8eb112d119
plugins: refactoring builtIn data source concept, now means data source plugins that you do not need to add via data sources page, that is automatically added as selectable data source, #8095
2017-04-12 08:23:44 +02:00
Chris Burkhart
d12dc2bfa7
Add alwaysDisplayed option to datasource plugins, this will allow it to show up as an option to select when adding queries to a panel without actually adding it as a datasource.
2017-04-11 13:47:53 -07:00
Torkel Ödegaard
07466b6725
security: fixed returning info on weither user exists or not in password reset call, fixes #7619
2017-04-11 16:50:16 +02:00
Torkel Ödegaard
89a7c2c686
influxdb: validate database exist when saving data source, fixes #7864
2017-04-11 15:05:30 +02:00
Torkel Ödegaard
9bdcc4ec5f
influxdb: holt winters edits
2017-04-11 14:40:08 +02:00
Alexander Zobnin
f42202e665
Merge branch 'master' into graph-annotations
2017-04-11 10:27:37 +03:00
Alexander Zobnin
70bca219e3
graph(add annotation): Add keybinding for CTRL key
2017-04-11 10:24:21 +03:00
Alexander Zobnin
d553498a33
graph(add annotation): initial backend implementation #1286
2017-04-10 20:22:58 +03:00
Alexander Zobnin
362860f687
graph(add annotation): able to select region (start and stop time) #1286
2017-04-10 12:45:08 +03:00
Davide Setti
997da1b266
fix a typo in the shortcut help modal ( #8078 )
...
Collapse all ros -> Collapse all rows
2017-04-10 10:10:32 +02:00
Simen Bekkhus
21ae987bcd
If earlier dashboard refresh was supressed, force a new one on page becoming visible ( #8076 )
2017-04-10 09:43:35 +02:00
Alexander Zobnin
32d34aed7a
graph: initial Add Annotation flow #1286
2017-04-08 19:44:40 +03:00
Torkel Ödegaard
efca9e904d
Merge branch 'mixed_typeahead' of https://github.com/mtanda/grafana into mtanda-mixed_typeahead
2017-04-07 12:17:19 +02:00
Torkel Ödegaard
1cd632cc43
plugins: added state property to plugins
2017-04-07 12:00:03 +02:00
Torkel Ödegaard
26804d630f
Merge branch 'master' into sql-proxy
2017-04-07 10:34:51 +02:00
Torkel Ödegaard
3b47efe70e
graph: minor change to histogram buckets input field
2017-04-07 10:16:57 +02:00
Torkel Ödegaard
7ec6e84fe8
adhocfilters: minor escape change
2017-04-07 10:08:16 +02:00
Alexander Zobnin
7e14797b10
graph: initial histogram support #600 ( #8053 )
...
* graph: initial histogram support #600
* graph histogram mode: add Bars number option
* graph histogram mode: fix X axis ticks calculation
* graph histogram mode: change bar style (align and width)
* refactor(graph): move histogram functions into separate module
* graph histogram mode: rename series to "count"
* graph histogram mode: fix errors if no data
* refactor(graph and heatmap): move shared code into app/core
* graph: add tests for histogram mode
2017-04-07 10:07:30 +02:00
tamayika
e6cc5df9d9
Fix restoration of ad-hoc variable value issue ( #8057 )
...
* Fix restoration of ad-hoc variable value issue
* Escape delimiters in ad-hoc variable URL
* Remove unnecessary newline
2017-04-07 09:31:36 +02:00
Alexander Zobnin
308d46e4ef
Fix 8013 ( #8027 )
...
* Add @ngInject to HeatmapCtrl constructor, issue #8013
* Remove unused loadPluginCss
2017-04-04 11:02:25 +02:00
Torkel Ödegaard
48c4e549f5
Revert "support panel repeat for datasource template variable ( #7711 )"
...
This reverts commit 554f972a25
.
2017-04-04 09:28:33 +02:00
Torkel Ödegaard
dd800fd14d
fix: table panel could not show annotations due to bug introduced in 4.2, fixes #8023
2017-04-03 22:07:09 +02:00
Torkel Ödegaard
4a2efb1007
alerting: removed width restriction on message, fixes #8000
2017-03-31 23:07:57 +02:00
Alexander Zobnin
ecd404335e
heatmap: fix error with null values in ES converter ( #7999 )
2017-03-31 17:13:26 +02:00
Torkel Ödegaard
f77f8ebfc6
heatmap: changes to color spectrum, inverted some on dark theme
2017-03-31 17:12:50 +02:00
Torkel Ödegaard
3ed1600b90
Merge branch 'master' of github.com:grafana/grafana
2017-03-31 16:09:16 +02:00
Torkel Ödegaard
39e45004cd
heatmap: inverted the color schemes
2017-03-31 16:09:00 +02:00
Torkel Ödegaard
4445c9ce60
Merge branch 'heatmap-panel' of https://github.com/alexanderzobnin/grafana into alexanderzobnin-heatmap-panel
2017-03-31 14:26:52 +02:00
Torkel Ödegaard
5af81b974e
mysql: graph showing
2017-03-31 13:57:10 +02:00
Alexander Zobnin
b18ed0b98f
heatmap: calculate bucket size automatically for ES histogram
2017-03-31 12:51:43 +03:00
Torkel Ödegaard
d6d2080f11
mysql: minor progress on response processing
2017-03-31 11:45:25 +02:00
Alexander Zobnin
cb136c07b8
heatmap: add function for bucket size calculation
2017-03-31 11:44:44 +03:00
Mitsuhiro Tanda
554f972a25
support panel repeat for datasource template variable ( #7711 )
...
* support panel repeat for datasource template variable
* support All option
2017-03-31 07:31:15 +02:00
Alexander Zobnin
9ddfeaa9c2
heatmap: initial ES histogram support
2017-03-30 21:36:36 +03:00
Alexander Zobnin
3170f0d84a
heatmap: add ES histogram converter
2017-03-30 20:55:10 +03:00
Alexander Zobnin
114431beed
heatmap: add tests for heatmap_data_converter
2017-03-30 18:21:22 +03:00
Torkel Ödegaard
080d2a2054
mysql: reading arbitrary SQL data in go is really strange, data is only in strings?
2017-03-30 13:46:46 +02:00
Torkel Ödegaard
8f90c6115d
mysql: progress on mysql data source
2017-03-29 22:54:18 +02:00
Torkel Ödegaard
1ecdf34938
sql: wip mysql stuff
2017-03-29 20:43:20 +02:00
Torkel Ödegaard
91c184d3e0
elasticseach: fixed broken unit test
2017-03-29 16:33:44 +02:00
Torkel Ödegaard
3b235612fd
elasticsearch: improve validation and error message when adding/testing elasticsearch ds, #7836
2017-03-29 16:03:28 +02:00
Daniel Lee
5702c57452
panel: remove unneeded options for tooltip
2017-03-29 16:01:27 +02:00
Alexander Zobnin
84b15fc74c
Merge branch 'master' into heatmap-panel
2017-03-29 15:46:04 +03:00
Torkel Ödegaard
085c4c56b8
elasticearch: added support for histogram aggregations, closes #3164
2017-03-29 13:44:50 +02:00
Alexander Zobnin
65a829b64d
heatmap tests: fix timezone-dependent test error
2017-03-29 13:41:19 +03:00
Alexander Zobnin
7c5b9f8c5b
heatmap tooltip: change "values" label to "count"
2017-03-29 12:41:34 +03:00
Seuf
319b8d8fca
Configurable signout menu activation ( #7968 )
2017-03-29 11:33:28 +02:00
Daniel Lee
ac39ed4218
panel: fixes #7970 . Description tooltip overflow.
...
This seems to work for the three use cases:
- Overflow on the left
- Overflow on the right
- Elements that are out of view on page load
2017-03-29 11:16:16 +02:00
Alexander Zobnin
7770c38e30
heatmap: test for Y axis rendering
2017-03-29 11:30:30 +03:00
Alexander Zobnin
72e313a3dd
heatmap: fix type error on buckets object
2017-03-29 11:29:58 +03:00
Alexander Zobnin
ac347fa06a
heatmap: fix error while loading panel in editor mode
2017-03-28 18:09:15 +03:00
Alexander Zobnin
ece6fd73a1
heatmap: add initial rendering tests
2017-03-28 17:46:10 +03:00
Alexander Zobnin
c9801595e5
heatmap: add heatmap_ctrl tests and fix errors
2017-03-27 19:04:29 +03:00
Alexander Zobnin
0a56db7745
Add unit tests for heatmap_ctrl.
2017-03-26 18:22:54 +03:00
Alexander Zobnin
0023657701
Fix bucket size calculation if all values are 0;
2017-03-24 15:26:27 +03:00
Alexander Zobnin
96e91b5a0f
Move css styles to public/sass/components/_panel_heatmap.scss
2017-03-24 15:15:01 +03:00
Alexander Zobnin
68f5e75eba
Move heatmap panel into core grafana.
2017-03-24 14:18:26 +03:00
Daniel Lee
79cef75fed
Merge pull request #7426 from Altoros/altoros/authorization-errors
...
Add common type for oauth authorization errors
2017-03-23 15:25:35 +01:00
Torkel Ödegaard
83d864e7e4
fix: graph and fill below to issue, fixes #7916
2017-03-23 14:23:22 +01:00
Matt
578ba9bbd5
Added scientific notation as a unit for #7763 ( #7781 )
2017-03-22 10:49:31 +01:00
Trent White
5ed7d65b0e
orange grafana.com seemed too much. making it gray
2017-03-21 13:13:35 -04:00
Torkel Ödegaard
b21ad3c376
Merge branch 'master' of github.com:grafana/grafana
2017-03-21 17:10:54 +01:00
Trent White
d4f2f41088
add dashboard and plugin icons to plugin list and dash search
2017-03-21 11:12:58 -04:00
Daniel Lee
69bec98962
chore: update all grafana.org urls to .com
2017-03-21 15:37:55 +01:00
Daniel Lee
b9940e618c
profile: locks login fields if disable_login_form
...
If the auth config variable, disable_login_form, is set to true then
the username and email fields are set to read-only on the profile page.
The reason for this is so that the user does not lock themselves out by
changing their email address or username. Or create a new user by
changing both.
ref #7810
2017-03-21 14:42:32 +01:00
Daniel Lee
94498d533b
template: fix validation for required selects
...
Since upgrading to Angular 1.6.1, selects with a default empty option
no longer show a popup with an error on submit. This fix adds an
empty option that is then removed with ng-if. Having the default
option set to null or undefined seems to be the cause of the bug.
The list of changes in 1.6 is here but could not find any obvious
cause for this bug:
https://docs.angularjs.org/guide/migration#migrating-from-1-5-to-1-6
2017-03-20 22:51:55 +01:00
Daniel Lee
65910db991
template: tweak to warning message
2017-03-20 17:14:24 +01:00
Daniel Lee
e527aebbf1
Merge pull request #7758 from thuck/template_self_reference_7614
...
Validate query to avoid self-reference of variable #7614
2017-03-20 15:33:48 +01:00
Torkel Ödegaard
970619ed52
Merge branch 'disable-login'
2017-03-20 11:18:41 +01:00
Torkel Ödegaard
6f324cd794
refactor: minor refactorings of #7876
2017-03-20 11:18:29 +01:00
Torkel Ödegaard
4d4e165be7
links: updated links from grafana.net to grafana.com
2017-03-20 10:20:32 +01:00
Denis Doria
87027b0f77
Do not collapse if there is only 1-3 queries #7836 ( #7878 )
...
Also has the side effect of new panels having not collapsed queries when
being created
2017-03-18 15:23:40 +01:00
Dan Cech
737c29ec8c
disable inviting new users to orgs if login form is disabled
2017-03-17 16:35:05 -04:00
Andrii Skomorokhov
5cb51631db
Fixed position of tooltip with description at graph. ( #7854 )
2017-03-17 11:48:28 +01:00
Torkel Ödegaard
7856e2f16b
fix: metrics_panel and time range issue introduced earlier today, fixes #7849
2017-03-16 12:20:23 +01:00
Torkel Ödegaard
32f89f65da
fix: Data source group by time interval did not take effect on initial query after dashboard load, fixes #7839
2017-03-16 09:54:33 +01:00
Daniel Lee
84ef6b9d48
Merge branch 'bigbenhur-autologscale'
...
Closes #5278 and closes #3090
2017-03-13 11:17:45 +01:00
Denis Doria
891df21969
Small fix for the Y-Max/Y-Min inputs on Axes ( #7811 )
2017-03-13 09:32:36 +01:00
Daniel Lee
77921c4dcd
renderpng: fixes invalid image link ( #7797 )
...
Closes #7770
2017-03-13 09:31:59 +01:00
Jan Rückert
8637207b55
Change 60-day date range back to 90 days ( #7803 )
2017-03-11 16:17:35 +01:00
Daniel Lee
6799b766a4
Merge pull request #7775 from hagen1778/prometheus-textarea-query
...
Make Prometheus query field a textarea #7663
2017-03-11 14:00:37 +01:00
Daniel Lee
e19b48840f
graph: merge fixes for #5278
...
This is an old PR so had some problems after merging in master.
- Fix for min and max that were not getting passed into the
applyLogScale function
- Fix for when min/max were undefined rather than null
- Fix for decimal ticks, as this PR populates the ticks itself then
it also needs to calculate the number of decimal places too. Flot
was showing the wrong number of decimal places sometimes otherwise
on the y-axis.
2017-03-10 18:46:36 +01:00
Daniel Lee
28cf229707
Merge branch 'autologscale' of git://github.com/bigbenhur/grafana into bigbenhur-autologscale
2017-03-10 11:57:00 +01:00
thuck
58afb1c7d6
Small fix for the "glow" when focus the field for LIMIT and SLIMIT
2017-03-09 21:22:40 +01:00
Daniel Lee
74c795b294
panel: use meta.soloMode instead of url check
...
when checking if rendering a png for lazy loading of panels.
2017-03-09 16:55:16 +01:00
Daniel Lee
a30cf204d7
influx: small ux changes to query editor
2017-03-09 14:18:36 +01:00
Torkel Ödegaard
952cc1d883
alerting: fixed width of query component in alert tab
2017-03-09 12:56:49 +01:00
Daniel Lee
2f5814d51c
Merge pull request #7735 from thuck/influxdb_limit
...
Included LIMIT, SLIMIT and ORDER BY time for influxdb. closes #6065 and closes #7232
2017-03-09 09:23:04 +01:00
Torkel Ödegaard
7f8a3a0a2d
dashboard: lazy loading panels as they become visible,fix, removed debunce #5216
2017-03-09 09:08:34 +01:00
Torkel Ödegaard
aee8f0b75e
opentsdb: fix for OpenTSDB and multi value template variable in metric field, fixes #7754
2017-03-09 08:28:31 +01:00
Torkel Ödegaard
b272f5144a
fix: graphite query ctrl, removed unnesserary check for empty paths, fixes #7740
2017-03-09 07:31:00 +01:00
Torkel Ödegaard
073dec8ba8
Merge branch 'master' of github.com:grafana/grafana
2017-03-09 07:06:04 +01:00
Torkel Ödegaard
bb2eb00b0e
minor data source edit form improvement
2017-03-09 07:05:49 +01:00
Mitsuhiro Tanda
be123a07c5
(prometheus) adjust annotation step ( #7768 )
...
* (prometheus) adjust annotation step
* (prometheus) add step option
2017-03-09 06:53:50 +01:00
hagen1778
04d90d7139
Make Prometheus query field a textarea #7663
2017-03-08 21:30:20 +02:00
thuck
b8a82827b9
Fix ORDER BY to look like GROUP BY
2017-03-08 20:22:01 +01:00
Daniel Lee
588955c752
Merge branch 'jifwin-load_on_Scroll'
2017-03-08 19:06:59 +01:00
Daniel Lee
bd348a47c7
panel: update to #7452 panel loading on scroll
...
Moves the logic up a level to the panel_ctrl. This cleans up the code
and makes the lazy loading available for all panels.
Removes the config option and making this default behavior. We can
add back the config option if we get feedback that it is needed during
the beta phase of the v4.3.0 release.
Unbind the scroll handler on panel destroy to avoid memory leaks.
Fix for png rendering, it did not match all forms of dashboard-solo.
e.g. /render/dashboard-solo/db...
Fix for when taking a snapshot. All the panels get refreshed then
even the panels that are not visible.
Closes #5216 .
2017-03-08 19:02:45 +01:00
thuck
1cf569ac8e
Fix tabs vs space
2017-03-08 08:25:32 +01:00
thuck
555acacd6d
Validate query to avoid self-reference of variable #7614
2017-03-07 23:29:16 +01:00
Daniel Lee
9efb6e76e9
users: adds search and pagination ( #7753 )
...
ref #7469 . Follow up change that adds proper paging with 50 results
per page as well as a search box to search by name, login or email.
2017-03-07 16:03:54 +01:00
Daniel Lee
08b2edf98c
Merge branch 'load_on_Scroll' of git://github.com/jifwin/grafana into jifwin-load_on_Scroll
2017-03-07 15:58:14 +01:00
Daniel Lee
4ee262fe65
Merge pull request #7720 from mitjaziv/cubic_decimetre
...
added cubic decimetre - dm3 #7695
2017-03-07 10:41:27 +01:00
Ross Lodge
70c2586c80
Use other variable dependencies in regex filter for datasource variable ( #7547 )
2017-03-07 08:39:19 +01:00
Joseph Pintozzi
a37a2259b3
Allowing "Unique Count"s of any data type ( #7704 )
2017-03-07 08:36:33 +01:00
Mitsuhiro Tanda
a24ac012c4
support full resolution for $interval variable ( #7696 )
2017-03-07 08:35:29 +01:00
Patric Kanngießer
3735a1ace7
remember scroll position ( https://github.com/grafana/grafana/issues/7680 ) ( #7728 )
2017-03-07 08:19:34 +01:00
Denis Doria
31866b5e57
Allow commas on template variable #7681 ( #7732 )
...
This improvement allows to wrap an "expression" when using single or
double quotes. So now you can have time interval with offset for
influxdb.
2017-03-06 08:37:49 +01:00
Denis Doria
0264fcc66c
Remove unsaved dialog when removing a dashboard #7591 ( #7733 )
2017-03-06 07:49:28 +01:00