Alexander Emelin
7501a2deb6
Live: pure websocket push endpoint ( #33339 )
2021-04-26 13:17:49 +03:00
Ganesh Vernekar
6cc7a20789
NGAlert: Remove all pending references to the old API package ( #33269 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-04-22 18:36:32 +05:30
dependabot[bot]
0a3e7dea62
Bump github.com/centrifugal/centrifuge from 0.16.0 to 0.17.0 ( #33117 )
2021-04-19 12:09:10 -07:00
Owen Diehl
e37a780e14
Inhouse alerting api ( #33129 )
...
* init
* autogens AM route
* POST dashboards/db spec
* POST alert-notifications spec
* fix description
* re inits vendor, updates grafana to master
* go mod updates
* alerting routes
* renames to receivers
* prometheus endpoints
* align config endpoint with cortex, include templates
* Change grafana receiver type
* Update receivers.go
* rename struct to stop swagger thrashing
* add rules API
* index html
* standalone swagger ui html page
* Update README.md
* Expose GrafanaManagedAlert properties
* Some fixes
- /api/v1/rules/{Namespace} should return a map
- update ExtendedUpsertAlertDefinitionCommand properties
* am alerts routes
* rename prom swagger section for clarity, remove example endpoints
* Add missing json and yaml tags
* folder perms
* make folders POST again
* fix grafana receiver type
* rename fodler->namespace for perms
* make ruler json again
* PR fixes
* silences
* fix Ok -> Ack
* Add id to POST /api/v1/silences (#9 )
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Add POST /api/v1/alerts (#10 )
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* fix silences
* Add testing endpoints
* removes grpc replace directives
* [wip] starts validation
* pkg cleanup
* go mod tidy
* ignores vendor dir
* Change response type for Cortex/Loki alerts
* receiver unmarshaling tests
* ability to split routes between AM & Grafana
* api marshaling & validation
* begins work on routing lib
* [hack] ignores embedded field in generation
* path specific datasource for alerting
* align endpoint names with cloud
* single route per Alerting config
* removes unused routing pkg
* regens spec
* adds datasource param to ruler/prom route paths
* Modifications for supporting migration
* Apply suggestions from code review
* hack for cleaning circular refs in swagger definition
* generates files
* minor fixes for prom endpoints
* decorate prom apis with required: true where applicable
* Revert "generates files"
This reverts commit ef7e975584
.
* removes server autogen
* Update imported structs from ngalert
* Fix listing rules response
* Update github.com/prometheus/common dependency
* Update get silence response
* Update get silences response
* adds ruler validation & backend switching
* Fix GET /alertmanager/{DatasourceId}/config/api/v1/alerts response
* Distinct gettable and postable grafana receivers
* Remove permissions routes
* Latest JSON specs
* Fix testing routes
* inline yaml annotation on apirulenode
* yaml test & yamlv3 + comments
* Fix yaml annotations for embedded type
* Rename DatasourceId path parameter
* Implement Backend.String()
* backend zero value is a real backend
* exports DiscoveryBase
* Fix GO initialisms
* Silences: Use PostableSilence as the base struct for creating silences
* Use type alias instead of struct embedding
* More fixes to alertmanager silencing routes
* post and spec JSONs
* Split rule config to postable/gettable
* Fix empty POST /silences payload
Recreating the generated JSON specs fixes the issue
without further modifications
* better yaml unmarshaling for nested yaml docs in cortex-am configs
* regens spec
* re-adds config.receivers
* omitempty to align with prometheus API behavior
* Prefix routes with /api
* Update Alertmanager models
* Make adjustments to follow the Alertmanager API
* ruler: add for and annotations to grafana alert (#45 )
* Modify testing API routes
* Fix grafana rule for field type
* Move PostableUserConfig validation to this library
* Fix PostableUserConfig YAML encoding/decoding
* Use common fields for grafana and lotex rules
* Add namespace id in GettableGrafanaRule
* Apply suggestions from code review
* fixup
* more changes
* Apply suggestions from code review
* aligns structure pre merge
* fix new imports & tests
* updates tooling readme
* goimports
* lint
* more linting!!
* revive lint
Co-authored-by: Sofia Papagiannaki <papagian@gmail.com>
Co-authored-by: Domas <domasx2@gmail.com>
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
Co-authored-by: gotjosh <josue@grafana.com>
Co-authored-by: David Parrott <stomp.box.yo@gmail.com>
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2021-04-19 14:26:04 -04:00
Alexander Emelin
3e3a0a1ea1
bump jaeger-client-go to v2.27.0 ( #33134 )
2021-04-19 20:38:14 +03:00
Alexander Emelin
d807fbc9e9
Live: Telegraf input modifiers ( #32982 )
2021-04-19 18:48:43 +03:00
dependabot[bot]
33621e6f9b
Bump github.com/uber/jaeger-client-go from 2.25.0+incompatible to 2.26.0+incompatible ( #33106 )
...
* Bump github.com/uber/jaeger-client-go
Bumps [github.com/uber/jaeger-client-go](https://github.com/uber/jaeger-client-go ) from 2.25.0+incompatible to 2.26.0+incompatible.
- [Release notes](https://github.com/uber/jaeger-client-go/releases )
- [Changelog](https://github.com/jaegertracing/jaeger-client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber/jaeger-client-go/compare/v2.25.0...v2.26.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Fix go.sum
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-04-19 12:33:31 +02:00
dependabot[bot]
58380368af
Bump github.com/mattn/go-sqlite3 from 1.14.6 to 1.14.7 ( #33104 )
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.14.6 to 1.14.7.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.6...v1.14.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 09:26:51 +02:00
Arve Knudsen
dbe2f1871f
Chore: Sync go.mod and go.sum ( #33065 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-04-16 13:41:17 +02:00
Sofia Papagiannaki
6bbb2fd4ba
[Alerting]: Several modifications in alert rules ( #32983 )
...
* [Alerting]: Use common properties for all rules
* Add Labels in rules
* Fix update ruleGroup API
Return 400 Bad Request response
when the request contains a UID that does not exist
* Check permissions and return namespace id
* Apply suggestions from code review
Co-authored-by: gotjosh <josue@grafana.com>
2021-04-15 15:54:37 +03:00
Vardan Torosyan
9f82eac833
Access control: Add access control based permissions to admins/users ( #32409 )
...
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2021-04-14 16:31:27 +02:00
gotjosh
528ca9134b
Alerting: Use a default configuration and periodically poll for new ones ( #32851 )
...
* Alerting: Use a default configuration and periodically poll for new ones
Use a default configuration to make sure we always start the grafana
instance. Then, regularly poll for new ones.
I've also made sure that failures to apply configuration do not stop the
Grafana server but instead keep polling until it is a success.
2021-04-13 13:02:44 +01:00
dependabot[bot]
0c72f50c68
Chore(deps): Bump google.golang.org/api from 0.42.0 to 0.44.0 ( #32879 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.42.0 to 0.44.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.42.0...v0.44.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 13:05:35 +02:00
dependabot[bot]
dfbb11e094
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.38.12 to 1.38.17 ( #32880 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.38.12 to 1.38.17.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.12...v1.38.17 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 13:03:04 +02:00
dependabot[bot]
f247526d6a
Chore(deps): Bump google.golang.org/grpc from 1.36.1 to 1.37.0 ( #32878 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.36.1 to 1.37.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.36.1...v1.37.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 11:29:59 +03:00
dependabot[bot]
d96e82d5e4
Chore(deps): Bump github.com/benbjohnson/clock from 1.0.3 to 1.1.0 ( #32882 )
...
Bumps [github.com/benbjohnson/clock](https://github.com/benbjohnson/clock ) from 1.0.3 to 1.1.0.
- [Release notes](https://github.com/benbjohnson/clock/releases )
- [Commits](https://github.com/benbjohnson/clock/compare/v1.0.3...v1.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-12 09:56:09 +02:00
Ryan McKinley
b96e45299d
Live: support streaming results out-of-the-box ( #32821 )
2021-04-09 21:17:22 +02:00
Kyle Brandt
80dfa83380
AlertingNG: Add For+Annotations to Grafana_Alert ( #32793 )
...
* add db columns
* Fix deserialisation issue of AlertRule For field (#32848 )
* Update to latest alerting-api
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2021-04-09 16:50:04 +02:00
dependabot[bot]
e9a27ca2ec
Chore(deps): Bump gonum.org/v1/gonum from 0.8.2 to 0.9.1 ( #32568 )
...
Bumps gonum.org/v1/gonum from 0.8.2 to 0.9.1.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-08 15:47:19 +03:00
gotjosh
fe67680c42
Alerting: Allow querying of Alerts from notifications ( #32614 )
...
* Alerting: Allow querying of Alerts from notifications
* Wire everything up
* Remove unused functions
* Remove duplicate line
2021-04-08 07:27:59 -04:00
sam boyer
bba4d9bd7f
Introduce "scuemata" system for CUE-based specification of Grafana objects ( #32527 )
2021-04-08 01:11:11 -07:00
dependabot[bot]
acc8e78c24
Bump github.com/influxdata/influxdb-client-go/v2 from 2.2.2 to 2.2.3 ( #32683 )
...
Bumps [github.com/influxdata/influxdb-client-go/v2](https://github.com/influxdata/influxdb-client-go ) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/influxdata/influxdb-client-go/releases )
- [Changelog](https://github.com/influxdata/influxdb-client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/influxdata/influxdb-client-go/compare/v2.2.2...v2.2.3 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-07 15:18:02 +02:00
Domas
a56293142a
Alerting: unified alerting frontend ( #32708 )
2021-04-07 08:42:43 +03:00
Alexander Emelin
54ad791c7e
Live: expose HTTP push endpoint that will read influx line protocol and publish to websocket ( #32311 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-04-05 19:04:46 +03:00
dependabot[bot]
ec12b344df
Bump github.com/hashicorp/go-version from 1.2.1 to 1.3.0 ( #32687 )
...
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/hashicorp/go-version/releases )
- [Changelog](https://github.com/hashicorp/go-version/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/go-version/compare/v1.2.1...v1.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 13:39:49 +03:00
dependabot[bot]
6a94ca4dd2
Bump github.com/go-openapi/strfmt from 0.20.0 to 0.20.1 ( #32684 )
...
Bumps [github.com/go-openapi/strfmt](https://github.com/go-openapi/strfmt ) from 0.20.0 to 0.20.1.
- [Release notes](https://github.com/go-openapi/strfmt/releases )
- [Commits](https://github.com/go-openapi/strfmt/compare/v0.20.0...v0.20.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 10:58:13 +03:00
dependabot[bot]
8d3b9878b2
Bump github.com/aws/aws-sdk-go from 1.38.7 to 1.38.12 ( #32682 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.38.7 to 1.38.12.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.7...v1.38.12 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 09:36:22 +02:00
Alexander Emelin
93292f6eef
Live: update Streaming plugin definitions, put frame schema in subscribe result data ( #32561 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-04-02 19:41:45 +03:00
Ryan McKinley
f67489a1f6
Chore: update centrifuge import (avoid protobuf) ( #32616 )
2021-04-01 21:47:04 +02:00
Sofia Papagiannaki
ee06970d72
[Alerting]: Grafana managed ruler API implementation ( #32537 )
...
* [Alerting]: Grafana managed ruler API impl
* Apply suggestions from code review
* fix lint
* Add validation for ruleGroup name length
* Fix MySQL migration
Co-authored-by: kyle <kyle@grafana.com>
2021-04-01 11:11:45 +03:00
Sofia Papagiannaki
a5e95823b2
[Alerting]: Alertmanager API implementation ( #32174 )
...
* Add validation for grafana recipient
* Alertmanager API implementation (WIP)
* Fix encoding/decoding receiver settings from/to YAML
* Save templates together with the configuration
* update POST to apply latest config
* Alertmanager service enabled by the ngalert toggle
* Silence API integration with Alertmanager
* Apply suggestions from code review
Co-authored-by: gotjosh <josue@grafana.com>
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
2021-03-31 23:00:56 +03:00
Will Browne
6a3faad0b0
Chore: Bump grafana-aws-sdk dep to 0.4.0 ( #32563 )
2021-03-31 18:30:32 +02:00
Ryan McKinley
1446d094b8
API: return query results as JSON rather than base64 encoded Arrow ( #32303 )
2021-03-31 08:35:03 -07:00
gotjosh
433f6b91d0
Alerting: Introduce the silencing interface ( #32517 )
...
* Alerting: Introduce the silencing interface
The operations introduced are:
- Listing silences
- Retrieving an specific silence
- Deleting a silence
- Creating a silence
Signed-off-by: Josue Abreu <josue@grafana.com>
* Add a comment to listing silences
* Update to upstream alertmanager
* Remove copied code from the Alertmanager
2021-03-31 07:36:36 -04:00
Erik Sundell
f0d6f132ae
SigV4: Add support EC2 IAM role auth and possibility to toggle auth providers ( #32444 )
...
* wip: consume aws-sdk config in auth http settings
* fix typings
* use sdk regions
* use latest version of grafana/aws-sdk
* use newest sdk
* add comment
* bump sdk
* fix yarn lock file
* fix storybook issue
* upgrade aws-sdk. also use it in grafana ui
* remove not used config
* add aws-sdk as an external dep for grafana in the grafana ui rollup
Co-authored-by: Will Browne <will.browne@grafana.com>
2021-03-30 12:30:34 +02:00
dependabot[bot]
77ef835e8c
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.38.2 to 1.38.7 ( #32399 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.38.2 to 1.38.7.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.2...v1.38.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 09:47:54 +02:00
Arve Knudsen
c8afce5fd6
MSSQL: Upgrade go-mssqldb ( #32347 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-26 13:16:57 +01:00
Ganesh Vernekar
093e5947f4
Upgrade Prometheus Alertmanager and small fixes ( #32280 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-03-25 12:51:44 +01:00
Owen Diehl
2179a2658e
Extricates reusable utilities for different alerting proxy types ( #32268 )
...
* backendtype helper
* abstracts alertingproxy
* updates alerting api dep
* prom endpoints
2021-03-24 07:43:25 -04:00
Alexander Emelin
336bc559a3
Basic streaming plugin support ( #31940 )
...
This pull request migrates testdata to coreplugin streaming capabilities,
this is mostly a working concept of streaming plugins at the moment,
the work will continue in the following pull requests.
2021-03-23 20:24:08 +03:00
Sofia Papagiannaki
24cb059a6b
[Alerting]: implement backend checking for forking to Lotex ruler ( #32208 )
...
* Rename DatasourceId path parameter
* Implement fork ruler backendType()
* Apply suggestions from code review
2021-03-23 18:08:57 +02:00
Arve Knudsen
ed9b623b37
Chore: Recompile protobuf ( #32232 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-23 09:47:52 +01:00
dependabot[bot]
fbe5f1ce4b
Chore(deps): Bump google.golang.org/api from 0.41.0 to 0.42.0 ( #32016 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.41.0 to 0.42.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.41.0...v0.42.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 19:51:25 +01:00
dependabot[bot]
d8f4a5735b
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.38.1 to 1.38.2 ( #32233 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.38.1 to 1.38.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.1...v1.38.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 19:46:48 +01:00
Andrej Ocenas
3ef9cac640
Tempo: Return new version of dataframe schema directly from the backend ( #32116 )
...
* Return dataframe directly from the backend
* Streamline some transforms
* Fix lint issues
* Remove unused lib
* Fix datasource test
* Fix imports and add some typings
* Fix the typings and some tests
* Add private doc comment
* Remove private tag
* Add comments
* Fix some API docs issues
2021-03-22 19:09:15 +01:00
dependabot[bot]
4c3343deea
Chore(deps): Bump github.com/golang/protobuf from 1.4.3 to 1.5.1 ( #32199 )
...
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf ) from 1.4.3 to 1.5.1.
- [Release notes](https://github.com/golang/protobuf/releases )
- [Commits](https://github.com/golang/protobuf/compare/v1.4.3...v1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 18:02:47 +01:00
dependabot[bot]
789fe97f51
Chore(deps): Bump github.com/prometheus/client_golang ( #32198 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.9.0...v1.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 09:37:54 +01:00
dependabot[bot]
a1c632ec13
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.37.32 to 1.38.1 ( #32197 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.37.32 to 1.38.1.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.37.32...v1.38.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-22 09:10:03 +01:00
Owen Diehl
93d0f7163f
[Alerting] Forking LoTex ruler ( #32138 )
...
* updates alerting api to master
* skeleton for lotex ruler
* withPath helper & legacyRulerPrefix const
* forked ruler
* wires up proxy
* safeMacaronWrapper
* working proxy
* jsonExtractor
* lint
2021-03-19 10:32:13 -04:00
dependabot[bot]
b95fd1d1ce
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.37.30 to 1.37.32 ( #32058 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.37.30 to 1.37.32.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.37.30...v1.37.32 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-17 12:23:11 +01:00
Sofia Papagiannaki
68b05b8aaa
AlertingNG: Unified alerting API mock ( #32040 )
...
* AlertingNG: Alertmanager mock API
* AlertingNG: Remove permissions API routes
* Add example POST payloads
* Prometheus and testing mock API
2021-03-17 12:47:03 +02:00
Marcus Efraimsson
669a616797
Chore: Remove unused dependencies ( #32031 )
2021-03-16 16:26:38 +01:00
Ganesh Vernekar
ecbc98ba5d
AlertingNG: Add alert provider and basic structure with dispatcher, silences and delivery stages ( #31833 )
...
* AlertingNG: Add alert provider
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Add unit tests
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Alertmanager WIP
* Merge alertmanager into notifier
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Fixes for PR 31833 (#31990 )
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Use alertmanager from upgrad-uuid temporarily to unblock
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Fix lint
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Co-authored-by: Josue Abreu <josue@grafana.com>
2021-03-16 10:44:52 +01:00
dependabot[bot]
16027770c8
Chore(deps): Bump google.golang.org/api from 0.40.0 to 0.41.0 ( #31975 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.40.0 to 0.41.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.40.0...v0.41.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 08:47:50 +01:00
dependabot[bot]
a61765d2cc
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.37.26 to 1.37.30 ( #31976 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.37.26 to 1.37.30.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.37.26...v1.37.30 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 08:47:29 +01:00
Joan López de la Franca Beltran
3e66328deb
Chore: Tidy up Go deps ( #31956 )
2021-03-12 21:31:59 +01:00
Ryan McKinley
9dd1d5f553
Cloudwatch: use shared library for aws auth ( #29550 )
...
* use sdk for handling auth
* fix broken test
* lint fixes
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
2021-03-12 14:30:21 +01:00
Sofia Papagiannaki
fe628c6282
AlertingNG: base API implementation ( #31824 )
...
* AlertingNG: base API implementation
* Pass the interface instead of the base impl
* Ruler mock draft (WIP)
* Update alerting-api dependency
* Improve mock implementation
2021-03-11 21:28:00 +02:00
dependabot[bot]
bac1721546
Chore(deps): Bump go.opentelemetry.io/collector from 0.21.0 to 0.22.0 ( #31852 )
...
Bumps [go.opentelemetry.io/collector](https://github.com/open-telemetry/opentelemetry-collector ) from 0.21.0 to 0.22.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/v0.21.0...v0.22.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-10 12:38:07 +01:00
dependabot[bot]
d60727311e
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.37.25 to 1.37.26 ( #31790 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.37.25 to 1.37.26.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.37.25...v1.37.26 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-09 10:24:20 +01:00
Sofia Papagiannaki
4ce0a49eac
AlertingNG: Split into several packages ( #31719 )
...
* AlertingNG: Split into several packages
* Move AlertQuery to models
2021-03-08 22:19:21 +02:00
dependabot[bot]
ee96861ce1
Chore(deps): Bump cloud.google.com/go/storage from 1.13.0 to 1.14.0 ( #31613 )
...
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/spanner/v1.13.0...spanner/v1.14.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 10:45:51 +01:00
Arve Knudsen
fc9381744a
UsageStatsService: Make initialization more robust ( #31761 )
...
* UsageStatsService: Make initialization more robust
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-08 10:33:20 +01:00
dependabot[bot]
1a19a0e1e6
Chore(deps): Bump github.com/lib/pq from 1.9.0 to 1.10.0 ( #31758 )
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.9.0...v1.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 08:14:26 +01:00
dependabot[bot]
db37a04ded
Chore(deps): Bump github.com/google/go-cmp from 0.5.4 to 0.5.5 ( #31757 )
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.5.4...v0.5.5 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 08:14:12 +01:00
dependabot[bot]
bf53b586a6
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.37.20 to 1.37.25 ( #31759 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.37.20 to 1.37.25.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.37.20...v1.37.25 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 08:12:49 +01:00
Zoltán Bedi
29c998f9eb
Tempo: Convert tempo to backend data source2
...
This reverts commit c15d1f498a
.
2021-03-05 14:28:17 +01:00
dependabot[bot]
e65c5572cc
Chore(deps): Bump github.com/influxdata/influxdb-client-go/v2 ( #30800 )
...
Bumps [github.com/influxdata/influxdb-client-go/v2](https://github.com/influxdata/influxdb-client-go ) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/influxdata/influxdb-client-go/releases )
- [Changelog](https://github.com/influxdata/influxdb-client-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/influxdata/influxdb-client-go/compare/v2.2.0...v2.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-05 12:29:54 +01:00
dependabot[bot]
2dbb66e5c1
Chore(deps): Bump github.com/centrifugal/centrifuge ( #31206 )
...
Bumps [github.com/centrifugal/centrifuge](https://github.com/centrifugal/centrifuge ) from 0.13.0 to 0.15.0.
- [Release notes](https://github.com/centrifugal/centrifuge/releases )
- [Changelog](https://github.com/centrifugal/centrifuge/blob/master/changelog.md )
- [Commits](https://github.com/centrifugal/centrifuge/compare/v0.13.0...v0.15.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-05 07:55:45 +01:00
Zoltán Bedi
c15d1f498a
Revert "Tempo: convert to backend data source ( #31618 )" ( #31702 )
...
This reverts commit 862f09376f
.
2021-03-04 21:20:26 +01:00
Zoltán Bedi
862f09376f
Tempo: convert to backend data source ( #31618 )
...
* Tempo: Support opentelemetry response
* Tempo: convert Tempo to backend data source
* Update data source test
* Fix lint issues
* Apply suggestions from code review
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Return error when trace not found
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-04 18:23:02 +01:00
Kyle Brandt
a488ab8393
SSE: Add "Classic Condition" on backend ( #31511 )
...
This is a translation of services/alerting/conditions. Main Changes:
- Work with types in SSE (series/number) which are data frames (no more null.Float).
- The query part from alerting/conditions is handled by SSE logic
- Convey / simplejson removed.
- Time range no longer part of "query" in the condition
2021-03-02 13:51:33 -05:00
dependabot[bot]
83c75237f0
Chore(deps): Bump google.golang.org/api from 0.39.0 to 0.40.0 ( #31210 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.39.0...v0.40.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 11:27:33 +01:00
dependabot[bot]
c360ac7278
Chore(deps): Bump google.golang.org/grpc from 1.35.0 to 1.36.0 ( #31541 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.35.0 to 1.36.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.35.0...v1.36.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 10:51:15 +01:00
dependabot[bot]
2d7e5ff297
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.37.7 to 1.37.20 ( #31538 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.37.7 to 1.37.20.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.37.7...v1.37.20 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 08:33:14 +01:00
dependabot[bot]
c69cb85ef6
Chore(deps): Bump github.com/prometheus/common from 0.17.0 to 0.18.0 ( #31539 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.17.0...v0.18.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 08:28:19 +01:00
Arve Knudsen
6e549bc95d
Chore: Remove gotest.tools dependency ( #31391 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-22 11:53:15 +01:00
dependabot[bot]
f36601cdbd
Chore(deps): Bump github.com/prometheus/common from 0.15.0 to 0.17.0 ( #31387 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.15.0 to 0.17.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.15.0...v0.17.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 10:57:56 +01:00
dependabot[bot]
dae5e452a9
Chore(deps): Bump github.com/golang/mock from 1.4.4 to 1.5.0 ( #31379 )
...
Bumps [github.com/golang/mock](https://github.com/golang/mock ) from 1.4.4 to 1.5.0.
- [Release notes](https://github.com/golang/mock/releases )
- [Changelog](https://github.com/golang/mock/blob/master/.goreleaser.yml )
- [Commits](https://github.com/golang/mock/compare/v1.4.4...v1.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 10:28:01 +01:00
dependabot[bot]
ad5514eca5
Chore(deps): Bump github.com/getsentry/sentry-go from 0.9.0 to 0.10.0 ( #31378 )
...
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go ) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases )
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.9.0...v0.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 09:55:15 +01:00
Marcus Efraimsson
6aa4db387b
Chore: Upgrade grafana-plugin-sdk-go to v0.88.0 ( #30975 )
...
* Chore: Upgrade grafana-plugin-sdk-go
* update plugin sdk
Co-authored-by: Will Browne <will.browne@grafana.com>
2021-02-15 14:15:27 +01:00
Will Browne
d33375ade9
use 0.1.0 ( #31215 )
2021-02-15 12:53:20 +01:00
dependabot[bot]
de338f8e64
Chore(deps): Bump cloud.google.com/go/storage from 1.12.0 to 1.13.0 ( #31211 )
...
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/spanner/v1.12.0...spanner/v1.13.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 10:32:15 +01:00
dependabot[bot]
4f918e37f4
Chore(deps): Bump xorm.io/xorm from 0.8.1 to 0.8.2 ( #30773 )
...
* Chore(deps): Bump xorm.io/xorm from 0.8.1 to 0.8.2
Bumps xorm.io/xorm from 0.8.1 to 0.8.2.
Signed-off-by: dependabot[bot] <support@github.com>
* Fix limit for snapshots
* Fix limit for org and users
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-02-15 09:59:39 +01:00
dependabot[bot]
23621357b0
Chore(deps): Bump github.com/linkedin/goavro/v2 from 2.9.7 to 2.10.0 ( #31204 )
...
Bumps [github.com/linkedin/goavro/v2](https://github.com/linkedin/goavro ) from 2.9.7 to 2.10.0.
- [Release notes](https://github.com/linkedin/goavro/releases )
- [Changelog](https://github.com/linkedin/goavro/blob/master/debug_release.go )
- [Commits](https://github.com/linkedin/goavro/compare/v2.9.7...v2.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 09:12:10 +01:00
dependabot[bot]
a2cca8d488
Chore(deps): Bump github.com/jung-kurt/gofpdf from 1.10.1 to 1.16.2 ( #30586 )
...
Bumps [github.com/jung-kurt/gofpdf](https://github.com/jung-kurt/gofpdf ) from 1.10.1 to 1.16.2.
- [Release notes](https://github.com/jung-kurt/gofpdf/releases )
- [Commits](https://github.com/jung-kurt/gofpdf/compare/v1.10.1...v1.16.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 10:55:38 +01:00
dependabot[bot]
dbe2b5004c
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.36.31 to 1.37.7 ( #31018 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.36.31 to 1.37.7.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.36.31...v1.37.7 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 10:46:05 +01:00
dependabot[bot]
d05e10f792
Chore(deps): Bump github.com/magefile/mage from 1.10.0 to 1.11.0 ( #31017 )
...
Bumps [github.com/magefile/mage](https://github.com/magefile/mage ) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/magefile/mage/releases )
- [Changelog](https://github.com/magefile/mage/blob/master/.goreleaser.yml )
- [Commits](https://github.com/magefile/mage/compare/v1.10.0...v1.11.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 10:19:54 +01:00
dependabot[bot]
736a50ace4
Chore(deps): Bump github.com/grpc-ecosystem/go-grpc-middleware ( #31013 )
...
Bumps [github.com/grpc-ecosystem/go-grpc-middleware](https://github.com/grpc-ecosystem/go-grpc-middleware ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/grpc-ecosystem/go-grpc-middleware/releases )
- [Changelog](https://github.com/grpc-ecosystem/go-grpc-middleware/blob/master/CHANGELOG.md )
- [Commits](https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v1.2.1...v1.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 09:53:53 +01:00
dependabot[bot]
e2e61878ba
Chore(deps): Bump google.golang.org/api from 0.33.0 to 0.39.0 ( #30971 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.33.0 to 0.39.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/master/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.33.0...v0.39.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-09 09:28:07 +01:00
Domas
21817055bd
Logging: sourcemap support for frontend stacktraces ( #30590 )
2021-02-04 08:37:28 +02:00
dependabot[bot]
07e7f47d62
Chore(deps): Bump gonum.org/v1/gonum from 0.6.0 to 0.8.2 ( #30343 )
...
Bumps gonum.org/v1/gonum from 0.6.0 to 0.8.2.
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-01 19:13:06 +01:00
dependabot[bot]
c7975f9617
Chore(deps): Bump gopkg.in/yaml.v2 from 2.3.0 to 2.4.0 ( #30771 )
...
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/go-yaml/yaml/releases )
- [Commits](https://github.com/go-yaml/yaml/compare/v2.3.0...v2.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-01 19:09:04 +01:00
dependabot[bot]
896d3328b6
Chore(deps): Bump github.com/hashicorp/go-hclog from 0.14.1 to 0.15.0 ( #30778 )
...
Bumps [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog ) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/hashicorp/go-hclog/releases )
- [Commits](https://github.com/hashicorp/go-hclog/compare/v0.14.1...v0.15.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-01 19:04:59 +01:00
Will Browne
3b7b49a4aa
Auth: Use SigV4 lib from grafana-aws-sdk ( #30713 )
...
* replace with lib
* remove test + apply feedback
2021-02-01 16:07:27 +01:00
dependabot[bot]
27f5d482d1
Chore(deps): Bump gopkg.in/ini.v1 from 1.57.0 to 1.62.0 ( #30772 )
...
Bumps [gopkg.in/ini.v1](https://github.com/go-ini/ini ) from 1.57.0 to 1.62.0.
- [Release notes](https://github.com/go-ini/ini/releases )
- [Commits](https://github.com/go-ini/ini/compare/v1.57.0...v1.62.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-01 10:25:35 +01:00
dependabot[bot]
dd74a8f70b
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.35.5 to 1.36.31 ( #30583 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.35.5 to 1.36.31.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.35.5...v1.36.31 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 09:51:47 +01:00
dependabot[bot]
83b72ca6d0
Chore(deps): Bump github.com/prometheus/client_golang ( #30585 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.8.0...v1.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 09:37:46 +01:00
dependabot[bot]
a4fb337ea6
Chore(deps): Bump gopkg.in/macaron.v1 from 1.3.9 to 1.4.0 ( #30587 )
...
Bumps [gopkg.in/macaron.v1](https://github.com/go-macaron/macaron ) from 1.3.9 to 1.4.0.
- [Release notes](https://github.com/go-macaron/macaron/releases )
- [Commits](https://github.com/go-macaron/macaron/compare/v1.3.9...v1.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 09:30:44 +01:00
dependabot[bot]
e365aad8e2
Chore(deps): Bump github.com/google/uuid from 1.1.5 to 1.2.0 ( #30584 )
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.1.5 to 1.2.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Commits](https://github.com/google/uuid/compare/v1.1.5...v1.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 09:27:33 +01:00
Daniel Lee
b39df22574
Mssql integrated security ( #30369 )
...
* update go-mssqldb package
* mssql: support for Windows integrated security
Adds a dropdown to the config page to choose between
SQL Server auth and Windows auth. If the login/username
is empty then the go-mssqldb driver will use single sign on
(Windows integrated security) if on Windows.
* mssql: update ds - don't ignore the user column
2021-01-20 08:23:09 +01:00
dependabot[bot]
3db5abbeec
Chore(deps): Bump google.golang.org/grpc from 1.33.1 to 1.35.0 ( #30342 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.33.1 to 1.35.0.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.33.1...v1.35.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 10:49:49 +01:00
dependabot[bot]
c7b1676078
Chore(deps): Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 ( #30341 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 09:26:34 +01:00
dependabot[bot]
60f59bf630
Chore(deps): Bump github.com/google/uuid from 1.1.2 to 1.1.5 ( #30340 )
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.1.2 to 1.1.5.
- [Release notes](https://github.com/google/uuid/releases )
- [Commits](https://github.com/google/uuid/compare/v1.1.2...v1.1.5 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 09:19:01 +01:00
dependabot[bot]
dc44d5a3f0
Chore(deps): Bump github.com/hashicorp/go-version from 1.2.0 to 1.2.1 ( #30339 )
...
Bumps [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/hashicorp/go-version/releases )
- [Commits](https://github.com/hashicorp/go-version/compare/v1.2.0...v1.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 09:17:07 +01:00
Sofia Papagiannaki
2b15581339
AlertingNG: Modify queries and transform endpoint to get datasource UIDs ( #30297 )
...
* Pass skipCache from context
* Use macaron Params instead of ParamsEscape for UIDs
* Modify queries and transform to get datasource UIDs
* Update github.com/grafana/grafana-plugin-sdk-go to v0.83.0
2021-01-15 18:33:50 +02:00
Kyle Brandt
21ae4802ce
Backend: use sdk version (v0.81.0) without transform (gel) code ( #29236 )
2021-01-14 10:11:54 -05:00
Arve Knudsen
0e2f1fe3f5
Metrics API: Use jsoniter for JSON encoding ( #30250 )
...
* QueryMetricsV2: Stream response
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* API: Use jsoniter instead of standard JSON package
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-13 15:20:25 +01:00
dependabot[bot]
9e4b055b91
Chore(deps): Bump github.com/prometheus/common from 0.14.0 to 0.15.0 ( #30188 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.14.0...v0.15.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 15:26:34 +01:00
dependabot[bot]
638cf642fa
Chore(deps): Bump gopkg.in/square/go-jose.v2 from 2.4.1 to 2.5.1 ( #30189 )
...
Bumps [gopkg.in/square/go-jose.v2](https://github.com/square/go-jose ) from 2.4.1 to 2.5.1.
- [Release notes](https://github.com/square/go-jose/releases )
- [Commits](https://github.com/square/go-jose/compare/v2.4.1...v2.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 14:56:08 +01:00
dependabot[bot]
74e1a34e74
Chore(deps): Bump github.com/gosimple/slug from 1.4.2 to 1.9.0 ( #30178 )
...
Bumps [github.com/gosimple/slug](https://github.com/gosimple/slug ) from 1.4.2 to 1.9.0.
- [Release notes](https://github.com/gosimple/slug/releases )
- [Commits](https://github.com/gosimple/slug/compare/v1.4.2...v1.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-11 14:31:01 +01:00
dependabot[bot]
bf826b6944
Chore(deps): Bump github.com/fatih/color from 1.9.0 to 1.10.0 ( #30183 )
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.9.0...v1.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 14:21:30 +01:00
dependabot[bot]
922f36b386
Chore(deps): Bump github.com/lib/pq from 1.3.0 to 1.9.0 ( #30181 )
...
Bumps [github.com/lib/pq](https://github.com/lib/pq ) from 1.3.0 to 1.9.0.
- [Release notes](https://github.com/lib/pq/releases )
- [Commits](https://github.com/lib/pq/compare/v1.3.0...v1.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 14:18:55 +01:00
dependabot[bot]
cc1b9b272a
Chore(deps): Bump github.com/hashicorp/go-plugin from 1.2.2 to 1.4.0 ( #30175 )
...
Bumps [github.com/hashicorp/go-plugin](https://github.com/hashicorp/go-plugin ) from 1.2.2 to 1.4.0.
- [Release notes](https://github.com/hashicorp/go-plugin/releases )
- [Commits](https://github.com/hashicorp/go-plugin/compare/v1.2.2...v1.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-11 14:18:20 +01:00
dependabot[bot]
472d9db85b
Chore(deps): Bump github.com/getsentry/sentry-go from 0.7.0 to 0.9.0 ( #30171 )
...
Bumps [github.com/getsentry/sentry-go](https://github.com/getsentry/sentry-go ) from 0.7.0 to 0.9.0.
- [Release notes](https://github.com/getsentry/sentry-go/releases )
- [Changelog](https://github.com/getsentry/sentry-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-go/compare/v0.7.0...v0.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-11 14:17:50 +01:00
dependabot[bot]
dc7a6c2113
Chore(deps): Bump github.com/robfig/cron/v3 from 3.0.0 to 3.0.1 ( #30172 )
...
Bumps [github.com/robfig/cron/v3](https://github.com/robfig/cron ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/robfig/cron/releases )
- [Commits](https://github.com/robfig/cron/compare/v3.0.0...v3.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-11 12:09:11 +01:00
dependabot[bot]
7faa23b281
Chore(deps): Bump github.com/urfave/cli/v2 from 2.1.1 to 2.3.0 ( #30173 )
...
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli ) from 2.1.1 to 2.3.0.
- [Release notes](https://github.com/urfave/cli/releases )
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/urfave/cli/compare/v2.1.1...v2.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-11 11:50:00 +01:00
dependabot[bot]
84316ed6e5
Chore(deps): Bump github.com/mattn/go-sqlite3 from 1.11.0 to 1.14.6 ( #30174 )
...
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3 ) from 1.11.0 to 1.14.6.
- [Release notes](https://github.com/mattn/go-sqlite3/releases )
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.11.0...v1.14.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-11 10:51:05 +01:00
Joan López de la Franca Beltran
67ea8758a0
Chore: Add Enterprise dependencies ( #29994 )
...
* Docs: update auditing docs
* Chore: Add Enterprise dependencies
* Apply suggestions from code review
Co-authored-by: Agnès Toulet <agnes.toulet@gmail.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-12-29 16:37:20 +01:00
Alexander Zobnin
ac922f4e1d
Chore: update crewjam/saml library to the latest master ( #29991 )
...
this fixes bug in processing SAML response with empty Issuer element
2020-12-28 12:15:12 +03:00
Carl Bergquist
c7baca614b
Upgrade go deps. ( #29900 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2020-12-17 14:16:34 +01:00
Carl Bergquist
609d61dece
Adds go dep used by an Enterprise feature. ( #29645 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2020-12-08 16:22:24 +01:00
Carl Bergquist
b7aa6fed1d
Instrumentation: Add examplars for request histograms ( #29357 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2020-12-01 15:04:59 +01:00
Ryan McKinley
cfaca42e97
InfluxDB: update flux library and support boolean label values ( #29310 )
2020-11-23 13:19:52 -08:00
Kyle Brandt
0cb29d337a
Expressions: Move GEL into core as expressions ( #29072 )
...
* comes from grafana/gel-app
* remove transform plugin code
* move __expr__ and -100 constants to expr pkg
* set OrgID on request plugin context
* use gtime for resample duration
* in resample, rename "rule" to "window", use gtime for duration, parse duration before exec
* remove gel entry from plugins-bundled/external.json
which creates an empty array for plugins
2020-11-19 07:17:00 -05:00
Domas
76df096791
Logging: Log frontend errors ( #28073 )
...
* basic frontend Sentry integration
* backend endpoint to capture sentry events
* WIP!
* log user email for frontend logs
* remove debug logging
* lint fixes
* Fix type exports & property names
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* additional struct naming fix
* rename log endpoint, config section & interface
* add sentry sample rate to config
* refac to use EchoSrv
* log user id
* backend tests
* tests for SentryEchoBackend
* sentry echo backend tests
* CustomEndpointTransport tests
* Update pkg/api/frontend_logging_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update conf/defaults.ini
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/api/frontend_logging_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* don't export unnecesasrily
* update go.sum
* get rid of Convey in tests, use stdlib
* add sentry config to sample.ini
* cleanup to set orig logging handler in test
* Apply suggestions from code review
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* PR feedback changes
* lock sentry version
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-12 12:29:43 +01:00
Ryan McKinley
b91e9faccf
Live: update centrifuge and the ChannelHandler api ( #28843 )
2020-11-05 10:37:04 -08:00
Arve Knudsen
dff84f6a31
Chore: Remove dead code ( #28664 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-05 11:00:00 +01:00
Torkel Ödegaard
fa567de9b8
Cloudwatch: Fix issue with field calculation transform not working properly with Cloudwatch data ( #28761 )
...
* Cloudwatch: Fix issue with reducer transform not working properly with Cloudwatch data
* Updated go sdk and updated code
* CloudWatch: Improve test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-03 11:24:26 +01:00
kay delaney
c4c5b2dc61
CloudWatch Logs queue and websocket support ( #28176 )
...
CloudWatch Logs queue and websocket support
2020-10-28 08:36:57 +00:00
Arve Knudsen
70c7724b65
GCS image uploader: Add tests ( #28521 )
...
* GCS uploader: Add tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use go generate
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-26 20:35:12 +01:00
gastonqiu
1646de4540
Image uploader: Fix uploading of images to GCS ( #26493 )
...
* GCS image uploader: Re-implement with Google SDK
Signed-off-by: gaston.qiu <gaston.qiu@umbocv.com>
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-24 13:00:36 +02:00
Carl Bergquist
74d1d3c6a8
Instrumentation: Add counters and histograms for database queries ( #28236 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-19 20:06:12 +02:00
Arve Knudsen
957c88eaca
CloudWatch: Re-implement authentication ( #25548 )
...
* CloudWatch: Revisit authentication
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Simplify auth code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use ARN
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add Drone configuration
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unused code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove .drone.yml
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix external ID usage
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Fix issues after merge
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove stale code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove stale code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use auth type enum
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix test snapshot
* Coordinate frontend and backend option names
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove old comments
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix front-end tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Introduce session cache
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use constants
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix field alignment
* CloudWatch: Fix log message
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Tidy go.mod
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Handle arn auth type
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Fix role assumption duration
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Inline unnecessary constants
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Use serial comma in UI
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Inline unnecessary constants
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Fail if missing region
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Handle unconfigured region
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Log when using cached session
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Include region in cache key
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add UI warnings for lecagy support
* Do not clear ARN fields whenging change authentication provider
* Graph NG: annotations display (#27972 )
* Annotations support POC
* Fix markers memoization
* dev dashboard update
* Update public/app/plugins/panel/graph3/plugins/AnnotationsPlugin.tsx
* CloudWatch: Remove errors.BadRequest
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Undo unintentional change
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove log line
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix cache key computation
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add region to cache key
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve log messages
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CloudWatch: Add documentation
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve tooltip
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve tooltip
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add role assumption provisioning example
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add upgrade notes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Improve docs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* backend: use latest sdk (#28147 )
fixes #27713 via https://github.com/grafana/grafana-plugin-sdk-go/pull/227
* Docs: Update Permissions documentation (#28144 )
* removed overview.md
* content updates
* Update datasource_permissions.md
* update content
* content updates
* Update organization_roles.md
* Update docs/sources/enterprise/saml.md
Co-authored-by: Kyle Brandt <kyle@grafana.com>
* Update dashboard_folder_permissions.md
Co-authored-by: Kyle Brandt <kyle@grafana.com>
* area/grafana/toolkit: ci-package needs to use synchronous writes (#28148 )
* ci needs to use synchronous writes or the file ends up with zero length
* <Enterprise Docs> Add instructions to upload license via UI (#28067 )
* Add UI license upload option, reformat Enterprise license activation section
Added the option to upload a license file through the Server Admin UI, and did a little reformatting to make license activation look more like a process.
* Headers not bold, hyphens not asterisks
* Github: run metrics collector workflow every 10min (#28153 )
* GithubActions: Updated cron schedule
* Updated
* Docs: Update explore docs: remove dot at the end of line (#28151 )
HI - Removed Dot(.) at the end of line to make it consistent with other 2 points.
Thanks,
Ashish
* Fix frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Docs: Update upgrade notes
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Kyle Brandt <kyle@grafana.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Brian Gann <briangann@users.noreply.github.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: ashishagarwal06 <34888589+ashishagarwal06@users.noreply.github.com>
2020-10-12 17:58:58 +02:00
Kyle Brandt
768392f45f
backend: use latest sdk ( #28147 )
...
fixes #27713 via https://github.com/grafana/grafana-plugin-sdk-go/pull/227
2020-10-09 12:05:11 -04:00
Alexander Zobnin
b55a51e270
SAML Single Logout ( #27995 )
...
* SAML: single logout WIP
* SAML: sign SAML requests
* SAML: remove unnecessary logs
* fix go mod file
* Docs: Single Logout
* SAML: use api endpoint for single logout
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* SAML: save context for single logout
* Chore: add SAML dependencies
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-10-08 17:42:55 +03:00
Emil Tullstedt
2e4191afca
Chore(crewjam/saml): go get -u ( #27598 )
2020-09-15 16:38:23 +02:00
Ryan McKinley
aa40320b45
Live: check logged-in-user for grafana live ( #27436 )
2020-09-15 00:01:14 -07:00
Marcos Mendez
4e94c0959a
Image Store: Add support for using signed URLs when uploading images to GCS ( #26840 )
...
Enables creating signed URLs when uploading images to Google Cloud Storage.
By using signed urls, not only is the public URL expiration configurable but the
images in the bucket are not publicly accessible.
Fixes #26773
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-09-07 19:10:14 +02:00
Arve Knudsen
19c8097595
Chore: Upgrade to Go 1.15.1 ( #27326 )
...
* Chore: Upgrade to Go 1.15.1
2020-09-02 15:51:19 +02:00
Joan López de la Franca Beltran
57b2d08755
Core: Add go-grpc-middleware dependency ( #27231 )
2020-08-28 15:33:21 +02:00
Joan López de la Franca Beltran
c91bfd8299
Core: Add loki/logproto dependency ( #27124 )
...
* Add grafana/loki dependency and update its dependencies
* Update grpcplugin log_wrapper to implement the latest version of hclog.Logger
* Remove panic handling + test case no longer needed since the source of panics (bug) was fixed
2020-08-25 11:52:21 +02:00
Ryan McKinley
cd9a773427
InfluxDB: use converters from SDK ( #27138 )
2020-08-24 13:19:32 -07:00
Arve Knudsen
3b248fccc8
Drone: Add Windows PR pipeline ( #26589 )
...
* Drone: Add Windows PR pipeline
* CI: Add Dockerfile for WiX image
2020-08-19 11:46:36 +02:00
Arve Knudsen
be3bf80749
InfluxDB: Upgrade to latest InfluxDB Go client ( #27021 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-17 08:32:26 +02:00
Arve Knudsen
50ebbb625e
InfluxDB: Upgrade Go client, use data source HTTP client ( #27012 )
...
* InfluxDB: Upgrade Go client, use data source HTTP client
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unnecessary Close
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-14 18:40:02 +02:00
Arve Knudsen
16c185c3b9
Chore: Drop xerrors dependency ( #26718 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-31 09:45:20 +02:00
Ryan McKinley
339138d61a
Live: include a streaming event manager ( #26537 )
2020-07-27 00:26:16 -07:00
Ryan McKinley
1f271d06e9
InfluxDB: flux query result can cause crash ( #26329 )
2020-07-14 11:06:27 -07:00
Arve Knudsen
bbe8cc4c84
Chore: Upgrade go-mssqldb ( #26188 )
...
* Chore: Upgrade go-mssqldb
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Apply feedback from reviews
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-13 13:19:40 +02:00
Kyle Brandt
c1ede4fc71
backend: use latest go plugin sdk (0.74.0) to sort wide frames ( #26207 )
...
This makes it so results are more stable between refreshes of data and fixes sorting issues with Azure Application Insights service as well as the two Azure Analytics services.
fixes #22937
2020-07-10 12:22:50 -04:00
kay delaney
fd29b952a6
Backend: use latest Go plugin SDK ( #26162 )
2020-07-08 15:26:49 +01:00
Dhananjay
3ef06a0c88
Cloudwatch: Add Support for external ID in assume role ( #23685 )
...
Co-authored by: Arve Knudsen
2020-07-02 15:24:36 +02:00
Kyle Brandt
d243cd9421
Backend: use latest Go plugin sdk ( #25909 )
...
* backend: use latest go plugin sdk which fixes #25287
* update for Frame.Meta.Custom SDK changes
2020-06-29 16:20:24 -04:00
Arve Knudsen
dcd5752086
Chore: Upgrade macaron ( #25869 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-06-29 19:15:11 +02:00
Marcus Efraimsson
5d1508ed8c
Instrumentation: Fix setting Jaeger tracing address through Grafana config ( #25768 )
...
Upgrades jaeger-client-go to v2.24.0 to resolve problem with setting Jaeger tracing
address through Grafana config.
Fixes #25563
2020-06-23 19:23:49 +02:00
Ryan McKinley
05ed781184
InfluxDB: use released client 1.3.0 ( #25725 )
2020-06-22 10:19:26 -07:00
Marcus Efraimsson
c0f3b2929c
Backend plugins: Refactor to allow shared contract between core and external backend plugins ( #25472 )
...
Refactor to allow shared contract between core and external backend plugins
allowing core backend data sources in Grafana to be implemented in same
way as an external backend plugin.
Use v0.67.0 of sdk.
Add tests for verifying plugin is restarted when process is killed.
Enable strict linting for backendplugin packages
2020-06-11 16:14:05 +02:00
Ryan McKinley
5f1f820bb9
Influx: Support flux in the influx datasource ( #25308 )
...
* add flux
* add token to datasource config editor
* add backend for flux
* make the interpolated query available in query inspector
* go mod tidy
* Chore: fixes a couple of strict null errors in influxdb plugin
Co-authored-by: kyle <kyle@grafana.com>
Co-authored-by: Lukas Siatka <lukasz.siatka@grafana.com>
2020-06-10 15:26:24 -04:00
Kyle Brandt
17d3bb4287
backend: use latest Go sdk ( #25304 )
...
* uses plugin-sdk-go v0.66.0, which adds adds the ExecutedQueryString property to FrameMeta and changes s/Title/DisplayName in FieldConfig
* go mod tidy
2020-06-03 04:03:37 -04:00
Marcus Efraimsson
890e1d8f94
Backend plugins: Send query type to backend plugins ( #24120 )
...
Use v0.60.0 of sdk.
2020-05-05 10:32:34 +02:00
Kyle Brandt
0dc8f4ea89
backend_plugins: duration support in Frame ( #23962 )
...
sdk v0.57.0
go mod tidy
2020-04-27 14:48:20 -04:00
kay delaney
f48ba11d4c
Datasource/Cloudwatch: Adds support for Cloudwatch Logs ( #23566 )
...
* Datasource/Cloudwatch: Adds support for Cloudwatch Logs
* Fix rebase leftover
* Use jsurl for AWS url serialization
* WIP: Temporary workaround for CLIQ metrics
* Only allow up to 20 log groups to be selected
* WIP additional changes
* More changes based on feedback
* More changes based on PR feedback
* Fix strict null errors
2020-04-25 22:48:20 +02:00
Kyle Brandt
80e1191ca0
Backend Plugins: (breaking change) Add PluginContext ( #23788 )
...
* breaking change for newer backend plugins
* use exported protobuf converters and sdk types to reduce duplicate code
* uses grafana-plugin-sdk-go@v0.54.0
2020-04-23 14:08:21 -04:00
Marcus Efraimsson
871ad73414
Backend plugins: Renderer v2 plugin ( #23625 )
...
grafana-plugin-model is legacy and is replaced by new backend
plugins SDK and architecture. Renderer is not part of SDK and
we want to keep it that way for now since it's highly unlikely there
will be more than one kind of renderer plugin.
So this PR adds support for renderer plugin v2.
Also adds support sending a Device Scale Factor parameter to the
plugin v2 remote rendering service and by that replaces #22474 .
Adds support sending a Headers parameter to the plugin v2 and
remote rendering service which for now only include
Accect-Language header (the user locale in browser when using
Grafana), ref grafana/grafana-image-renderer#45 .
Fixes health check json details response.
Adds image renderer plugin configuration settings in defaults.ini
and sample.ini.
Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com>
2020-04-21 16:16:41 +02:00
Ryan McKinley
aaab636bf4
Plugins: verify manifest signature ( #23519 )
...
* try decode
* vendor crypto deps
* commited missing vendor deps
* Theme: Refactoring theme colors variables (#23513 )
* Theme: Typography updates
* Updated
* Updated snapshot
* Renamed colors to palette
* Introduce colors namespace
* Massive theme color move
* Removing color selection logic with more abstract concepts
* Updates
* Minor sidemenu change
* Fix example jaeger agent port in docs (#23514 )
* @grafana/ui: Replace various icons using Icon component (#23442 )
* Replace icons in dashboard and settings
* Replace icons in alerting
* Update batch of icons
* Implement icons accross various files
* Style updates
* Search: Fix recent and starred icons
* Update styling and details
* Replace new icon created by unicons
* Fix e2e test, styling
* Minor styling updates
Co-authored-by: Clarity-89 <homes89@ukr.net>
* trying with p512 key
* trying with p512 key
* lint
* update with real signatures
* fixes spacing in test files
* remove convey from test
* use errutil to wrap errors
* removes print statement
* splitt tests into two run statements
* unexport plugin manifest struct
Co-authored-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
Co-authored-by: Clarity-89 <homes89@ukr.net>
2020-04-14 06:02:39 -07:00
Kyle Brandt
5153673884
BackendPlugins: update to sdk v0.42.0
...
misc cleanup
2020-04-09 15:47:30 -04:00
Marcus Efraimsson
a29056966c
Use v0.39.0 of SDK ( #23388 )
2020-04-08 18:54:23 +02:00
Arve Knudsen
7799dd84c1
Chore: Upgrade to Go 1.14 ( #23371 )
...
* Chore: Upgrade to Go 1.14
* Chore: Bump version of grafana/grafana-ci-deploy Docker image
* Chore: Fix/bump version of grafana/build-container Docker image
* CircleCI: Upgrade build Docker images
2020-04-08 14:13:05 +02:00
Kyle Brandt
f6cbb26167
BackendPlugin: Change QueryData response format ( #23234 )
...
* BackendPlugin: (wip) change response format
goes with https://github.com/grafana/grafana-plugin-sdk-go/pull/109
* fix error mapping in wrapper
* latest of my sdk branch
* latest of my sdk branch
* TransformWrapper fixes
* latest of sdk branch (removes extra meta)
* add metadata in wrappers
* also set error string
* sdk: v0.35.0
2020-04-07 10:13:14 -04:00
Noval Agung Prayogo
ea35ae4d1f
Chore: Update the xorm dependency ( #22376 )
...
* Upgrade xorm
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-04-01 15:57:21 +02:00
Agnès Toulet
f63877f247
Core: Add go-datemath library ( #22978 )
2020-03-26 10:26:47 +01:00
Marcus Efraimsson
b0253219eb
Use v0.33.0 of SDK ( #23031 )
2020-03-24 15:01:02 +01:00
Kyle Brandt
0e09a3fe15
Alerting: support alerting on data.Frame (that can be time series) ( #22812 )
...
data.Frame (that can be series) are converted to as tsdb.TimeSeriesSlice - so new backend plugins can be shimmed into existing alerting
use sdk v0.31.0
2020-03-18 10:30:07 -04:00
Carl Bergquist
b0407b3578
upgrades plugin sdk to 0.30.0 ( #22846 )
...
ref grafana/grafana-plugin-sdk-go#94
ref grafana/grafana-plugin-sdk-go#70
2020-03-17 16:58:52 +01:00
Carl Bergquist
ebc9549cbc
Add support for sending health check to datasource plugins. ( #22771 )
...
closes #21519
ref grafana/grafana-plugin-sdk-go#93
2020-03-13 12:31:44 +01:00
Kyle Brandt
69a5530aec
Backend Plugins: use sdk v0.26.0 ( #22725 )
...
allows Field names to be duplicated, goes with #22705
2020-03-11 10:06:16 -04:00
Kyle Brandt
73c4bef70f
Dependency: sdk's dataframe package renamed to data ( #22700 )
...
* use sdk 0.24.0
2020-03-10 15:42:15 -04:00
Carl Bergquist
5f94d31da9
Send jsondata for Datasources on DatasourceConfig for backend plugins ( #22681 )
...
ref https://github.com/grafana/grafana-plugin-sdk-go/pull/84
2020-03-10 15:18:27 +01:00
Marcus Efraimsson
c12245bbb3
Backend plugins: Updates due to changes in SDK ( #22649 )
...
Use v0.20.0 of SDK
2020-03-10 12:59:03 +01:00
Marcus Efraimsson
4ff613a432
Backend Plugins: Support handling of streaming resource response ( #22580 )
...
Use v0.19.0 of SDK.
Support handling of streaming resource response.
Disable gzip/compression middleware for resources
to allow chunked/streaming response to clients the gzip
middleware had to be disabled since it buffers the full
response before sending it to the client.
Closes #22569
Co-Authored-By: Arve Knudsen <arve.knudsen@gmail.com>
2020-03-06 01:44:07 +07:00
Marcus Efraimsson
c6cc840ceb
Chore: Modules tidy and vendor ( #22578 )
2020-03-05 00:45:05 +01:00
Erik Sundell
934a8f08ae
Stackdriver: Project selector ( #22447 )
...
* clean PR #17366
* udpate vendor
* [WIP] Implement projects management for stackdriver
* [WIP] Implement projects management for stackdriver
* [WIP] Implement projects management for stackdriver
* Implement projects management for stackdriver
* [WIP][Tests] Fix errors
* clean anonymous struct
* remove await
* don't store project list
* Add default project on query editor
* gofmt
* Fix tests
* Move test data source to backend
* Use segment instead of dropdown. remove ensure default project since it's not being used anymore.
* Fix broken annotation editor
* Load gceDefaultAccount only once when in the config page
* Reset error message on auth type change
* Add metric find query for projects
* Remove debug code
* Fix broken tests
* Fix typings
* Fix lint error
* Slightly different approach - now having a distiction between config page default project, and project that is selectable from the dropdown in the query editor.
* Fix broken tests
* Attempt to fix strict ts errors
* Prevent state from being set multiple times
* Remove noOptionsMessage since it seems to be obosolete in react select
* One more attempt to solve ts strict error
* Interpolate project template variable. Make sure its loaded correctly when opening variable query editor first time
* Implicit any fix
* fix: typescript strict null check fixes
* Return empty array in case project endpoint fails
* Rename project to projectName to prevent clashing with legacy query prop
* Fix broken test
* fix: Stackdriver - template replace on filter label
should have a regex format as that escapes the dots
in the label name which is not valid.
Co-authored-by: Labesse Kévin <kevin@labesse.me>
Co-authored-by: Elias Cédric Laouiti <elias@abtasty.com>
Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
2020-03-02 09:31:09 -05:00
Arve Knudsen
eb98d9c15b
grafana-cli: Upgrade to urfave/cli v2 ( #22402 )
...
* grafana-cli: Upgrade to urfave/cli v2
2020-02-26 12:27:31 +01:00
Marcus Efraimsson
9d7c74ef91
Backend Plugins: Provide proper plugin config to plugins ( #21985 )
...
Properly provides plugin configs to backend plugins.
Uses v0.16.0 of grafana-plugin-sdk-go-
Ref #21512
Ref #19667
2020-02-19 19:17:05 +01:00
twendt
ff6a082e23
Auth: Azure AD OAuth ( #20030 )
...
* Implement Azure AD oauth
* Use go-jose and cleanup
* Update go-jose in go.mod
* cleanup
* Add unit tests
* Fix scopes
* Add documentation page
* Improve documentation
* Convert extract_role into function.
* Do not use upn and replace unique_name with preferred_username
* Configure login button
* Use official microsoft icon and color from branding guideline.
* Add Azure AD config section in sample.ini.
2020-02-13 12:12:25 +03:00
Marcus Efraimsson
0390b5601e
Backend plugins: Implement support for resources ( #21805 )
...
Implements initial support for resources using v0.14.0 of SDK.
Ref #21512
2020-01-31 11:15:50 +01:00
John Dyer
0fcb2d0b2f
Alerting: Support passing tags to Pagerduty and allow notification on specific event categories ( #21335 )
...
Add support for passing tags to Pagerduty and allow notification
on specific event categories such as Class, Group and Component.
Ref #19912 , #19913
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-01-23 13:20:07 +01:00
Kyle Brandt
5a31e48548
Vendor: grafana-plugin-sdk-go v0.11.0 ( #21552 )
...
upgrades https://github.com/grafana/grafana-plugin-sdk-go from v0.6.0 to v0.11.0
2020-01-16 12:53:51 -05:00
Marcus Efraimsson
5c711bfb79
Backend Plugins: Collect and expose metrics and plugin process health check ( #21481 )
...
Adds support for collecting metrics from backend plugins and
exposing them thru Grafana's Prometheus metrics endpoint.
Enables to check health of backend plugin by using the route
`/api/plugins/<plugin id>/health`.
Uses sdk v0.6.0.
Closes #20984
2020-01-15 13:10:48 +01:00
Marcus Efraimsson
baba1634b8
Plugins: Use grafana-plugin-sdk-go v0.5.0 ( #21116 )
...
* fix dispense
* plugin loading refactor
Moves common functionality of registering, starting,
stopping and restarting backend plugins to
backendplugin package.
* simplify plugin descriptors
* target sdk v0.5.0
Co-authored-by: Kyle Brandt <kyle@kbrandt.com>
2020-01-08 11:43:28 -05:00
Ryan McKinley
57c8155971
Websockets: upgrade websocket libray to 1.4.1 ( #21280 )
2019-12-29 23:07:38 -08:00
Dave Henderson
66b70b50b8
Tracing: Support configuring Jaeger client from environment ( #21103 )
...
* Tracing: Support configuring Jaeger client from environment
* Tracing: Replace deprecated Jaeger Client call
2019-12-18 20:09:15 +01:00
Emil Tullstedt
fe8b533497
Modules: Add patched goavro dependency for extensions ( #21027 )
2019-12-11 14:44:29 +01:00
Mitsuhiro Tanda
0c89b93ce0
upgrade aws-sdk-go ( #20957 )
...
Upgrading aws-sdk-go since there's additional changes
for IMDSv2 support.
2019-12-10 10:26:53 +01:00
Emil Tullstedt
30771f25bf
Revert "Modules: Add goavro dependency for extensions ( #20920 )" ( #20928 )
...
Goavro doesn't compile on 32-bit systems.
This reverts commit 413be3a6a0
.
2019-12-06 14:10:07 +01:00
Emil Tullstedt
413be3a6a0
Modules: Add goavro dependency for extensions ( #20920 )
2019-12-06 10:33:19 +01:00
Mitsuhiro Tanda
a1605c58d9
CloudWatch: Upgrade aws-sdk-go ( #20510 )
...
There is security risk of SSRF if Grafana is running on EC2.
#20508
2019-12-02 19:25:44 +01:00
Kyle Brandt
4afd40018b
transform: update to use sdk with frame.labels moved to frame.[]field.labels ( #20670 )
...
sdk v0.4.0
2019-11-26 13:28:16 -05:00
Kyle Brandt
c9309edbb0
transform: changes to support sdk v0.2.0 ( #20426 )
...
and update vendor
2019-11-18 11:40:40 -05:00
Kyle Brandt
ef4d98b441
Chore/Go-dep: change sdk to use new tag ( #20422 )
...
dependency code is the same, just new tag for same commit
2019-11-15 12:10:20 -05:00
Torkel Ödegaard
be2bf1a297
AuthProxy: Can now login with auth proxy and get a login token ( #20175 )
...
* AuthProxy: Can now login with auth proxy and get a login token
* added unit tests
* renamed setting and updated docs
* AuthProxy: minor tweak
* Fixed tests and namings
* spellfix
* fix
* remove unused setting, probably from merge conflict
* fix
2019-11-07 17:48:56 +01:00
Stephan Eicher
8cf75b4e75
pkg/util: Replace custom pbkdf2 implementation by maintained version ( #19941 )
2019-11-06 10:03:10 +02:00
Kyle Brandt
17f36d0492
sdk: update to latest ( #20182 )
...
which removes an unused field from the Transform api
2019-11-05 14:12:54 -05:00
Leonard Gram
30775a3f49
Build: adds the pkg/errors dependency that was missing from go.mod ( #20143 )
...
This dependency was added a while back and exists in the vendor
directory but was never properly added to go.mod.
2019-11-01 16:54:44 +01:00
gotjosh
378208c6ae
Depedency: Bump crewjam/saml to the latest master ( #20126 )
...
* Dependency: Bump our SAML Library to the latest version
Fixes a non-obligatory check for RSA encrypted assertions. Previously they required a certificate embedded in the assertion, this is not mandatory according to the SAML standard.
2019-11-01 10:32:47 +00:00
Kyle Brandt
009d58c4a2
Plugins: Transform plugin support ( #20036 )
...
currently temporary separate http api
2019-10-29 12:22:31 -04:00
Sofia Papagiannaki
fc08c26025
WIP: Spawn backend plugins v2 ( #19835 )
...
* WIP: Spawn backend plugins v2
* Add test for plugin version
* Fix support for SDK plugins
Co-authored-by: Kyle Brandt <kyle@kbrandt.com>
Co-authored-by: Marcus Olsson <olsson.e.marcus@gmail.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* WIP: Draft PR for fork of V2 sdk / bi-directional support (#19890 )
* temporary use export-datasource-plugin branch of grafana-plugin-sdk
* fix failing test
* remove debug (spew) lines
* misc cleanup
* add expressions feature toggle
* use latest grafana-plugin-sdk-go
2019-10-24 17:15:27 +02:00
Patrik Karlström
b848276fb8
Update aws-sdk-go ( #19138 )
...
With the recent release of IAM roles for service accounts
the AWS sdk needs to be updated to at least 1.23.13 in
order to utilize this feature.
2019-10-14 20:39:54 +02:00
Arve Knudsen
39d8e73412
Chore: Upgrade to Go 1.13 ( #19502 )
...
* Chore: Upgrade to Go 1.13
Fixes : #18878
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: Upgrade lint tools in order to work with Go 1.13
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: Fix Go linting issues
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2019-10-02 13:59:05 +02:00
Marcus Efraimsson
93919427f8
Upgrade grafana-plugin-model ( #19438 )
...
* use grafana-plugin-model dependency that uses go modules
* use grafana-plugin-model with updated hashicorp/go-plugin
* use grafana-plugin-model with re-compiled protos
* test using protoc-gen-go v1.2.0 tag
* use grafana-plugin-model with re-compiled protos
* chore: fix deprecation warning for lint
* use latest grafana-plugin-model
Fixes #19454
2019-09-30 15:16:04 +02:00
Sofia Papagiannaki
de075e529d
Build: Fix potential case-insensitive import collision for github.com/Unknwon/com ( #18915 )
...
* update gopkg.in/macaron.v1
* update github.com/go-macaron/binding
* update github.com/go-macaron/session
* Substitute github.com/Unknwon/com with github.com/unknwon/com
* Clean up modules using `go mod tidy`
* Substitute github.com/Unknwon/bra with github.com/unknwon/bra
2019-09-09 14:22:06 +03:00
Marcus Olsson
5bb15cf3e2
Build: Update ua-parser/uap-go ( #18788 )
2019-09-02 11:02:26 +02:00
Oleg Gaidarenko
1a4be4af8c
Enterprise: add dependencies for upcoming features ( #18793 )
...
* Enterprise: add dependencies for upcoming features
See enterprise issues
2019-08-30 18:14:32 +02:00
Kyle Brandt
f689b60426
remotecache: support SSL with redis ( #18511 )
...
* update go-redis lib from v2 -> v5
* add ssl option to the redis connection string
fixes #18498
2019-08-13 06:51:13 -04:00
The Rock Guy
cbfdac43d8
Postgres: Add support for scram sha 256 authentication ( #18397 )
...
Allow datasource connection to postgres with password "scram-sha-256"
authentification.
Fixes #14662
2019-08-06 10:01:28 +02:00
gotjosh
e6b8a1529b
SAML: Configuration defaults, examples and dependencies ( #17954 )
...
* Add SAML configuration options
* Add crewjam/saml as a depdency
Needed as part of the enterprise SAML integration.
* Vendor github.com/stretchr/testify/require
The package require implements the same assertions as the `assert` package but stops test execution when a test fails.
2019-07-05 11:27:14 +01:00
Oleg Gaidarenko
ca136c7c22
Devenv:LDAP: couple simplifications for LDAP ( #17807 )
...
* Add LDAP config instead sed use
* Add container name
* Add SizeLimit option to client and to server.
Probably useless at this point, but it's better to have it then otherwise
2019-07-01 15:09:04 +03:00
Shavonn Brown
a20309d7d2
Feature: Parse user agent string in user auth token api response (#16… ( #17504 )
...
* Feature: Parse user agent string in user auth token api response (#16222 )
* Adding UA Parser Go modules attempt (#16222 )
* Bring user agent vals up per req
* fix tests
* doc update
* update to flatten, no maps
* update doc
2019-06-11 14:12:52 +02:00
Oleg Gaidarenko
d4ef19737e
Enterprise: remove gofakeit dep ( #17344 )
...
* Enterprise: remove gofakeit dep
Since we decided to use our uuid generation inside util module
* Enterprise: result of execution of `go mod ...`
2019-05-29 15:55:51 +03:00
Oleg Gaidarenko
35f227de11
Feature: LDAP refactoring ( #16950 )
...
* incapsulates multipleldap logic under one module
* abstracts users upsert and get logic
* changes some of the text error messages and import sort sequence
* heavily refactors the LDAP module – LDAP module now only deals with LDAP related behaviour
* integrates affected auth_proxy module and their tests
* refactoring of the auth_proxy logic
2019-05-17 14:57:26 +03:00
Carl Bergquist
c55e6016bf
backend: replace /pkg/errors with errutil ( #17065 )
2019-05-15 12:20:17 +02:00
Oleg Gaidarenko
62b85a886e
LDAP Refactoring to support syncronizing more than one user at a time. ( #16705 )
...
* Feature: add cron setting for the ldap settings
* Move ldap configuration read to special function
* Introduce cron setting (no docs for it yet, pending approval)
* Chore: duplicate ldap module as a service
* Feature: implement active sync
This is very early preliminary implementation of active sync.
There is only one thing that's going right for this code - it works.
Aside from that, there is no tests, error handling, docs, transactions,
it's very much duplicative and etc.
But this is the overall direction with architecture I'm going for
* Chore: introduce login service
* Chore: gradually switch to ldap service
* Chore: use new approach for auth_proxy
* Chore: use new approach along with refactoring
* Chore: use new ldap interface for auth_proxy
* Chore: improve auth_proxy and subsequently ldap
* Chore: more of the refactoring bits
* Chore: address comments from code review
* Chore: more refactoring stuff
* Chore: make linter happy
* Chore: add cron dep for grafana enterprise
* Chore: initialize config package var
* Chore: disable gosec for now
* Chore: update dependencies
* Chore: remove unused module
* Chore: address review comments
* Chore: make linter happy
2019-04-26 15:47:16 +03:00
bergquist
a8326e3e93
build: removes unused vendored files
2019-04-26 13:35:48 +02:00
Andrej Ocenas
c429934a66
Chore: Use x/xerrors instead of pkg/errors ( #16668 )
...
* Use xerrors instead of pkg/errors
* Add Wrap util func
* Move Wrap to errutil package
2019-04-23 11:50:31 +02:00
Carl Bergquist
3f136e0da9
tech: replace bmizerany/assert with stretchr/testify ( #16625 )
...
bmizerany is old and unsupported. so we are replacing it
with stretchr which is an drop in replacement and something
we want to use more in Grafana.
2019-04-17 10:25:58 +02:00
Torkel Ödegaard
75f9adf44f
Build: adding dependency used by extensions ( #16622 )
2019-04-16 15:26:39 +02:00
Carl Bergquist
68f5ddf18c
replace dep with go modules ( #16017 )
...
- guide shamelessly stolen from prometheus/prometheus
- updates local interface of oauth exchange
- updates local impl of hclogger
- bump jaeger client version
closes #16088
2019-04-16 12:00:55 +02:00