Torkel Ödegaard
491fa6cad8
tech: more tslint rules
2017-09-21 17:23:31 +02:00
Torkel Ödegaard
b8d9722b4f
tech: removing unused variables from typescript files, and making tslint rules more strict
2017-09-21 16:40:18 +02:00
Torkel Ödegaard
adda84d124
tech: removed test component
2017-09-21 14:05:24 +02:00
Torkel Ödegaard
837beda155
Merge branch 'react-poc'
2017-09-21 13:59:26 +02:00
Torkel Ödegaard
9500eb8aaa
ux: minor singlestat update
2017-09-21 13:59:21 +02:00
Torkel Ödegaard
1887c4f279
singlestat: minor change
2017-09-21 13:59:21 +02:00
Patrick O'Carroll
de17dcf3b0
Singlestat time ( #9298 )
...
* Added a timestamp option to single stat
* can now choose last time as value
* Finished last_time so it formats correctly, updated value stat
* fixed som issues, but still issue with testing
* Clean up after fake clock in test
* timezone-issue fix, fake time for from now test
* fix for timedifference
2017-09-21 13:34:51 +02:00
Torkel Ödegaard
fed35909cc
tech: progress on react poc
2017-09-21 13:32:57 +02:00
xiahuibing
416510773b
Update _navbar.scss
...
line66 and line118 : "min-height:: $navbarHeight;" has double “:”
2017-09-21 16:40:49 +08:00
Gordon McGuire
5e013f82b4
fix: close for 'Unsaved Changes' modal, #9284 ( #9313 )
...
Missing reference to the controller instance.
2017-09-21 09:05:59 +02:00
Alexander Zobnin
f8b8907cc4
Initial graphite tags support ( #9239 )
...
* graphite: initial seriesByTag() support
* graphite: groupByTags() function
* graphite: aliasByTags() function
* graphite: fix optional params update, issue #9238
* graphite: fix tag-related functions version
* graphite: add 1.1.x version to config
* graphite: fix seriesByTag() series parsing
2017-09-21 08:22:56 +02:00
Torkel Ödegaard
84b1519480
tech: initial react poc
2017-09-20 17:44:23 +02:00
Alexander Zobnin
fdec9a4daf
templating: fix dependent variable updating ( #9306 )
2017-09-19 20:35:48 +02:00
tamayika
bef4b9b3b0
Fix adhoc filters restoration ( #9303 )
2017-09-19 14:25:35 +02:00
Patrick O'Carroll
d6725d4fbe
updated error page html+css, added ds_store to ignore ( #9285 )
2017-09-18 14:04:55 +02:00
deep-42-thought
5749489e7e
public/app/plugins/panel/graph/specs/graph_specs.ts: relax tests to be "within" instead of "equal", so they won't fail on i686 ( #9286 )
2017-09-18 14:03:54 +02:00
Sven Nierlein
d0ddf76730
Fix path to icon ( #9276 )
...
grafana_mask_icon.svg is located in the img/ folder.
2017-09-18 12:54:20 +02:00
Andrew Prokhorenkov
00b18a8aea
addded mass units, #9265 ( #9273 )
2017-09-18 11:13:56 +02:00
Ryan Patterson
a20c419583
Fully fill out nulls in cloudfront data source ( #9268 )
...
Summary:
Previously, cloudwatch data sources would only fill in a single null value if
there was missing data. This results in behavior described in #9267 . This
resolves that issue by filling the entire missing period with null values. The
null values can then be interpreted as normal by the graphing frontend.
Test Plan:
Used on a data source that had missing data for many consecutive periods.
Ensured that the graph remained at 0 across the entire window.
2017-09-18 11:12:52 +02:00
Torkel Ödegaard
7a80a6627a
Merge branch 'reduce-package-size'
2017-09-18 09:09:38 +02:00
Andrew Prokhorenkov
8cdf12b694
add locale format
2017-09-15 17:26:18 +02:00
Alexander Zobnin
54f0650321
Remove alert thresholds on panel duplicate, issue #9178 ( #9257 )
2017-09-15 13:34:31 +02:00
Torkel Ödegaard
bbe191a975
graphite: do not show error for cancelled requests, fixes #9249
2017-09-15 09:59:23 +02:00
Torkel Ödegaard
f8326c29f9
mysql: fix query editor not showing issue, fixes #9247
2017-09-14 20:30:01 +02:00
Andrew Prokhorenkov
5b74bea476
add Ukrainian hryvnia sign
2017-09-14 19:06:25 +02:00
Torkel Ödegaard
210df23430
packaging: reducing package size be only including public vendor stuff we need
2017-09-14 17:33:58 +02:00
Daniel Lee
29de6387cb
plugins: add styles for ol tags in markdown
2017-09-13 17:13:53 +02:00
Torkel Ödegaard
85bd1861d6
fix: improve behavior when switching back and forth between x-axis modes, fixes #9229
2017-09-13 14:38:22 +02:00
Torkel Ödegaard
1a53d6453b
Merge branch 'v4.4.x'
2017-09-13 10:02:04 +02:00
Torkel Ödegaard
10f058036c
Merge branch 'master' of github.com:grafana/grafana
2017-09-13 09:48:56 +02:00
Torkel Ödegaard
73248d6687
fixes for metrics tab when data source was not found
2017-09-13 09:48:50 +02:00
Mitsuhiro Tanda
5bdd554671
check args for query
2017-09-13 16:34:28 +09:00
Mitsuhiro Tanda
6bf8144793
add test for completer
2017-09-13 16:34:28 +09:00
Mitsuhiro Tanda
1a5e786467
fix
2017-09-13 16:34:28 +09:00
Mitsuhiro Tanda
56c0d91ee5
follow token name change
2017-09-13 16:34:28 +09:00
Mitsuhiro Tanda
d530ccff1c
(prometheus) support label value completion
2017-09-13 16:34:28 +09:00
Mitsuhiro Tanda
40b74e6664
(prometheus) support label name completion
2017-09-13 16:34:28 +09:00
Mitsuhiro Tanda
b349b3ef55
provide ace editor for external datasource plugin ( #9224 )
2017-09-13 09:29:53 +02:00
Alin Sinpalean
2a62374a61
Prometheus: Rework the interaction between auto interval (computed based on graph resolution), min interval (where specified, per query) and intervalFactor (AKA resolution, where specified, per query).
...
As a bonus, have and reflect the actual interval (not the auto interval), taking into account min interval and Prometheus' 11k data points limit.
2017-09-12 16:36:27 +02:00
Torkel Ödegaard
968ba30fa5
ux: increased code editor auto complete width from 320px to 550px, fixes #9203
2017-09-12 11:36:30 +02:00
Torkel Ödegaard
3c16230158
prometheus: added completer unit test, #9208
2017-09-12 11:05:32 +02:00
Daniel Lee
ff4cd1aef6
influxdb: small css fix for order by in query editor
2017-09-12 09:24:54 +02:00
Torkel Ödegaard
0e18c82d95
style: corrected indentation in sass file
2017-09-12 09:21:17 +02:00
Torkel Ödegaard
f6100dd8eb
ux: success/error alerts refactoring, #9214
2017-09-12 09:05:32 +02:00
Patrick O'Carroll
90602942f5
New alert design ( #9214 )
...
* ux: updated alert design
* fixed bg-color for alerts
* more changes to alerts, index fixed
2017-09-12 08:01:44 +02:00
Torkel Ödegaard
e5f84484eb
prometheus: another prometheus syntax highlight fix, #9212 , #9167
2017-09-11 16:36:53 +02:00
Alexander Zobnin
b1580bf385
ace: fix braces highlight in prometheus ( #9212 )
2017-09-11 15:49:15 +02:00
Torkel Ödegaard
293daf2ca1
fix: removed text option from text panel edit options, was by mistake not removed from settings dropdown, fixes #9204
2017-09-11 10:45:00 +02:00
Mitsuhiro Tanda
f5a17e535b
minor fix
2017-09-11 13:11:45 +09:00
Torkel Ödegaard
75c4c4d8b5
fix: query ctrl unit tests now pass as before
2017-09-08 13:52:28 +02:00
Torkel Ödegaard
2953d64429
prometheus: minor update to focus editor PR, #9201
2017-09-08 11:43:29 +02:00
Torkel Ödegaard
4b851de648
Merge branch 'prom_give_focus' of https://github.com/mtanda/grafana into mtanda-prom_give_focus
2017-09-08 10:55:50 +02:00
Alin Sinpalean
1076b75a21
Fix rounding of intervals ( #9197 )
...
* Prometheus: Fix actual step computation logic when a min_step is specified and the range is longer than min_step * 11000.
* Fix kbn.round_interval for exact intervals.
* Remove redundant 1d return, fix a couple of comments.
* Be more cautious with values close to 1d not rounding up to 1d. They may, because of the way the calculation uses 2 potentially different current time values.
2017-09-08 10:37:57 +02:00
Mitsuhiro Tanda
7c566a6539
fix to focus first query
2017-09-08 12:33:36 +09:00
Mitsuhiro Tanda
d971eddc7a
copy from give-focus
2017-09-08 11:49:44 +09:00
Mitsuhiro Tanda
ce0de35a6c
set give focus in code editor
2017-09-08 11:49:41 +09:00
Mitsuhiro Tanda
6f8110956d
(prometheus) support instant query for table format, use checkbox to switch query type
2017-09-08 01:15:07 +09:00
Carl Bergquist
62979916ad
Merge pull request #8876 from mtanda/shortcut_new_dashboard
...
add new dashboard shortcut
2017-09-07 14:26:05 +02:00
Torkel Ödegaard
c9a30ef149
build: fixed broken build
2017-09-07 13:05:26 +02:00
Mitsuhiro Tanda
56cb16ff5b
(prometheus) instant query support
2017-09-07 18:03:53 +09:00
Mitsuhiro Tanda
e98254e1e3
show only label name in label matcher ( #9167 )
2017-09-07 10:10:52 +02:00
Mitsuhiro Tanda
4446e95155
(prometheus) cache metric suggest query result ( #9182 )
...
* (prometheus) cache metric suggest query result
* add test
2017-09-07 10:09:59 +02:00
Alin Sinpalean
5d4b8b5a5c
Have 'Hide series with only zeros' ignore nulls ( #9179 )
...
* Prometheus: Fix actual step computation logic when a min_step is specified and the range is longer than min_step * 11000.
* Have the 'Hide series with only zeros' option also apply to series with some null values.
2017-09-06 16:50:55 +02:00
Torkel Ödegaard
82d365bdb8
fix: graph right y label is now correctly possitioned, fixes #9172
2017-09-05 21:57:32 +02:00
Sergey Korobov
ec64dc8fae
Fix sortByName and percentileOfSeries in gfunc.js ( #9169 )
...
Fixing type of parameters from "select" to "boolean" for working with carbonapi (like it was done in summarize function) + some commas prettify.
2017-09-05 19:34:55 +02:00
Torkel Ödegaard
0005f8e7b3
fix: fixed jshint issue
2017-09-05 10:17:24 +02:00
Torkel Ödegaard
4e387ed47a
fix: Elasticsearch and adhoc filters fix, fixes #9165
2017-09-05 10:16:17 +02:00
Torkel Ödegaard
2fc67da69a
Merge branch 'metrics-tab-v3'
2017-09-04 13:27:44 +02:00
Torkel Ödegaard
6e4090abf2
feat: finished work on the interval changes #9161
2017-09-04 13:27:28 +02:00
bergquist
ce6050f5d6
fix(graphite): jsonData is not always present.
2017-09-04 10:28:48 +02:00
Torkel Ödegaard
07e192ff47
change: more work on changing default group by time interval to min interval setting
2017-09-01 15:57:02 +02:00
Torkel Ödegaard
e8e1f1bc6d
updated graphite help
2017-09-01 11:15:39 +02:00
Jesse White
91fb3f2224
fix: cancel the initial timer when changing the auto-refresh interval, fixes #9139 ( #9140 )
2017-09-01 07:19:51 +02:00
Torkel Ödegaard
eb0f5cc900
ux: progress on metrics tab changes
2017-08-31 16:38:49 +02:00
Torkel Ödegaard
84d4958a3c
plugin change: make interval, cache timeout & max data points options in plugin.json, remove query.options component feature, add help markdown feature and toggle for data sources
2017-08-31 14:05:52 +02:00
Torkel Ödegaard
52177a45d9
influxdb: use paranthesis for influxdb queries in frontend query builder, #9131
2017-08-31 09:52:32 +02:00
Torkel Ödegaard
9b60a63778
ux: metrics tab v3
2017-08-30 16:39:00 +02:00
Daniel Lee
abeaef71cc
DashExport: fix View JSON in export menu
...
ref #9002
2017-08-30 09:56:49 +02:00
Torkel Ödegaard
dda1cf1a88
Merge branch 'ace-editor'
2017-08-29 15:52:03 +02:00
Torkel Ödegaard
bdb1cfb008
ace: minor fixes for ace editor
2017-08-29 15:51:54 +02:00
Alin Sinpalean
bdd239e933
Prometheus: Fix actual step computation logic when a min_step is specified and the range is longer than min_step * 11000. ( #9109 )
2017-08-29 09:57:45 +02:00
Torkel Ödegaard
aef4eca254
fix: removed code intented to test/replicate an issue
2017-08-29 08:57:34 +02:00
Torkel Ödegaard
546f903141
ds: minor fix that resets data source model when switching data source type
2017-08-28 15:29:31 +02:00
Torkel Ödegaard
62f5770908
fix: changed modal to fixed positioned, this change makes modal maintain scroll position, fixes #8800
2017-08-28 11:34:44 +02:00
Torkel Ödegaard
bf110d02d1
fix: form dropdown, escape autocomplete dropdown items, fixes #9089
2017-08-28 11:00:42 +02:00
Torkel Ödegaard
e91cf28f8d
elasticsearch: changed ad hoc filters from using term filters to using phrase match queries, closing #9095
2017-08-28 10:52:10 +02:00
Torkel Ödegaard
3b9fbd60d8
ux: fix for showing pending invitations tab, fixes #9094
2017-08-28 09:52:53 +02:00
Dmitry Bedrin
ad14ccf4bd
non_negative_difference() function in InfluxDB 1.3 ( #9104 )
...
Add support of non_negative_difference() function from InfluxDB 1.3
https://docs.influxdata.com/influxdb/v1.3/administration/differences/#functions
2017-08-28 08:53:41 +02:00
Alexander Zobnin
9375441991
ace: add default light theme
2017-08-26 13:46:39 +03:00
Alexander Zobnin
ef3c543620
ace: fix directive docs
2017-08-26 12:52:32 +03:00
Alexander Zobnin
54f932e960
ace: fix error when getCompleter() wasn't passed
2017-08-26 12:48:37 +03:00
Alexander Zobnin
451ecce4ab
ace: styles tweak
2017-08-26 12:36:08 +03:00
Alexander Zobnin
ef162c3dc7
ace: minor css refactor
2017-08-26 12:14:45 +03:00
Alexander Zobnin
a0cb744746
ace: reduce docs lines width
2017-08-24 13:58:26 +03:00
Alexander Zobnin
dc7616e560
ace: prometheus functions docs
2017-08-24 13:56:22 +03:00
Alexander Zobnin
f7ec8e0de0
Merge branch 'master' into ace-editor
2017-08-24 12:37:18 +03:00
Daniel Lee
bf4ffe41b0
Merge branch 'v4.4.x'
2017-08-23 15:19:51 +02:00
Daniel Lee
e763104a6f
csv: add toggle for export to Excel
...
Adds back feature that adds 'sep=;' text that excel needs in a csv file.
Also adds toggle to make this optional if exporting to other spreadsheet
programs. Fixes #9083 .
2017-08-23 15:17:53 +02:00
Torkel Ödegaard
4f9fbcc211
dataproxy: added caching of datasources when doing data proxy requests, #9078
2017-08-23 13:31:26 +02:00
Daniel Lee
bbf9d7677b
Merge branch 'v4.4.x'
2017-08-21 21:05:43 +02:00
Daniel Lee
a31d0df897
shortcuts: fixes expand/collapse all rows
...
Fixes #9069
2017-08-21 21:04:20 +02:00
Daniel Lee
7b5019482e
mysqlds: add placeholder/typeahead for localhost connection strings
...
for the host field on the data source config page. Fixes #9046
2017-08-21 13:44:33 +02:00
Daniel Lee
649122b4fb
mysqlds: add placeholder/typeahead for localhost connection strings
...
for the host field on the data source config page. Fixes #9046
2017-08-21 13:43:09 +02:00
Matt Toback
020aae1427
Updated Grafana.net to .com
2017-08-14 11:05:28 +02:00
Torkel Ödegaard
17cb3f6e6a
fix: graph fix for decimals, bug introduced by #61313478063b0e0721f204847f3c0298ea8f593f
2017-08-11 16:20:36 +02:00
Torkel Ödegaard
d4dd0222fa
fix: prometheus does not have two editor modes, fixes #9025
2017-08-11 12:33:56 +02:00
Daniel Lee
02248273ae
mysqlds: remove alpha state from plugin.json
2017-08-11 10:25:37 +02:00
Alexander Zobnin
776e6e2c3f
ace: redefine completions for prometheus and add initial docs for functions
2017-08-10 19:58:59 +03:00
Alexander Zobnin
679ddc9696
ace: example snippet for prometheus
2017-08-10 16:49:09 +03:00
Daniel Lee
b716a2595a
mysqlds: add support for key/value template variables
...
If the template variable query has two columns named __text and __value
then return a list of key values. The value is used when the variable is
interpolated in the query. Allows mapping of texts to ids.
2017-08-10 14:42:27 +02:00
Alexander Zobnin
d8d59fd8d4
ace: add custom behaviour for prometheus
2017-08-10 15:28:40 +03:00
Torkel Ödegaard
c7959ff06e
fix: Using table cell links and ad hoc filters together now works & looks correct, fixes #8052
2017-08-10 14:12:31 +02:00
Torkel Ödegaard
d2437d3cf1
fix: ad-hoc filters now works with data source variables, fixes #8052
2017-08-10 12:04:46 +02:00
Alexander Zobnin
b260a642e7
ace: fix broken karma tests (error loading ace.js )
2017-08-10 12:33:53 +03:00
Alexander Zobnin
e75b39376a
ace: minor refactor
2017-08-10 11:53:55 +03:00
Alexander Zobnin
6b5400bdb6
ace: fix loading text snippets error
2017-08-10 11:23:32 +03:00
Torkel Ödegaard
149e694ce6
ace: prometheus completion improvements
2017-08-10 10:08:09 +02:00
Torkel Ödegaard
0b2cc404ff
ace: working on editor completion stuff
2017-08-10 09:33:17 +02:00
Torkel Ödegaard
b9540e4c49
ace: minor ace theme tweaks
2017-08-09 21:12:15 +02:00
Daniel Lee
1105bb371f
mysqlds: adds support for template variables
...
Fixes #8855
2017-08-09 19:32:53 +02:00
Daniel Lee
59513ff963
tempvar: bug fix for duplicate template var
...
and a fix for when selecting the same value twice in
a template variable if it is not multi select. It threw an
exception on the second selection
2017-08-09 14:28:23 +02:00
Torkel Ödegaard
459a8ed695
ace: minor changes to ace directive
2017-08-09 11:43:02 +02:00
Torkel Ödegaard
80f5c914e8
ace: removed the old text areas
2017-08-09 11:06:21 +02:00
Torkel Ödegaard
68cac6ccb5
Merge branch 'master' into ace-editor
2017-08-09 10:51:31 +02:00
Torkel Ödegaard
668cb3c1ef
Merge branch 'v4.4.x'
2017-08-09 10:37:06 +02:00
Torkel Ödegaard
e8a20643d6
feat: store last seen date for users and present in stats and user lists, closes #9007
2017-08-09 10:36:41 +02:00
Alexander Zobnin
5c0773023f
code-editor: increase autocomplete popup size
2017-08-09 11:23:05 +03:00
Alexander Zobnin
1c8c746956
code-editor: prometheus metrics autocomplete
2017-08-09 10:58:00 +03:00
Alexander Zobnin
aa670244f1
code-editor: initial prometheus syntax definition
2017-08-08 22:27:47 +03:00
Chris Burkhart
3e0b92d6fe
Enable datasources to be able to round off to a UTC day properly
2017-08-08 09:34:41 -07:00
Alexander Zobnin
e0bbb74b0c
code-editor: test editors for MySQL and prometheus
2017-08-08 18:42:26 +03:00
Alexander Zobnin
0e0e60317e
code-editor: tabSize option
2017-08-08 18:41:11 +03:00
Alexander Zobnin
152c4170da
code-editor: onChange option and usage docs
2017-08-08 18:31:13 +03:00
Torkel Ödegaard
68c4ce34d5
fix: templating issue with data source variables, can now be used right away in other query variables and panels (without page reload), fixes #7510
2017-08-08 17:08:35 +02:00
Alexander Zobnin
cd16db4d09
code-editor: use data- attributes for editor options
2017-08-08 16:28:51 +03:00
Alexander Zobnin
59d1654df4
code-editor: adjust editor styles
2017-08-08 16:05:15 +03:00
Brad Lhotsky
a8ac215039
Add a few more MySQL macros:
...
* $__timeFrom() -> Returns the dashboard 'from' suitable for use querying
against a MySQL TIMESTAMP field.
* $__timeTo() -> Returns the dashboard 'to' suitable for use querying
against a MySQL TIMESTAMP field.
* $__unixEpochFiler(column) -> If you store timestamps as UNIX epoch's,
this builds: column > 'from' AND column < 'to'
* $__unixEpochFrom() -> Returns the dashboard 'from' suitable for use querying
against a MySQL integer field (UNIX epochs)
* $__unixEpochTo() -> Returns the dashboard 'to' suitable for use querying
against a MySQL integer field (UNIX epochs)
2017-08-08 14:40:27 +02:00
Alexander Zobnin
eb944551c0
code-editor: add autocomplete styles
2017-08-08 15:32:23 +03:00
Alexander Zobnin
928fedaad7
code-editor: minor refactor
2017-08-08 15:19:15 +03:00
Torkel Ödegaard
d3680d290c
fix: graphite issue with metricFind and sending from/until in normal format, fixes #8997
2017-08-08 13:51:54 +02:00
Torkel Ödegaard
83beff300b
Merge branch 'v4.4.x'
2017-08-08 11:26:45 +02:00
Torkel Ödegaard
64b5153e7d
fix: change view json to use the grafana built json viewer, fixes #9002
2017-08-08 11:26:16 +02:00
Torkel Ödegaard
781dd25c82
Merge branch 'elasticsearch-filtering'
2017-08-08 11:09:00 +02:00
Torkel Ödegaard
f979e95820
tablepanel: minor update to table panel, #8052
2017-08-08 11:08:51 +02:00
Torkel Ödegaard
1507c02ebb
Merge branch 'feat-8539' of https://github.com/alexanderzobnin/grafana
2017-08-08 09:33:23 +02:00
Alexander Zobnin
bf8171fd63
code-editor: initial autocomplete
2017-08-07 21:30:36 +03:00
Alexander Zobnin
b74fe05fec
code-editor: support language mode
2017-08-07 20:19:15 +03:00
Alexander Zobnin
ecb66e7678
code-editor: disable depreacation warning
2017-08-07 19:43:58 +03:00
Alexander Zobnin
e4dabb657c
code-editor: initial directive for rich code editor (ace)
2017-08-07 19:31:50 +03:00
Torkel Ödegaard
3e392ef921
ux: added minor help tip to graphite ds settings
2017-08-07 15:55:05 +02:00