George Robinson
a0353b237a
Alerting: Update swagger specs ( #83260 )
2024-02-23 11:25:43 +00:00
Ashley Harrison
a3c73ae7c4
E2C: Add initial empty state ( #83232 )
...
* update subtitle
* add empty state
* rename to InfoPaneLeft/Right
* use '
* add "direction" prop to Box
* update subtitle
* Revert "add "direction" prop to Box"
This reverts commit 99f82a27c7
.
2024-02-23 13:18:09 +02:00
George Robinson
a564c8c439
Alerting: Keep order of time and mute time intervals consistent ( #83257 )
2024-02-22 16:57:20 +00:00
Misi
1ef2e8d366
Chore: Allow self-serve for ssoSettingsApi feature toggle ( #83140 )
...
* Set AllowSelfServe to true ssoSettingsApi
* Align ft registry validation with latest changes
2024-02-22 18:33:27 +02:00
George Robinson
1ed1242358
Alerting: Basic support for time_intervals ( #83216 )
...
This commit adds basic support for time_intervals, as mute_time_intervals
is deprecated in Alertmanager and scheduled to be removed before 1.0.
It does not add support for time_intervals in API or file provisioning,
nor does it support exporting time intervals. This will be added in
later commits to keep the changes as simple as possible.
2024-02-22 15:58:56 +00:00
Gábor Farkas
ae77fe3602
postgres: do not use unexported grafana-core config ( #83241 )
...
* postgres: do not use unexported grafana-core config
* fixed wrong value
2024-02-22 16:47:03 +01:00
Joey
ee5dc14e17
Tempo: Remove trace to metrics feature toggle ( #82884 )
...
* Remove trace to metrics feature toggle
* Fix after merge
2024-02-22 13:30:41 +00:00
Gábor Farkas
3ba33fe278
mysql: do not use unexported grafana-core config ( #83062 )
...
* mysql: do not use unexported grafana-core config
* updated test
2024-02-22 14:22:14 +01:00
Klesh Wong
9282c7a7a4
AuthProxy: Invalidate previous cached item for user when changes are made to any header ( #81445 )
...
* fix: sign in using auth_proxy with role a -> b -> a would end up with role b
* Update pkg/services/authn/clients/proxy.go
Co-authored-by: Karl Persson <kalle.persson92@gmail.com>
* Update pkg/services/authn/clients/proxy.go
Co-authored-by: Karl Persson <kalle.persson92@gmail.com>
2024-02-22 10:02:31 +01:00
Agnès Toulet
8d68159b52
Public Dashboards: Disable email-sharing when there is no license ( #80887 )
...
* PublicDashboards: Disable email-shared dashboards when feature is disabled
* fix pubdash creation when it was email-shared
* add feature name const in OSS
* update doc
* Update service.go
* fix test & linter
* fix test
* Update query_test.go
* update tests
* fix imports
* fix doc linter issues
* Update docs/sources/administration/enterprise-licensing/_index.md
* fix after merge
2024-02-22 09:34:14 +01:00
Pablo
cfcf03bf7a
CloudWatch: Add Firehose kms-related metrics ( #83192 )
...
Add KMS firehose metrics
2024-02-21 14:57:31 -05:00
Ashley Harrison
c75502dd8c
Cloud migration UI: Add migrate-to-cloud
route ( #83072 )
...
* add migrate-to-cloud route
* fix chunk name
* gate route behind feature toggle
* update permission checks
2024-02-21 15:50:13 +00:00
linoman
7e8b679237
OAuth: Improve domain validation ( #83110 )
...
* enforce hd claim validation
* add tests
2024-02-21 15:40:18 +01:00
Carl Bergquist
028d0d0c2c
Rename scope.name to scope.title since name exists in metadata. ( #83172 )
...
name is part of metadata which is confusing
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2024-02-21 09:32:57 -05:00
Alexander Zobnin
9bbb7f67e0
Chore: Move store interface to top level ( #83153 )
...
* Chore: Move store interface to top level
* Update store mock
2024-02-21 14:32:54 +01:00
Ryan McKinley
809c1eaddb
Snapshots: delete from same org ( #83111 )
...
delete in org
2024-02-21 08:04:15 -05:00
Giuseppe Guerra
68fe045ec7
Plugins: Remove pluginsInstrumentationStatusSource feature toggle ( #83067 )
...
* Plugins: Remove pluginsInstrumentationStatusSource feature toggle
* update tests
* Inline pluginRequestDurationWithLabels, pluginRequestCounterWithLabels, pluginRequestDurationSecondsWithLabels
2024-02-21 12:57:40 +01:00
Gábor Farkas
a62dccb0c0
plugins: add more configuration parameters to the plugin-config ( #83060 )
...
* envvars: add more configs
* made row-limit optional
* more consistent naming
2024-02-21 12:32:10 +02:00
Alexander Zobnin
e7a1ecca28
Annotations: Improve query performance when using dashboard filter ( #83112 )
...
* Annotations: Improve query performance when using dashboard filter
* Add dashboard id filter
2024-02-21 10:30:26 +01:00
Torkel Ödegaard
64e0a4282e
DataQuery: Track panel plugin id not type ( #83091 )
2024-02-21 09:38:42 +01:00
Charandas
0bd009fb53
K8s: fix nil deref from dummy factory for API Server options ( #83132 )
2024-02-20 23:00:02 +02:00
Jan Garaj
8162ec2960
CloudWatch: Update AWS/ES metrics ( #83037 )
...
CloudWatch: update AWS/ES metrics
2024-02-20 13:46:29 -05:00
Jan Garaj
ef23148b36
CloudWatch: Update AWS/EC2 metrics ( #83039 )
...
CloudWatch: update AWS/EC2 metrics
2024-02-20 12:13:50 -05:00
Kyle Brandt
4859cdeae5
K8S/Scopes: App-server for storing scope objects ( #81996 )
...
Build out app-server stub
---------
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2024-02-20 18:28:27 +02:00
Fabrizio
d1c5e491ac
Zipkin: Decouple Zipkin plugin ( #81354 )
2024-02-20 18:24:40 +02:00
Andres Martinez Gotor
7f9ebe5464
Chore: Make the secret table name configurable ( #83106 )
2024-02-20 16:56:43 +01:00
Jan Garaj
3829da0616
CloudWatch: Update AWS/Lambda metrics ( #83038 )
2024-02-20 16:39:03 +01:00
Piotr Jamróz
30178d468f
Skip a flaky test ( #82522 )
...
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2024-02-20 15:08:29 +01:00
Ida Štambuk
5431c51490
Cloudwatch: Add linting to restrict imports from core ( #82538 )
...
---------
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com>
2024-02-20 14:52:11 +01:00
Kristina
9d6da82e36
Query History: Count using SQL, not post query ( #82208 )
...
* Count in SQL, not externally
* Fix linter
2024-02-20 07:32:40 -06:00
Jan Garaj
914f033497
CloudWatch: Update AWS/AutoScaling metrics ( #83036 )
2024-02-20 11:22:28 +01:00
Gábor Farkas
57499845c2
envvars: improve tests ( #83071 )
...
* envvars: improve tests
* removed commented-out code
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
---------
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2024-02-20 09:41:11 +02:00
Matthew Jacobson
87ab98ea95
Alerting: Fix panic in provisioning filter contacts by unknown name ( #83070 )
2024-02-19 17:30:13 +02:00
Jan Garaj
bfd5475e1e
CloudWatch: Update AWS/Kafka metrics ( #83035 )
2024-02-19 12:04:23 +01:00
Gábor Farkas
7f77be8f85
postgres: tls: only use non-empty certificates ( #82182 )
2024-02-19 11:58:42 +01:00
Serge Zaitsev
1aff748e8f
Use split scopes instead of substr in search v1 ( #82092 )
...
* use split scopes instead of substr in search v1
* tests, of course
* yet, some test helpers dont use split scopes
* another test helper to fix
* add permission.identifier to group by
* check if attribute is uid
* fix tests
* use SplitScope()
* fix more tests
2024-02-18 22:26:08 +01:00
Ryan McKinley
f23f50f58d
Expressions: Add model struct for the query types (not map[string]any) ( #82745 )
2024-02-17 02:59:11 +02:00
Matthew Jacobson
46a77c0074
Alerting: Validate upgraded receivers early to display in preview ( #82956 )
...
Previously receivers were only validated before saving the alertmanager
configuration. This is a suboptimal experience for those upgrading with preview
as the failed channel upgrade will return an API error instead of being
summarized in the table.
2024-02-16 15:17:07 -05:00
Sofia Papagiannaki
38e8c62972
Folders: Switch order of the columns in folder table indexes so that org_id becomes first ( #82454 )
...
* Folders: Switch order of the columns in folder table so that org_id becomes first
2024-02-16 21:10:46 +02:00
Xavi Lacasa
46c26bbd0b
Auth: Fix email verification bypass when using basic authentication ( #82914 )
2024-02-16 18:54:59 +01:00
William Wernert
fabaff9a24
Alerting: Create metric for rules using simple notifications ( #82904 )
...
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
2024-02-16 19:01:49 +02:00
Matthew Jacobson
dfaf6d1e2e
Alerting: Dry-run legacy upgrade on startup ( #82835 )
...
Adds a feature flag (alertingUpgradeDryrunOnStart) that will dry-run the legacy
alert upgrade on startup. It is enabled by default.
When on legacy alerting, this feature flag will log the results of the legacy
alerting upgrade on startup and draw attention to anything in the current legacy
alerting configuration that will cause issues when the upgrade is eventually
performed. It acts as a log warning for those where action is required before
upgrading to Grafana v11 where legacy alerting will be removed.
2024-02-16 11:29:54 -05:00
Laura Fernández
7422a90e8b
ReturnToPrevious: modify stage of the feature toggle ( #82912 )
2024-02-16 17:00:51 +01:00
Matthew Jacobson
e7c6e9c5c9
Alerting: Fix migration edge-case race condition for silences ( #81206 )
...
If the db already has an entry in the kvstore for the silences of an
alertmanager before the migration has taken place, then it's possible that the
active alertmanager will overwrite the silence file created by the migration
before it has a chance to load it into memory.
This should not happen normally but is possible in edge-cases.
This change opts to bypass the unnecessary step of writing the silences to disk
during the migration and instead write them directly to the kvstore. This avoids
the race condition entirely and is more correct as we treat the database as the
source of truth for AM state.
2024-02-16 10:47:34 -05:00
Sven Grossmann
7f7ab32444
Elasticsearch: Add error source to logs ( #82901 )
2024-02-16 16:28:46 +01:00
Todd Treece
8f0431ba46
K8s: Pass ID token in X-Extra-id-token header ( #82893 )
2024-02-16 17:07:37 +02:00
kay delaney
82e3e2e558
LibraryPanels/RBAC: Fix issue where folder scopes weren't being correctly inherited ( #82700 )
2024-02-16 14:17:41 +00:00
Karl Persson
9e04fd0fb7
AuthToken: Remove client token rotation feature toggle ( #82886 )
...
* Remove usage of client token rotation flag
* Remove client token rotation feature toggle
2024-02-16 15:03:37 +01:00
Giuseppe Guerra
6ce0efeb41
Plugins: Enable feature toggle angularDeprecationUI by default ( #82880 )
...
* Plugins: Enable feature toggle angularDeprecationUI by default
* Clarified feature toggle description
2024-02-16 14:46:14 +02:00
Ieva
7343102d59
RBAC: Migration to remove the scope from permissions where action is alert.instances:read ( #82202 )
...
* add a migration to remove the scope from any permissions where action is alert.instances:read
* linting
2024-02-16 11:52:43 +00:00