Commit Graph

52998 Commits

Author SHA1 Message Date
Gilles De Mey
e9e5989549 Alerting: Introduce useProduceNewAlertmanagerConfiguration (#91623)
useProduceNewAlertmanagerConfiguration
2024-08-13 14:34:38 +02:00
Tom Ratcliffe
8136fbef1f Chore: Add capability for overriding local development behaviour using env vars (#85603) 2024-08-13 13:07:42 +01:00
Tom Ratcliffe
735954386f Alerting: Consolidate contact points dropdown and add filter in alert rules (#91690)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
2024-08-13 12:56:13 +01:00
Alexander Akhmetov
149f02aebe Alerting: Add rule_group label to grafana_alerting_rule_group_rules metric (#88289)
* Alerting: Add rule_group label to grafana_alerting_rule_group_rules metric (#62361)

* Alerting: Delete rule group metrics when the rule group is deleted

This commit addresses the issue where the GroupRules metric (a GaugeVec)
keeps its value and is not deleted when an alert rule is removed from the rule registry.
Previously, when an alert rule with orgID=1 was active, the metric was:

  grafana_alerting_rule_group_rules{org="1",state="active"} 1

However, after deleting this rule, subsequent calls to updateRulesMetrics
did not update the gauge value, causing the metric to incorrectly remain at 1.

The fix ensures that when updateRulesMetrics is called it
also deletes the group rule metrics with the corresponding label values if needed.
2024-08-13 13:27:23 +02:00
antonio
71b56dbb95 alerting tutorial: improve visibility of part 2 (#91795)
* alerting tutorial: improve visibility of part 2

* changed wording

* Update docs/sources/tutorials/alerting-get-started/index.md

Co-authored-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com>

* applied suggestions

* fixed admon

* all pretty no pity

---------

Co-authored-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com>
2024-08-13 11:06:51 +00:00
Jeff Levin
8961f392f0 add team_member index on user_id org_id (#91819)
This pr adds a composite index on on the team_member table on user_id and org_id
2024-08-13 13:58:00 +03:00
Alexander Akhmetov
b2eeb0dd6e Alerting: update rule versions on folder move (#88376)
* Alerting: update rule versions on folder move (#88361)
* Add tracing to folder.Move and folder.Update
2024-08-13 12:26:26 +02:00
Yulia Shanyrova
8044cb50f1 Plugins: Plugin details right panel is added. All the details were moved from thee top to the right panel (#90325)
* PluginDetailsRight panel is added. All the details were moved from the top to the right panel

* Add feature toggle pluginsDetailsRightPanel,Fix build, fix review comments

* Fix the typo

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>

* hasAccessToExplore

* changes after review, add translations

* fix betterer

* fix betterer

* fix css error

* fix betterer

* fix translation labels, fix position of the right panel

* fix the build

* add condition to show updatedAt for plugin details

* add test to check 2 new fields at plugin details right panel;

* change the gap and remove report abuse button from core plugins

* add more tests

---------

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2024-08-13 11:55:30 +02:00
David Harris
bac68069e0 chore: update issue template codeowners (#90925)
Adds myself as an additional codeowner for issue templates given the current reliance on ordering for links to request a new plugin from Grafana. 

This may be a temporary solution prior to being able to raise the requests natively within Grafana.
2024-08-13 09:57:51 +01:00
Ana Ivanov
8467838bef Navigation: Remove grafana-aws-app from Infrastructure navigation (#91524)
Remove grafana-aws-app from Infrastructure navigation
2024-08-13 11:54:30 +03:00
Karl Persson
8bcd9c2594 Identity: Remove typed id (#91801)
* Refactor identity struct to store type in separate field

* Update ResolveIdentity to take string representation of typedID

* Add IsIdentityType to requester interface

* Use IsIdentityType from interface

* Remove usage of TypedID

* Remote typedID struct

* fix GetInternalID
2024-08-13 10:18:28 +02:00
Leonor Oliveira
0258842f87 Use dw dynamic config (#91222)
* Remove kubernetesPlaylists feature_toggle

* Remove unified_storage_mode

* Remove double import

* Regenerate feature-toggles

* Read from config instead from feature_toggle

* cover scenario for when unified storage is not defined
2024-08-13 10:03:28 +02:00
Konrad Lalik
b67bcdb9b8 Alerting: Handle namespace and group query string params in Ruler API (#91533)
* Handle namespace and group query string params in Ruler API

* Use the new namespace and group query params when slashes in names

* Add validation, add group handling in GMA Api

* Move constants

* Use checkForPathSeparator function

* Fix linter issue
2024-08-13 08:31:07 +02:00
Sam Jewell
d54fdba322 Bump to go-duck v0.1.0 (#91794)
* Bump to go-duck v0.1.0

This fixed ordering of the columns

**What is this feature, why do we need it?**

See https://github.com/scottlepp/go-duck/pull/14 for a description of the improvement we're including here

**Who is this feature for?**

Anyone who uses SQL Expressions. This is still an experimental feature, and only used by a very small number of instances.

* Run `make update-workspace`
2024-08-12 16:00:10 -04:00
owensmallwood
8fb334cf77 Unified Storage: Adds back readme to resource store (#91812)
adds back readme to resource store
2024-08-12 13:48:14 -06:00
Isabel Matwawana
5e638b4af0 Docs: add playlist management permissions (#91146) 2024-08-12 10:53:02 -04:00
Andres Martinez Gotor
d342e76f63 Chore: Add skeleton for background plugin installer (#91743) 2024-08-12 16:39:31 +02:00
Fayzal Ghantiwala
25dbb32cea Alerting: Vendor in latest grafana/alerting package (#91786)
* temp

* vendor

* Remove dead code

* Vendoring
2024-08-12 15:37:15 +01:00
Erik Sundell
2ed6ca360f Extensions: e2e test usePluginComponent hook (#91750)
* add simple test apps that use usePluginComponent hook and exposeComponent api

* add e2e test

* update readme

* Update README.md

* fix lint issue

* pr feedback
2024-08-12 15:43:42 +02:00
Joao Silva
b9cece8f9e Bookmarks: Create Bookmarks landing page (#91538) 2024-08-12 14:31:01 +01:00
Joey
d00b4879d2 Tempo: Simplify span filters logic and fix regex for tag only search (#90819)
Simplify span filters logic and fix regex for tag only search
2024-08-12 14:15:06 +01:00
Joey
379249fc60 Tempo: Tidy up and organise (#90649)
* Move test files to folder

* Update paths

* Tidy up
2024-08-12 14:12:22 +01:00
Domas
6dce2ecbde Sparkline: Support spanNulls graph config prop (#91797)
support spanNulls config prop for sparkline
2024-08-12 15:36:52 +03:00
Vijay Samuel
c9ddc688a2 Prometheus: Add support to make parallel queries (#90316)
* Add support for prometheus datasource to make parallel queries

* Incorporate review comments

* Update pkg/promlib/querydata/request.go

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

* Fix lint

* Add parallel queries behind feature flag

* Fixing lint issue

* Update go.mod

* Update pkg/promlib/querydata/request.go

* Update pkg/promlib/querydata/request.go

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
Co-authored-by: Charandas <542168+charandas@users.noreply.github.com>
2024-08-12 14:31:39 +02:00
Ashley Harrison
369cd6f81e Chore: Migrate dashboard_grid styles to emotion (#91673)
migrate dashboard grid styles to emotion
2024-08-12 13:22:14 +01:00
grafana-pr-automation[bot]
32e4ea3b3c I18n: Download translations from Crowdin (#91796)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-12 15:21:20 +03:00
Ashley Harrison
dface46474 Chore: Migrate gf-form classes to emotion globals (#91632)
* migrate gf-form classes to emotion globals

* should be sm due to the different way the breakpoints work
2024-08-12 13:16:16 +01:00
Ashley Harrison
78f78753c7 Chore: Migrate Modal SCSS styles to emotion (#91569)
migrate modal scss styles to emotion
2024-08-12 12:55:22 +01:00
Gilles De Mey
add99fb3d0 Alerting: Add basic support for active_time_intervals (#91710) 2024-08-12 14:51:12 +03:00
Santiago
5487ea444a Alerting: Update remote Alertmanager config marshalling in test (#91791) 2024-08-12 13:45:22 +02:00
Gilles De Mey
f11d6ebcd0 Alerting: Update contact points list and mute timings list on update (#91776)
make sure that contact points list and mute timings list are updated when we update the alertmanager configuration
2024-08-12 13:37:17 +02:00
Bogdan Matei
3303900c09 Scopes: Lift scopes at global level (#90136) 2024-08-12 14:11:50 +03:00
Gilles De Mey
15f2b08f00 Alerting: Catch alert rule search exceptions (#91788)
catch search exceptions and prevent from bubbling
2024-08-12 12:13:26 +02:00
Andreas Christou
82d051f336 AzureMonitor: Mark Azure Prometheus exemplars as public preview (#91674)
Mark Azure Prom exemplars as public preview
2024-08-12 11:11:45 +01:00
Ieva
6e7bc028d0 RBCA: Better separation between action set svc and store (#91491)
better separation between action set svc and store
2024-08-12 10:07:33 +01:00
Ieva
5bae9f11bc Docs: Add docs for bulk updating team members (#91499)
add docs for bulk updating team members
2024-08-12 09:58:55 +01:00
Ashley Harrison
ab3e8652aa Adhoc Filters: add new feature toggle for 'one of' operator (#91688)
add new feature toggle for 'one of'
2024-08-12 09:56:42 +01:00
Karl Persson
7f1ae1cd54 Identity: Update authlib to version that has correct commit to claims (#91784)
* Update authlib to version that has correct commit to claims
2024-08-12 09:39:48 +02:00
Ryan McKinley
e106df6d0b Auth: Update unified storage to depend on AuthInfo rather than Requester (#91783)
depend on authlib user info
2024-08-12 09:49:34 +03:00
Ryan McKinley
21d4a4f49e Auth: use IdentityType from authlib (#91763) 2024-08-12 09:26:53 +03:00
ismail simsek
faf7cb9312 Chore: Refactor explore metrics layout switcher and breakdown scene (#90944)
* refactor breakdown scene

* refactor BreakdownScene along with LayoutSwitcher

* rename

* don't pass default layout

* better type handling

* betterer
2024-08-11 23:48:36 +02:00
ismail simsek
b8ebc5d463 Chore: Update lezer package of prometheus frontend (#91252)
* update lezer package

* Use UnquotedLabelMatcher instead of LabelMatcher

* Use UnquotedLabelMatcher instead of LabelMatcher in parsing.ts
2024-08-11 23:48:04 +02:00
Todd Treece
75f0b3a228 K8s: Test for changes to aggregator's postStartHooks (#91771) 2024-08-10 20:32:57 -04:00
Jmdane
8bb548e17b Transformations: Add 'transpose' transform (#88963)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-08-10 02:57:26 +03:00
Taewoo K.
ec7a247674 feat: Add atlassian statuspage (#91769)
* add atlassian statuspage

* fix test
2024-08-10 01:48:31 +03:00
Todd Treece
5972dd0b59 Chore: Update names of DisabledPostStartHooks (#91767) 2024-08-09 16:57:08 -04:00
Mitch Seaman
8525943699 Docs: add Zoom to Reporting docs (#90219)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-08-09 16:28:39 -04:00
Todd Treece
30c3f5b66a Chore: Revert drone go workspace change to tests (#91762) 2024-08-09 21:03:26 +03:00
Andreas Christou
24c9aad5bb Bump grafana-azure-sdk-go and related dependencies (#91124)
* Bump Azure SDK and related dependencies

* Update go.mods

* update-workspace

* Update go files
2024-08-09 13:12:19 -04:00
Andreas Christou
ee18c64453 OpenTSDB: Fix test (#91761)
Fix test
2024-08-09 19:53:04 +03:00