Commit Graph

26 Commits

Author SHA1 Message Date
Wesley van Tilburg
3711fdd990 fix built for newer versions 2026-01-14 09:11:59 +00:00
Sam Jewell
ebf4c26997 Use go install to install golint (#1967)
This is the recommended approach since Go 1.17

I was getting an error when running `make install`:
```
GO111MODULE=off go get -u golang.org/x/lint/golint
go: modules disabled by GO111MODULE=off; see 'go help modules'
```
2025-02-12 16:25:49 +01:00
Alexander Zobnin
e3ab4d5c51 Build: disable CGO 2023-08-30 11:17:22 +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
Ross Williams
f765d47fed Build for FreeBSD amd64 & arm64 (#1501)
Both architectures supported by Go on FreeBSD.

Slightly simplified Makefile to avoid repeating
same build commands for every variation of `GOOS`/`GOARCH`.
2022-09-09 12:41:22 +03:00
Alexander Zobnin
33899b1171 Add darwin-arm64 to the package 2021-08-10 17:56:46 +03:00
Alexander Zobnin
4199e6e640 Exclude apple m1 build from default package 2021-08-10 17:29:03 +03:00
Alexander Zobnin
d1ccc349ec Build for macOS arm 2021-08-02 17:41:07 +03:00
Alexander Zobnin
37573e0152 Refactor filters 2021-05-24 10:46:28 +03:00
Alexander Zobnin
f97318a1cb Upgrade Go packages 2021-05-19 16:10:40 +03:00
Alexander Zobnin
9a67019259 Include ARM builds in the release package, #1028 2020-12-22 17:36:05 +03:00
Alexander Zobnin
3596aefe3d Add ARM builds, #1028 2020-11-10 19:09:59 +03:00
Alexander Zobnin
ec48fa0e55 New release process 2020-06-04 15:05:54 +03:00
Alexander Zobnin
a416bcfc4f remove verbose test logs 2020-06-04 13:14:54 +03:00
Alexander Zobnin
2a46eeebf1 makefile refactor 2020-06-04 12:38:38 +03:00
Alexander Zobnin
9f93faaebf Makefile: run-backend task 2020-05-28 13:55:38 +03:00
Alexander Zobnin
7653bacce9 fix linter errors 2020-01-14 17:56:44 +03:00
Alexander Zobnin
94cdf10989 debug backend plugin 2020-01-14 13:16:40 +03:00
Alexander Zobnin
a37d1be3e0 use yarn instead of npm run for consistency 2019-12-12 11:36:19 +03:00
Alec Sears
23f8ad03a3 Fail on golint 2019-10-10 16:30:08 -05:00
Alec Sears
a2d685af20 Coverage fixes 2019-10-10 15:56:15 -05:00
Alec Sears
b2d48e7d38 Update Makefile 2019-10-10 15:46:03 -05:00
Alec Sears
49ecea2b90 Set up coverage 2019-10-10 15:35:44 -05:00
Alec Sears
e3e6c1512b Initial Changes 2019-10-10 15:15:55 -05:00
Alexander Zobnin
0938d06487 Build files for backend 2019-09-24 19:29:18 +03:00