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
Karl Persson
a49892c9ac
AuthN: Refactor basic auth client to support multiple password auth ( #61153 )
...
* AuthN: add interface for password clients
* AuthN: Extract grafana password client
* AuthN: Rewrite basic client tests
* AuthN: Add Ldap client and rename method of PasswordClient
* AuthN: Configure multiple password clients
* AuthN: create ldap service and add tests
2023-01-09 16:40:29 +01:00
Erik Sundell
c3378aff8b
Cloudwatch: Use new log group picker also for non cross-account queries ( #60913 )
...
* use new log group picker also for non cross-account queries
* cleanup and add comment
* remove not used code
* remove not used test
* add error message when trying to set log groups before saving
* fix bugs from pr feedback
* add more tests
* fix broken test
2023-01-09 16:30:21 +01:00
Yuri Tseretyan
2b61fb6e4a
Test Datasource: do not use global random ( #61116 )
2023-01-09 10:08:58 -05:00
Yuri Tseretyan
9f503a261a
Traces: Create span when a new session is opened ( #61115 )
2023-01-09 09:41:15 -05:00
Yuri Tseretyan
e7b17cde47
Traces: Fix timestamp for database query traces ( #61109 )
2023-01-09 09:40:55 -05:00
idafurjes
7dcb502b33
Chore: Remove org model duplicates ( #61025 )
...
Remove org model duplicates
2023-01-09 14:39:53 +01:00
Karl Persson
68b43a24e2
RBAC: dashboard permission filter ( #60582 )
...
* PermissionFilter: Handle all search type and only check one action for dashboards
* PermissionFilter: Still handle multiple action but take short cut when
only one action is required
2023-01-09 14:38:57 +01:00