Commit Graph

111 Commits

Author SHA1 Message Date
Alexander Zobnin
9b2079c1da Migrate problems panel to React (#1532)
* Replace default angular app config editor

* Problems panel: migrate module to ts

* Problems panel options editor to react

* Problems panel react WIP

* Fix explore button

* Problems panel alert list layout WIP

* Refactor

* Minor tweaks on panel options

* remove outdated tests

* Update typescript

* Draft for tag event handling

* Remove unused files
2022-11-30 14:01:21 +03:00
Alexander Zobnin
504c9af226 Migrate query editor to react (#1520)
* Initial react query editor

* CI: run checks on all branches

* Update react packages

* Initial metric picker

* Load metrics

* Tweak styles

* Add variables to metric options

* Tweak styles

* Filtering and keyboard navigation

* Open menu with keyboard

* Update function editor

* Move functions in editor

* Add function component

* Edit func params

* Push alias functions to the end

* Tweak labels size

* Fix menu position

* Metric options editor

* Fix css styles building

* More work on query options

* Fix tests

* Refactor: extract metrics query editor and functions editor

* Refactor: move things around

* Text metrics editor

* Problems query editor

* Problems mode options

* Item id query editor

* IT services query editor

* Triggers query editor

* Refactor: remove unused

* remove derprecated theme usage

* Load proxy options

* Fetch metric options on variable change

* Remove angular query editor

* Migrate annotations editor to react

* Fix tests
2022-11-09 17:50:13 +03:00
Alexander Zobnin
a09d8a983e Update saas packages for node 16 2022-04-27 11:53:07 +03:00
Alexander Zobnin
995249a0b2 Update grafana packages 2022-02-15 18:07:31 +03:00
Alexander Zobnin
0411c0a24c Update grafana packages 2022-01-27 13:42:25 +03:00
dependabot[bot]
df11ef7de0 Bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 02:05:33 +00:00
Alexander Zobnin
bea87fdf4e Remove time series benchmark since functions moved to the backend 2021-08-10 10:24:52 +03:00
Alexander Zobnin
53c44e1764 Merge pull request #1208 from alexanderzobnin/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21
2021-08-10 10:17:54 +03:00
dependabot[bot]
bc1eedb806 Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 11:48:58 +00:00
dependabot[bot]
a656d18a95 Bump axios from 0.19.2 to 0.21.1
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.19.2...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 11:48:57 +00:00
Alexander Zobnin
12c4089a50 Fix building after update to Grafana 8 components 2021-08-02 18:37:48 +03:00
Alexander Zobnin
3688174923 Update Grafana dependencies to 8.0 2021-08-02 17:51:33 +03:00
Alexander Zobnin
a596d3e18a update grafana packages 2021-03-09 18:23:34 +03:00
Alexander Zobnin
6b0351c12f update grafana packages 2020-11-13 11:57:23 +03:00
Alexander Zobnin
03ceeb293c update lodash to fix security alert 2020-09-03 08:40:05 +03:00
Alexander Zobnin
2c1430fd75 CI: sign plugin during release (#1039)
* Add grafana toolkit package

* CI: skip adding binaries to release branch

* CI: test signing plugin

* CI: skip branch build for test releases

* CI: do not use ssh key for fetching

* CI: get plugin in a separate image to avoid git LFS error

* CI: fix attaching workspace

* CI: fix attaching dir

* CI: adjust release process

* CI: clean up
2020-09-02 09:48:54 +03:00
Alexander Zobnin
ec48fa0e55 New release process 2020-06-04 15:05:54 +03:00
Alexander Zobnin
c6402cc232 fix tests 2020-06-04 12:45:25 +03:00
Alexander Zobnin
48767fe479 Update datasource config editor 2020-06-01 18:05:50 +03:00
Alexander Zobnin
3abb7de116 update yarn.lock 2020-05-29 10:35:11 +03:00
Alexander Zobnin
11405d4dde Merge branch 'master' into backend 2020-05-29 10:33:11 +03:00
Alexander Zobnin
a8e34431a5 update packages WIP 2020-05-29 10:17:50 +03:00
Alexander Zobnin
bf441c5ed1 sync packages 2020-05-28 17:49:08 +03:00
Alexander Zobnin
da6352263b update lockfile 2020-05-28 12:08:55 +03:00
Alexander Zobnin
c2aa84f349 Merge branch 'master' into backend 2020-05-28 12:02:36 +03:00
Alexander Zobnin
ca0f297ac7 Move tooltip to components 2020-05-19 11:48:10 +03:00
Alexander Zobnin
959cea2061 Problems: improve ack dialog (add ack options), closes #942 2020-05-18 19:41:33 +03:00
Alexander Zobnin
93b1468000 Auto-detect zabbix version, closes #727 2020-05-14 18:26:29 +03:00
Alexander Zobnin
fde56d24e9 Fix variable query editor 2020-05-08 17:45:05 +03:00
Alexander Zobnin
b704bf23c1 Update popper, fix #900 2020-04-29 20:51:50 +03:00
Alexander Zobnin
dad0fd965d Migrate backendSrv to getBackendSrv, fix direct DB connection 2020-03-20 17:03:49 +03:00
Alexander Zobnin
5c9d9cd92e fix tests
See https://github.com/jsdom/jsdom/issues/1782
https://github.com/grafana/grafana/issues/20921
2020-01-16 13:58:12 +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
82cfda6524 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
2020-01-13 11:31:40 +03:00
vignesh-reddy
c300debe35 Backend: Merge master into the backend branch (#845)
* 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

Co-authored-by: Mario Trangoni <mario@mariotrangoni.de>
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
2019-12-30 10:45:47 +03:00
Alexander Zobnin
4fcef290a7 fix packages security alerts 2019-12-26 16:51:02 +03:00
dependabot[bot]
68aa093cf3 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>
2019-12-26 16:33:36 +03:00
Alexander Zobnin
c1db914376 fix test configuration (babel) 2019-12-25 12:12:36 +03:00
Alexander Zobnin
d09830f797 update packages (build with node 12) 2019-12-25 11:25:48 +03:00
Alexander Zobnin
ec36b7241b update sass-loader (build with node 12) 2019-12-13 14:12:43 +03:00
Alexander Zobnin
aa93e752c8 Merge branch 'multidatasource-pr' of github.com:dneth/grafana-zabbix into dneth-multidatasource-pr 2019-12-13 13:52:09 +03:00
Alec Sears
e153473421 Finish 2019-10-18 16:21:46 -05:00
Alec Sears
a50c9a3e77 Update CircleCI to use Makefile and cache Go dependencies 2019-10-10 15:15:55 -05:00
Alexander Zobnin
ca50d0db98 add typings for grafana packages 2019-10-09 14:10:44 +03:00
Alexander Zobnin
4346e13365 fix function editor in Grafana 6, #765 2019-07-08 15:25:41 +03:00
Alexander Zobnin
056be6a7f2 tests: fix React import error 2019-02-12 22:28:05 +03:00
Alexander Zobnin
6e579e318c update npm packages 2019-02-12 22:28:05 +03:00
Alexander Zobnin
d7db242426 fix problems panel tests 2019-02-12 22:28:04 +03:00
Alexander Zobnin
2a3ff46a6a add types for classnames 2019-02-12 22:28:01 +03:00