Alerting docs: clarify that `silences` and `mute timings` do not interrupt alert evaluation (#100414)
* Alerting docs: clarify that `silences` and `mute timings` do not interrupt alert evaluation
* replace `ad-hoc` word
(cherry picked from commit 2b4e1f3c51)
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
Share: Fix short links when root_url is different from the browser URL (#99950)
Share: Fix short links when appUrl is misconfigured
(cherry picked from commit cd7c9f8666)
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
Loki query direction: run initialization only in Explore and Dashboards (#100182)
(cherry picked from commit 4e6bdce41c)
Co-authored-by: Matias Chomicki <matyax@gmail.com>
RBAC: Don't check folder access if `annotationPermissionUpdate` FT is enabled (#99717)
don't check folder access if annotation permission update is enabled
(cherry picked from commit 095593c018)
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Plugin Metrics: Eliminate data race in plugin metrics middleware (#99396)
fix: eliminate data race in plugin metrics middleware
A data race was detected when multiple goroutines accessed the `MetricsMiddleware`
simultaneously. The race occurred because a single `MetricsMiddleware` instance
was being shared across goroutines while its `BaseHandler` field was being
modified during middleware chain setup.
Fix by creating a new `MetricsMiddleware` instance for each middleware chain,
while safely sharing the thread-safe Prometheus metrics and plugin registry.
This maintains proper metrics collection while eliminating the mutable shared
state that caused the race condition.
Original error was detected here:
```
WARNING: DATA RACE
Read at 0x00c0039c0790 by goroutine 4486:
github.com/grafana/grafana-plugin-sdk-go/backend.(*ErrorSourceMiddleware).CallResource()
/Users/clord/src/grafana/irm-devstack/.devenv/state/go/pkg/mod/github.com/grafana/grafana-plugin-sdk-go@v0.261.0/backend/error_source_middleware.go:93 +0x40
github.com/grafana/grafana-plugin-sdk-go/backend.BaseHandler.CallResource()
...
```
(cherry picked from commit e74cf72d99)
Co-authored-by: Christopher Lord <christopher.lord@grafana.com>
Docker: Use our own glibc 2.40 binaries (#99903)
* use our own glibc 2.40 binaries
(cherry picked from commit 481f99b07f)
Co-authored-by: Dan Cech <dcech@grafana.com>
Alerting: Call RLock() before reading sendAlertsTo map (#99812)
* Alerting: Call RLock() before reading sendAlertsTo map
* defer unlocking
* drive-tru fix for another lock
* less time holding the lock in SyncAndApplyConfigFromDatabase
(cherry picked from commit 39f212a965)
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
TransformationFilter: Include transformation outputs in transformation filtering options (#98323)
* wip: include transformation output as filtering option
* add refId to joinByField transformation
* clean up
* add refId to transformations that create new data frames
* adjust duplicate query removal for filtering options
* refactor transformation input/output subscription effect
* adjust input data frame filtering logic to include transformations as input for debug view
* transformation filter can only filter on output of previous transformation
(cherry picked from commit a32eed1d13)
Co-authored-by: Sergej-Vlasov <37613182+Sergej-Vlasov@users.noreply.github.com>
CodeEditor: Fix cursor alignment (#99090)
* remeasure fonts once they've loaded
* add test mock
* fix unit test
* remeasure fonts after the editor has mounted just to be safe
(cherry picked from commit 8e59f618c1)
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
DashboardScenes: Fix issue where relative time does not pass properly (#99282)
fix issue where relative time does not pass properly
(cherry picked from commit bf1a0837af)
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com>
LibraryPanel: Fallback to panel title if library panel title is not set (#99377)
(cherry picked from commit c862aa4d68)
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
Alerting docs: add Admonitions to Link Doc pages with practical Tutorials (#99317)
Alerting docs: add admonitions to link to practical tutorials
(cherry picked from commit c7edbffd82)
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
Azure: Improve resource request error handling (#99017)
* Improve resource request error handling
- Correctly parse JSON responses
- Log erroneous failures in JSON marshalling/unmarshalling
- Correctly set response status code
- Do not attempt to use the response writer as it will be nil
* Minor change
* Improve type assertion handling
(cherry picked from commit f6194931f5)
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
* feat: update to Go 1.23.5
* chore: make drone
* chore: make update-workspace
* fix: 1.23.5, not 1.23.4
* fix: update in Makefile
* CI: Force re-build
* Zanzana: Remove usage from legacy access control
* remove unused
* remove zanzana client from services where it's not used
* remove unused metrics
* fix linter
* Plugins: Disable SRI checks for filesystem plugins
* Plugins: Disable SRI checks for filesystem plugins
* Update tests
* Lint
* Check for cdn enabled rather than just plugin class
* ops
* Update tests
* lint
* use panel title for dataName instead of panel.getDisplayTitle()
* Interpolate variables in panel title for downloads in scenes
---------
Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>