Commit Graph

507 Commits

Author SHA1 Message Date
Alexander Zobnin
4c462e72dc SLA: add interval option, closes #885 2020-05-20 13:36:00 +03:00
Alexander Zobnin
552b709740 fix SLA queries 2020-05-20 12:45:30 +03:00
Alexander Zobnin
dc2d2a4528 Fix panel alert icon, closes #931 2020-05-20 12:20:15 +03:00
Alexander Zobnin
3aaf58b05a Explore button: fix item name building 2020-05-20 11:21:59 +03:00
Alexander Zobnin
959cea2061 Problems: improve ack dialog (add ack options), closes #942 2020-05-18 19:41:33 +03:00
Alexander Zobnin
6e2f28670e Query editor: show tags filter only for problems query 2020-05-18 14:28:45 +03:00
Alexander Zobnin
04de23eeea Problems: fix sorting order 2020-05-18 14:26:47 +03:00
Alexander Zobnin
0df9023750 Problems: support problems history 2020-05-18 12:18:59 +03:00
Alexander Zobnin
d7a96f06ee Zabbix API: add types 2020-05-18 11:37:22 +03:00
Alexander Zobnin
5034c2ca90 Problems: add min severity filter 2020-05-15 19:05:07 +03:00
Alexander Zobnin
b94a6c4841 Problems: add default limit 2020-05-15 18:33:22 +03:00
Alexander Zobnin
056f82731e Problems: use problems.get method for fetching triggers, closes #495 2020-05-15 18:17:54 +03:00
Alexander Zobnin
1b11f3d46d Chore: ZabbixConnector types 2020-05-15 15:24:30 +03:00
Alexander Zobnin
11214d0d17 Chore: convert Zabbix connector to TS 2020-05-15 14:38:29 +03:00
Alexander Zobnin
c4f8b5bf2b fix tests 2020-05-15 14:15:53 +03:00
Tommi Palomäki
1ae4b86ca9 Fix to consolidate avg accuracy (#753)
* The interval must fit exactly n times to the time range and query made so that the resulting avg will be exact

* Add interval fix also to trend query
2020-05-15 14:08:12 +03:00
Alexander Zobnin
5fac5909a7 Fix merge conflicts 2020-05-15 13:58:35 +03:00
Alexander Zobnin
6eba6f870c Chore: convert CachingProxy to TS 2020-05-15 13:53:35 +03:00
Alexander Zobnin
4a3bb91aaf Chore: convert ZabbixAPIConnector to TS 2020-05-15 13:49:44 +03:00
Alexander Zobnin
b09af3c93a fix tests 2020-05-14 19:02:36 +03:00
Alexander Zobnin
5422e24af2 ZabbixAPICore: convert to TS 2020-05-14 18:52:20 +03:00
Alexander Zobnin
93b1468000 Auto-detect zabbix version, closes #727 2020-05-14 18:26:29 +03:00
Alexander Zobnin
413bf583d6 Problems: sorting option 2020-05-13 18:40:27 +03:00
Alexander Zobnin
2588fd5c50 Problems: more work on options migration 2020-05-13 18:13:25 +03:00
Alexander Zobnin
eafe90c7bf Problems: rearrange options in query editor 2020-05-12 12:55:45 +03:00
Alexander Zobnin
030d86aa45 Add link to docs to help page 2020-05-08 18:04:37 +03:00
Alexander Zobnin
fc9aae0644 Fix help page 2020-05-08 18:02:22 +03:00
Alexander Zobnin
fde56d24e9 Fix variable query editor 2020-05-08 17:45:05 +03:00
Alexander Zobnin
29acf951b2 Problems: fix proxy filter 2020-05-08 17:09:18 +03:00
Alexander Zobnin
0916f2eff7 Problems: fix filtering by tags 2020-05-08 15:29:38 +03:00
Alexander Zobnin
001d911282 Problems: fix tags add/remove 2020-05-08 15:11:55 +03:00
Alexander Zobnin
0381d77519 Problems panel: add target migrations 2020-05-08 14:47:18 +03:00
Alexander Zobnin
f8f675f78e Move proxy option to the datasource query editor 2020-05-07 17:55:46 +03:00
Alexander Zobnin
80aa2e94ad Move problem query options to the datasource 2020-05-07 17:51:24 +03:00
Alexander Zobnin
29d902326a Move problems query to the data source 2020-05-07 13:38:55 +03:00
Alexander Zobnin
64f64ff71f remove lodash backward compatibility fixes 2020-05-07 11:57:22 +03:00
Alexander Zobnin
ffb1862094 convert timeseries.js to TS 2020-05-07 11:56:41 +03:00
Alexander Zobnin
e7cd31c75c convert metricFunctions to TS 2020-05-07 11:49:51 +03:00
Alexander Zobnin
44660476ca datasource: convert to TS 2020-05-07 11:33:15 +03:00
Alexander Zobnin
6729de0e48 Add series-specific variables for using in alias functions, #619 2020-04-13 15:13:54 +03:00
Alexander Zobnin
9430993b26 Chore: convert responseHandler to TS 2020-04-13 14:24:21 +03:00
Alexander Zobnin
8ac5f42e73 Use event name for annotations if available, fixes #891 2020-04-13 14:12:16 +03:00
Alexander Zobnin
08b1b635b7 Fix explore mode in Grafana 6.x, closes #888
Migrate target.mode to target.queryType because Explore uses target.mode and overwrites it.
2020-04-13 12:16:44 +03:00
Alexander Zobnin
3dfe29816b DB Connection: return detailed connection error for InfluxDB 2020-04-10 19:56:08 +03:00
Alexander Zobnin
2761b4d966 Migrate dataSourceSrv to getDataSourceSrv 2020-03-23 16:05:31 +03:00
Alexander Zobnin
dad0fd965d Migrate backendSrv to getBackendSrv, fix direct DB connection 2020-03-20 17:03:49 +03:00
Alexander Zobnin
f7adf0e379 Merge branch 'master' into backend 2020-01-16 12:34:25 +03:00
Alec Sears
92e77617cf [Backend] Merge 'master' changes into the backend (#875)
* CI: fix shellcheck issues (#789)

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>

* annotations: fix options in grafana 6.x, fix #813

* fix function editor in Grafana 6.4, closes #810

* add typings for grafana packages

* Add $__range_series variable for calculating function over the whole series, #531

* fix tests

* Don't set alert styles for react panels, fix #823

* docs: add range variables

* docs: percentile reference

* fix codespell

* update packages (build with node 12)

* update circleci node image to 12

* fix test configuration (babel)

* Fix 817 (#851)

* problems: update panel schema

* update packages (build with node 12)

* problems: use datasource from target

* problems: fix query editor after schema update

* problems: fix list layout

* update circleci node image to 12

* fix tests

* build(deps-dev): bump lodash from 4.17.10 to 4.17.13 (#852)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>

* fix packages security alerts

* problems: fix tags adding and removal

* fix adding func from typeahead, closes #468

* update change log

* bump plugin version to 3.10.5

* problems: fix tag removal (list layout)

* Fix percentile() function, closes #862 (#863)

Like the other aggregation functions, the datapoints need to be sorted in
time before calling groupBy_perf().

* Update copyright, happy New Year!

* fix not acknowledged problem color with a message (#858)

* fix not acknowledged problem color with a message

* fix not acknowledged problem color with a message, closes #857

* Variable query editor (#856)

* refactor: convert module to typescript

* refactor: covert utils to typescript

* variable query editor WIP

* variable editor: fix type error after grafana/ui update

* variable editor: use FormLabel from grafana/ui

* variable editor: refactor

* variable editor: input validation and highlights

* variable editor: fix tests

* variable query: fix backward compatibility with empty queries

* fix linter errors

* variable editor: fix variable replacement in queries

* Fixes for backend

Co-authored-by: Mario Trangoni <mario@mariotrangoni.de>
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark Reibert <mreibert@netskope.com>
Co-authored-by: memfiz <arnis.civciss@gmail.com>
2020-01-15 14:48:43 +03:00
Alexander Zobnin
376183e8e4 Transform percentile function, closes #868 2020-01-15 11:02:17 +03:00
Alexander Zobnin
7653bacce9 fix linter errors 2020-01-14 17:56:44 +03:00