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
Misi
bb9d5799cf
Auth: Load oauth_allow_insecure_email_lookup using the SettingsProvider ( #82460 )
...
* wip
* Introduce fixed:server.config:writer role
* Fix tests
* Update name
2024-02-16 12:05:00 +01:00
linoman
ac84069071
Password policy ( #82268 )
...
* add password service interface
* add password service implementation
* add tests for password service
* add password service wiring
* add feature toggle
* Rework from service interface to static function
* Replace previous password validations
* Add codeowners to password service
* add error logs
* update config files
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-02-16 04:58:05 -06:00
Gabriel MABILLE
846eadff63
RBAC Search: Replace userLogin filter by namespacedID filter ( #81810 )
...
* Add namespace ID
* Refactor and add tests
* Rename maxOneOption -> atMostOneOption
* Add ToDo
* Remove UserLogin & UserID for NamespaceID
Co-authored-by: jguer <joao.guerreiro@grafana.com >
* Remove unecessary import of the userSvc
* Update pkg/services/accesscontrol/acimpl/service.go
* fix 1 -> userID
* Update pkg/services/accesscontrol/accesscontrol.go
---------
Co-authored-by: jguer <joao.guerreiro@grafana.com >
2024-02-16 11:42:36 +01:00
Misi
fe0fc08b93
Chore: Update ssoSettingsApi feature toggle state to Public Preview ( #82521 )
...
Update feature toggle state to Public Preview
2024-02-16 12:20:08 +02:00
ismail simsek
94f544c9f6
InfluxDB: Fix tag interpolation when varable used within a regex pattern ( #82785 )
...
* fix tag interpolation
* remove redundant variables
2024-02-16 10:20:09 +01:00
Sven Kirschbaum
86c618a6d6
Alerting: Escape namespace and group path parameters ( #80504 )
...
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com >
2024-02-16 09:43:47 +01:00
Sofia Papagiannaki
69f604f7fa
Chore: Fix benchmarks ( #82714 )
2024-02-16 10:40:39 +02:00
Nathan Marrs
cdd3e1c776
chore: Promote panel monitoring feature toggle to GA ( #82472 )
2024-02-15 21:29:59 -08:00
Yuri Tseretyan
5985876f4a
Alerting: make feature flag alertingSimplifiedRouting public ( #82808 )
2024-02-15 17:58:34 -05:00
Matthew Jacobson
118e4a50b7
Alerting: Remove start page of legacy upgrade preview ( #82010 )
...
Alerting: Remove start page of upgrade preview
Alerting upgrade page will now always show the summary table even before
upgrading any alerts or notification channels. There a few reasons for this:
- The information on the start page is redundant as it's now contained in the
documentation.
- Previously, if some unexpected issue prevented performing a full upgrade, a
user would have limited to no means to using the preview tool to help fix the
problem. This is because you could not see the summary table until the full
upgrade was performed at least once. Now, you can upgrade individual alerts and
notification channels from the beginning.
2024-02-15 17:34:00 -05:00
Ryan McKinley
c879588332
APIServer: Use options pattern in standalone mode ( #82760 )
...
use options
2024-02-15 12:00:20 -08:00
Julien Duchesne
ba63e62311
Alerting: Return provenance of notification templates ( #82274 )
2024-02-15 14:35:54 -05:00
Marcus Efraimsson
b894d26cbc
SQLStore: New store without side-effects ( #82657 )
2024-02-15 14:03:55 -04:00
Todd Treece
f593161ef6
K8s: Set X-Remote- headers for SignedInUser ( #82543 )
2024-02-15 12:29:36 -05:00