Commit Graph

47134 Commits

Author SHA1 Message Date
Leon Sorokin
09cef892a5 OptionsPicker: Use fuzzy search and improve ranking of matches (#79286) 2023-12-12 16:41:50 -06:00
Leon Sorokin
19cda38f1b PanelQueryRunner: Shallow diff series DataFrames (#79257) 2023-12-12 16:11:17 -06:00
Dan Cech
0c1d1c6b6e Storage: raise errors when timestamps cannot be parsed (#79405)
* raise errors when timestamps cannot be parsed

* return partial origin info if timestamp parsing fails
2023-12-12 15:55:10 -05:00
Alexander Weaver
aa63e91a43 Alerting: Use mux router to match hooks, add support for path variables and methods (#79345)
* Use a router inside hooks rather than plain string matching

* Add test for mismatched method
2023-12-12 14:43:11 -06:00
Isabel
415f2c8458 Docs: add/update frontmatter descriptions for visualizations pages (#79419)
Added or updated frontmatter descriptions
2023-12-12 15:27:29 -05:00
Dan Cech
d146f4cbc7 Storage: rename uid to name and name to title (#79418)
rename uid to name and name to title
2023-12-12 15:14:55 -05:00
Julien Duchesne
f977e3faf5 ngalert swagger: Fix status code (#79415)
This endpoint returns a 202, not a 204
Let me know if we should instead change the response of the API
2023-12-12 13:40:36 -05:00
David Harris
0918d000bf update angular plugin list (#79380)
* rm scadavis

* add deprecation advice

* rm cloudflare

* rm opennms-helm

* rm other plugins

* update deprecation link

* make prettier happy

* Update docs/sources/developers/angular_deprecation/angular-plugins.md

* Update docs/sources/developers/angular_deprecation/angular-plugins.md

---------

Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
2023-12-12 10:20:09 -08:00
Torkel Ödegaard
eec4fd623d Stat: Fix inconsistent center padding (#79389) 2023-12-12 09:59:49 -08:00
Santiago
1a5c2cb55b Alerting: Check whether the internal Alertmanager is ready in remote secondary mode (#79406)
Alerting: Check whether the internal Alertmanager is ready in remote secondary
2023-12-12 18:33:11 +01:00
Isabel
937a7ed6d9 Docs: add missing alt text - transformations 10.3 (2/3) (#79277)
* Added missing alt text

* Rebuilt markdown file

q
wq

* baldm0mma/081223-missing-alt-text-2/ add alt image content to images and build markdown

* baldmomma/081223-missing-alt-text-2/update alt text and build

* baldm0mma/081223-missing-alt-text-2/ make altText required

---------

Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2023-12-12 10:07:52 -07:00
Serge Zaitsev
06d2ae3ada Chore: Move folder sync logic into one-shot migration (#78985)
Chore: move folder sync code into one-shot migration
2023-12-12 17:13:47 +01:00
Kristina
bc8ad7b6e5 Explore: Create menu for short link button (#77336)
* WIP first pass

* Change to toolbarbutton/buttonselect pattern

* Move to two toolbarbuttons with dropdown

* Justify text to the right of icons

* Fix betterer

* Fix styling and tests

* Add to docs

* Perist last clicked, add translations

* move styling to core component

* use label for tooltip, let parser combine panes in multiple params

* Explore: Panes encoding suggestions (#78210)

panes encoding suggestions

* WIP-add menu groups

* Get group actions working

* add icons and non-local last selected state

* Fix translations after merge

* Add categories to translation, tweak the verbiage

* Fix translation extraction

* Fix tests

* fix translation conflict

* Log if time is absolute

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-12-12 09:55:03 -06:00
Santiago
117ecf0403 Alerting: Fix auth for Nginx in Mimir Backend block (devenv) (#79404) 2023-12-12 16:52:50 +01:00
gotjosh
cc3c0a2cc2 Alerting: Refactor readiness check (#78799)
* Alerting: Refactor readiness check

Moves the readiness check to the mimir client and removes the need to assert that we have senders - it already has a queue and can hold notifications until we're ready to send them.
---------

Signed-off-by: gotjosh <josue.abreu@gmail.com>
2023-12-12 15:34:54 +00:00
Esteban Beltran
7e68e3f49e Sandbox: Improve logging of sandbox lifecycle for monitoring (#79297)
* Sandbox: Log a plugin loading inside the sandbox

* Improve tracking of general sandbox errors

* Fix import
2023-12-12 16:28:56 +01:00
Pangidoan Butar
6659ed8722 Special alerts for NoData and Error (#79193)
* Special alerts for NoData and Error

To avoid confusion why there is no additional label added when setting `Alerting` or `OK` in the No Data and Error handling

* ran prettier

---------

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2023-12-12 15:54:33 +01:00
Sonia Aguilar
1d53d71ba9 Alerting: Fix max data points placeholder rendering decimals (#78946)
Fix max data points placeholder rendering decimals
2023-12-12 15:45:56 +01:00
Dan Cech
3482658975 Storage: Add readme for storage server (#79366)
add readme for storage server
2023-12-12 09:24:14 -05:00
Artur Wierzbicki
88fe392f8b Storage: make it work for Postgres (#79378)
* comment out cockroachdb connection config option that does not work for postgres

* log the error instead
2023-12-12 18:10:29 +04:00
brendamuir
9bd20db49f Alerting docs: remaining descriptions and deletes legacy topics (#79387)
Alerting docs: remaining descriptions and deletes legacy cloud alerting topics
2023-12-12 15:08:28 +01:00
Shabeeb Khalid
8bf5cdcf0c Core: Rename index.ts to completionUtils.ts in Loki monaco completion provider (#79253)
Rename index.ts to completionUtils.ts in Loki monaco completion provider

This is a follow up to #76374. The name `index.ts` is not matching with
the pattern in the whole project as per the original discussion. It was
noted in https://github.com/grafana/grafana/pull/76080#discussion_r1352812657
2023-12-12 15:19:50 +02:00
Julien Duchesne
b232c64d9a accesscontrol swagger: Add global field to RoleDTO type (#79351)
* `accesscontrol` swagger: Add `global` field to `RoleDTO` type
The field is currently added in the MarshalJSON function so it isn't reflected in the spec
This PR sets the "static" version of the RoleDTO, that has the global field, as the swagger model

* Revert the marshalling logic
2023-12-12 08:04:25 -05:00
Santiago
57e0d6bcb5 Chore: Simplify function signature for GetLatestAlertmanagerConfiguration (#79392) 2023-12-12 13:49:54 +01:00
kay delaney
6989db1ad3 Dashboards: Run shared queries even when source panel is in collapsed row (#77792) 2023-12-12 12:05:05 +00:00
Fabrizio
3783d87576 Tempo: Fix autocompletion with strings (#79370) 2023-12-12 12:55:21 +01:00
Ivana Huckova
953d0d4c70 Loki: Remove imported test utility function from Prometheus (#78901)
Loki: Remove import from prometheus test utility
2023-12-12 12:54:56 +01:00
Joey
eff9374a63 Tempo: Update cheatsheet (#78797)
* Tempo: Update cheatsheet

* Update text
2023-12-12 11:46:43 +00:00
Grafana I18n Bot
b08b82607a I18n: Crowdin sync (#79386)
* New translations grafana.json (French)

* New translations grafana.json (Spanish)

* New translations grafana.json (German)

* New translations grafana.json (Chinese Simplified)

* Github Action: Auto-fix i18n files

---------

Co-authored-by: grafana-i18n-bot <grafana-i18n-bot@users.noreply.github.com>
2023-12-12 11:19:43 +00:00
Joey
e00e4d9ec6 Pyroscope: Switch to sdk httpclient from infra httpclient (#79373)
Decouple httpclient
2023-12-12 11:14:26 +00:00
Ashley Harrison
ffda25f4a3 Skeleton: Abstract out attach/animation logic (#79309)
* apply styles globally to skeleton

* use abstraction everywhere

* just use withSkeleton

* add comment

* update docs

* use it in News as well

* rename withSkeleton to attachSkeleton

* move to @grafana/ui/src/unstable

* rename skeletonProps to rootProps
2023-12-12 11:05:36 +00:00
brendamuir
5f5ed3187c Alerting docs: revises descriptions for the manage notifications section (#79385) 2023-12-12 12:02:58 +01:00
Ashley Harrison
7c2b3ee1af Navigation: Update synthetics placement in IA (#79302)
* update synthetics placement in IA

* lowercase s in synthetics
2023-12-12 10:57:52 +00:00
Jo
3647ba7360 Anonymous: Add configurable device limit (#79265)
* Anonymous: Add device limiter

* break auth if limit reached

* fix typo

* refactored const to make it clearer with expiration

* anon device limit for config

---------

Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com>
2023-12-12 12:57:25 +02:00
Ivana Huckova
ed86583107 Loki: Decouple from Prometheus operationUtils (#78830)
* Loki: Decouple from Prometheus operationUtils

* Update comments
2023-12-12 11:44:35 +01:00
brendamuir
4d375aa5d4 Alerting docs: Adds Alerting descriptions for fundamentals section (#79383)
Adds Alerting descriptions for fundamentals section
2023-12-12 11:26:36 +01:00
brendamuir
f20e98fac4 Docs: Alerting descriptions for alerting-rules section (#79376)
Alerting descriptions for alerting-rules section
2023-12-12 11:05:20 +01:00
Giuseppe Guerra
f76b9f266e Plugins: Add hide_angular_deprecation setting (#79296)
* Add plugins.hide_angular_deprecation config ini

* Add more tests

* Remove the ability to use [plugins.*] hide_angular_deprecation
2023-12-12 11:20:21 +02:00
Ben Sully
f040a8321b Plugins: Add Command Palette extension point (#78098)
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-12-12 08:52:09 +00:00
Karl Persson
69784efa35 IDForwarding: Remove dev mode restriction for feature toggle (#79358)
Remove dev mode restriction for id forwarding feature toggle
2023-12-12 09:26:45 +01:00
Ieva
19ad788333 RBAC: change annotation scopes back (#79330)
Change the annotation scopes back to what they were
2023-12-12 09:51:08 +02:00
Neil Shen
999c9c5ea3 Heatmap: Fix null options migration (#79083)
* Fix heatmap null options migration

Some dashboard generation libraries, such as grafanalib, may produce
heatmaps with a null 'options' attribute. This condition triggers a
panic during migration, resulting in a blank heatmap panel.

This commit addresses the issue by returning default options if a panel has
a null 'options'.

Signed-off-by: Neil Shen <overvenus@gmail.com>

* Nullish coalescing panel.options

Signed-off-by: Neil Shen <overvenus@gmail.com>

---------

Signed-off-by: Neil Shen <overvenus@gmail.com>
2023-12-12 04:55:57 +02:00
Yuri Tseretyan
8af08d0df2 Alerting: Add export of mute timings to file provisioning formats (#79225)
* add export of mute timings to file provisioning formats
* support export of mute timings to HCL
2023-12-11 21:36:51 -05:00
Yuri Tseretyan
bf8be46e6f SSE: Add utility methods for HysteresisCommand (#79157)
* add GetCommandsFromPipeline
* refactor method GetCommandType to func GetExpressionCommandType
* add function to create fingerprint frames
* add function to determine whether raw query represents a hysteresis command and a function to patch it with loaded metrics
2023-12-11 22:40:31 +02:00
Ryan McKinley
f69516bf47 K8s: Add resource type helper to avoid so many hardcoded names (#79344) 2023-12-11 22:03:48 +02:00
Juan Cabanas
5147bdeb4b PublicDashboards: Revoke all public dashboards access to a specific user (#78709) 2023-12-11 16:55:16 -03:00
Alexander Weaver
b867505bd4 alerting: Add tests for hooks (#79284)
Add tests for hooks
2023-12-11 13:20:48 -06:00
William Wernert
4c1bf86ae1 Add Loki alert state history annotations feature toggle (#78970)
* Add no-op Loki alert state history annotations feature toggle

* Better feature toggle description

Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com>
2023-12-11 14:17:01 -05:00
Dan Cech
9f6144059a Storage: Switch from tenant to namespace & remove GRN (#79250)
* remove GRN and switch tenant to namespace

* clean up remaining references

* simplify and remove inconsistency in With* parameters

* parse listing keys so we can use db index

* bump the schema version

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-12-11 12:26:05 -05:00
Ashley Harrison
bb4aa16b13 Navigation: Fix showing command palette when menu is docked (#79335)
* fix showing command palette when menu is docked

* separate out command palette
2023-12-11 18:54:56 +02:00