Commit Graph

120 Commits

Author SHA1 Message Date
Gareth Dawson
17abd468ff add @grafana/experimental 2023-10-25 14:42:36 +01:00
dependabot[bot]
5f9e0e5a42 Bump @babel/traverse from 7.22.20 to 7.23.2 (#1722)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.20 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 09:42:18 +02:00
dependabot[bot]
626864e77c Bump postcss from 8.4.14 to 8.4.31 (#1703)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.14 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.14...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 20:06:15 +02:00
Gábor Farkas
143f39e365 added prettier 2023-09-28 15:48:41 +02:00
Zoltán Bedi
74fd93f051 Pin jackspeak to 2.1.1
See https://github.com/storybookjs/storybook/issues/22431#issuecomment-1630086092
2023-09-24 23:20:42 +02:00
Zoltán Bedi
fdca810285 Chore: Dependency clean up 2023-09-24 22:59:27 +02:00
Alexander Zobnin
b602e15899 Add spellcheck 2023-08-30 11:37:51 +02:00
Alexander Zobnin
a5c239f77b Problems count mode (#1493)
* Problems count mode

* Use tooltip from grafana ui

* Add editors for new modes

* Fix macro mode

* Fix bugs

* Unify editors to use one Triggers editor for all count queries

* Use time range toggle for triggers query, #918

* Add item tags suport for triggers count mode

* Fix triggers count by items

* Use data frames for triggers data, #1441

* Return empty result if no items found

* Add migration for problems count mode

* bump version to 4.3.0-pre

* Add zip task to makefile

* Add schema to query model

* Minor refactor

* Refactor: move components to separate files

* Minor refactor

* Support url in event tags

* Add tooltip with link url

* Update grafana packages

* Fix adding new problems panel

* ProblemDetails: rewrite as a functional component

* minor refactor
2023-01-20 14:23:46 +01:00
Alexander Zobnin
e3e896742b Build plugin with grafana toolkit (#1539)
* Use grafana toolkit template for building plugin

* Fix linter and type errors

* Update styles building

* Fix sass deprecation warning

* Remove empty js files produced by webpack building sass

* Fix signing script

* Replace classnames with cx

* Fix data source config page

* Use custom webpack config instead of overriding original one

* Use gpx_ prefix for plugin executable

* Remove unused configs

* Roll back react hooks dependencies usage

* Move plugin-specific ts config to root config file

* Temporary do not use rst2html for function description tooltip

* Remove unused code

* remove unused dependencies

* update react table dependency

* Migrate tests to typescript

* remove unused dependencies

* Remove old webpack configs

* Add sign target to makefile

* Add magefile

* Update CI test job

* Update go packages

* Update build instructions

* Downgrade go version to 1.18

* Fix go version in ci

* Fix metric picker

* Add comment to webpack config

* remove angular mocks

* update bra config

* Rename datasource-zabbix to datasource (fix mage build)

* Add instructions for building backend with mage

* Fix webpack targets

* Fix ci backend tests

* Add initial e2e tests

* Fix e2e ci tests

* Update docker compose for cypress tests

* build grafana docker image

* Fix docker stop task

* CI: add Grafana compatibility check
2022-12-09 14:14:34 +03:00
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