Jan Garaj
28dbbe9f5f
CloudWatch: Add CloudWatchSynthetics dimension ( #60832 )
2023-01-13 14:56:29 +01:00
Andres Martinez Gotor
f6e735cd29
AzureMonitor: Keep resource in the URL for single requests ( #61414 )
2023-01-13 12:30:45 +01:00
Ieva
e543c10e25
RBAC: Remove RBAC mock from plugin installation tests ( #61416 )
...
remove ac mock from plugin installation tests
2023-01-13 09:34:20 +00:00
Karl Persson
0d572ff2ce
AuthN: Add check for disabled identities ( #61382 )
...
* AuthN: return error if identity is disabled
* AuthN: Remove isDisabled check in client
* AuthN: Format imports
2023-01-13 10:28:50 +01:00
Karl Persson
b5255ebfdf
RBAC: Update org rbac tests to not use mocked access control ( #61211 )
...
* API: Rewrite legacy access control and rbac tests for current org
endpoint
* API: Rewrite legacy and rbac endpoint tests for update current and
target org
* API: rewrite access control tests for create org
* API: Rewrite delete org api access control tests
* API: rewrite search org access control tests to not use mocked access
control
* API: Rewrite get org and get org by name access control tests to not use
mocked access control
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2023-01-13 10:22:32 +01:00
idafurjes
490a787d9d
Chore: Move tem member models to team pkg ( #61294 )
...
* Chore: Move tem member models to team pkg
* Fix test lint
2023-01-13 09:43:38 +01:00
KonH
4421b31b66
Loki/Prometheus: Change signature - return non-reference from ReadPrometheusStyleResult ( #57209 )
...
* Change signature - return non-reference from ReadPrometheusStyleResult
Related to https://github.com/grafana/grafana/issues/52430
* Fix invalid reference usage
* Potential fix for test data
* Remove additional ref usage
* Revert "Potential fix for test data"
This reverts commit 94ed588ab3 .
* Commit changed test data
* Revert unwanted conflict resolution
* Add additional condition to track empty responses
* Setup valid empty response
* Re-introduce changes reverted by merge
2023-01-13 09:00:39 +01:00
Alex Khomenko
078f2d4481
Admin: Remove navigation subheaders ( #61344 )
...
* Admin: Remove navigation subheaders
* Admin: Fix tests
2023-01-13 08:32:09 +02:00
Ryan McKinley
0c20fe0ac9
EntityAPI: Include folder support and watch API stubs ( #61338 )
2023-01-13 00:39:36 +00:00
gotjosh
49ae1bbe63
Introduce AlertingConfiguration that implements alerting.Configuration ( #61427 )
...
* Introduce `AlertingConfiguration` that implements `alerting.Configuration`
2023-01-12 16:03:07 -04:00
gotjosh
fd6f107ded
Alerting Unification: Use the errors from grafana/alerting in Alerts ( #61425 )
2023-01-12 15:23:34 -04:00
gotjosh
ddb85ad6ad
Use the ClusterPeer interface from grafana/alerting ( #61409 )
...
* Use the Cluster interface from grafana/alerting
2023-01-12 14:47:22 -04:00
gotjosh
2d1faae0b5
Alerting Unification: Use alerting.MaintenanceOptions to configure silences and nflog ( #61384 )
2023-01-12 12:31:38 -04:00
Andres Martinez Gotor
9055e1993d
AzureMonitor: API support for multiple resources ( #61315 )
2023-01-12 17:25:13 +01:00
Gábor Farkas
57425234c9
elastic: backend: removed unused time-field ( #61362 )
...
* elastic: backend: removed unused time-field
* improve comment formatting
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2023-01-12 15:52:32 +00:00
Eric Leijonmarck
91322bebb5
Auth: Add skip_org_role_sync setting for GrafanaCom ( #60553 )
...
* add frontend settings and setting for grafanacom
* removed println
* add skip-org-role-sync on login
* add deprecation notice for this field
* remove println
* remove newline
* change and renamed variables
* fix for reconfiguring the settings for grafanacom
* add documentationf or grafanacom setup
* WIP tests
* added tests
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* updated steps
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* doc: updated the docs to reflect what happens to grafana.com users
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jo <joao.guerreiro@grafana.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Jo <joao.guerreiro@grafana.com >
* Update docs/sources/setup-grafana/configure-security/configure-authentication/grafana-com/index.md
Co-authored-by: Jo <joao.guerreiro@grafana.com >
* add blankline
* rephrase of doc improvements for explaing of the settings
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jo <joao.guerreiro@grafana.com >
* add frontend setting for grafanacom.
* WIP tests
* refactor docs
* frontend to adhere to skipping org role sync for GrafanaCom users
* update docs to reflect desired behavior
* tests: added test for skip and nonskip
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
Co-authored-by: Jo <joao.guerreiro@grafana.com >
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2023-01-12 16:44:08 +01:00
malcolmholmes
3a1cf11055
Schema: Fix iterator for MajorsOrX ( #61363 )
2023-01-12 09:39:23 -05:00
gotjosh
39e429a14b
Alerting Unification: Use the errors from grafana/alerting in Silences ( #61334 )
2023-01-12 10:03:49 -04:00
Karl Persson
3e8857acb8
AuthN: Post login hooks ( #61287 )
...
* AuthN: add the ability to register post login hooks
* AuthN: add a guard for the user id
* AuthN: Add helper to create external user info from identity
* AuthN: Pass auth request to password clients
* AuthN: set auth module and username in metadata
2023-01-12 15:02:04 +01:00
Jan Garaj
d5da42bbbc
CloudWatch: Add RDS dimension ( #61027 )
2023-01-12 11:47:12 +01:00
Jan Garaj
056d5df285
CloudWatch: Add MaxProvisionedTableReadCapacityUtilization AWS/DynamoDB metric name ( #60829 )
2023-01-12 11:07:25 +01:00
ying-jeanne
7339dbc090
Chore: Refectory of shorturl service, move models into service ( #61295 )
...
Chore: refectory of shorturl service, move models into service
2023-01-12 17:13:47 +08:00
gotjosh
f85a948214
Alerting Unification: Use the State interface from the alerting package ( #61333 )
2023-01-11 19:50:45 -04:00
Ezequiel Victorero
34a865ebf0
PublicDashboards: remove publicDashboardUID from insights event request ( #60649 )
2023-01-11 18:25:18 -03:00
Denis Limarev
90badc8729
Performance: Add preallocation for some slices ( #59593 )
2023-01-11 18:03:37 +01:00
Yuri Tseretyan
b4e1e1871f
Alerting: Fix evaluation timeout ( #61303 )
2023-01-11 10:52:54 -05:00
Guilherme Caulada
1a9b6873e6
Store: Add mock for system users to be used in tests ( #61245 )
...
Add mock for system users to be used in tests
2023-01-11 11:50:22 -03:00
ying-jeanne
6c6a970f56
[Chore] Remove health check that is not used ( #61283 )
2023-01-11 22:07:28 +08:00
Todd Treece
19ca93d5ce
Prometheus: Fix concurrency issue with exemplar sampler initialization ( #61281 )
2023-01-11 08:27:47 -05:00
idafurjes
f2ffce4351
Chore: Move team models to models pkg ( #61262 )
...
* Chore: Move team models to models pkg
* Fix ACL tests
* More ACL tests
* Change Id to ID in conflict user command test
* Remove team from models
* Fix ac test lint
2023-01-11 14:20:09 +01:00
Carl Bergquist
672b1711b0
Instrumentation: measure time until plugin request ( #61279 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2023-01-11 13:19:06 +00:00
Levente Balogh
6b2394eff1
Connections: Make "Connect data" a section title ( #61144 )
...
* Wip
* Fix: change tests to cater for the new scenario
* feat(Connections): redirect to "Your connections / Datasources" if cannot admin plugins
2023-01-11 11:40:21 +01:00
Emil Tullstedt
649b50055c
Chore: Move all backend contribution documents to a single directory ( #61140 )
2023-01-11 11:16:52 +01:00
Sean Dague
4de0149bd9
OAuth: Support pagination for GitHub orgs ( #58648 )
...
* Support pagination for github orgs
* fix unused variable
* Increase initial page to 100 per the way teams work
2023-01-11 09:52:17 +01:00
ying-jeanne
f9daf61e96
[Bug] Fix xorm dependency on yaml v2 2.2.3 ( #61183 )
...
fix xorm dependency on yaml v2 2.2.3
2023-01-11 08:08:28 +00:00
Erik Sundell
c72ab21096
Cloudwatch: Refactor log group fields request ( #60909 )
...
* cloudwatch/log-group-fields-refactor
* remove not used code
* remove empty line
* fix broken test
* add tests
* Update pkg/tsdb/cloudwatch/routes/log_group_fields_test.go
Co-authored-by: Isabella Siu <Isabella.siu@grafana.com >
* pr feedback
Co-authored-by: Isabella Siu <Isabella.siu@grafana.com >
2023-01-11 08:12:58 +01:00
Matthew Jacobson
63ba3ccb58
Alerting: Improve legacy migration to include send reminder & frequency ( #60275 )
...
* Alerting: Improve legacy migration to include send reminder & frequency
Legacy channel frequency is migrated to the channel's migrated route's
repeat interval if send reminder is true. If send reminder is false, we
pseudo-disable the repeat interval by setting it to a large value (1y).
If there were no default channels, the root notification policy is still
created with the default 4h repeat interval.
2023-01-10 23:01:43 -05:00
Yuri Tseretyan
86b5fbbf60
Alerting: Introduce state manager config structure ( #61249 )
2023-01-10 16:26:15 -05:00
George Robinson
2a291afbae
Alerting: Use consts from alerting package ( #61241 )
2023-01-10 19:59:13 +00:00
juanicabanas
2505f112f5
PublicDashboards: A unique page for public dashboards ( #60744 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2023-01-10 14:50:37 -03:00
George Robinson
d19d8c6625
Alerting: Update Alerting and Alertmanager to v0.25.1 ( #61233 )
...
Update Alerting and Alertmanager to v0.25.1
2023-01-10 16:17:07 +00:00
Kat Yang
9a14a7db03
Chore: Remove star model duplicates ( #61191 )
2023-01-10 09:56:33 -05:00
Cyril Tovena
ad1813da27
Phlare: Update client code to use v0.1.2 API. ( #60941 )
...
* Depends on Phlare API instead of copying the code
* Rollback the breaking change from the API version
2023-01-10 14:16:45 +00:00
Jo
0c8ad80575
Authn: JWT client ( #61157 )
...
* add jwt client
* alias JWT verifier
* debug implementation
* add tests for jwt client
* add constant for JWT module
* Feedback
Co-authored-by: Kalle Persson <kalle.persson@grafana.com >
Co-authored-by: Mihály Gyöngyösi <mgyongyosi@users.noreply.github.com >
Co-authored-by: Kalle Persson <kalle.persson@grafana.com >
Co-authored-by: Mihály Gyöngyösi <mgyongyosi@users.noreply.github.com >
2023-01-10 15:08:52 +01:00
Karl Persson
2de72c1c39
AuthN: Login ( #61225 )
...
* AuthN: Add function to login auth request
2023-01-10 14:55:27 +01:00
Karl Persson
c5f77b6a46
AuthN: Set LookupTokenErr and fall through in case of error ( #61217 )
...
ContextHandler: Set LookupTokenErr and fall through in case of error
during authentication
2023-01-10 14:36:02 +01:00
Ashley Harrison
4e00fbbd7f
Navigation: Allow overriding icons in nav settings ( #61160 )
...
expose k6 icon, allow overriding icon in nav settings, override connections + k6
2023-01-10 10:29:07 +00:00
Ivana Huckova
256f640e19
Elasticsearch: Refactor processQuery to make it more readable ( #61145 )
...
* WIP: Simplify process query logic
* WIP: Simplify process query logic
* Simplify
* fix lint
2023-01-10 10:49:43 +01:00
Yuri Tseretyan
da18c89e91
Alerting: Scheduler to call DeleteAlertRule once when it stops deleted rules ( #61189 )
...
scheduler to call DeleteAlertRule once when it stops deleted rules
2023-01-09 14:39:32 -05:00
George Robinson
402dc5e4d6
Alerting: Redo refactoring from reverted fix in #56812 ( #61051 )
...
This pull request re-applies the refactoring of ConditionsCmd from a
reverted fix #56812 for mathexp.noData. It does not add the fix, or
tests for the fix, because those were added in #56816 . We use the
additional test coverage added in #56816 and #58650 to avoid the
reoccurrence of regressions that caused us to revert #56812 the
first time.
2023-01-09 17:01:19 +00:00