* Alerting: validate that the receiver exist when updating routing tree
* rename interface
* add missing file
* change constructor
* fix e2e tests
* only import package once
* add unit test for bug
* wording
* close response body
* Update pkg/services/ngalert/api/tooling/definitions/alertmanager_validation.go
* refactor to remove database roundtrip
(cherry picked from commit e64cde8727)
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
* merges library panel content into a single topic
* updates menuTite
* fixes typo
* removed Grafana from task titles
(cherry picked from commit 7eec92988e)
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Chore: Make betterer tests more stable (#51703)
* rewrite eslint test to not care about position of errors
* changing file contents shouldn't require a betterer.results update
* fix up eslint test
* fix the undocumented stories test
* ignore .test.ts files as well
(cherry picked from commit 986b766ca0)
* results...
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
* StateTimeline: Try to sort time field
* Sort frame earlier
(cherry picked from commit ebb9025669)
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
A bug introduced by #49259 would crash the annotations view of a panel with a linked alert rule. States are now normalized so crashes won't occur and the base state is used instead.
(cherry picked from commit d63ffa314e)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
* Chore: some low-hanging type assertion fruit (#51618)
* some low-hanging type assertion fruit
* results
(cherry picked from commit 2a6b32598d)
* results
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
* Use point annotation marker for short time range annotations
* Properly align small region marker
(cherry picked from commit d429cac27b)
Co-authored-by: Kyle Cunningham <codeincarnate@users.noreply.github.com>
This commit makes a number of improvements to the image package:
- Improved comments
- Return the correct error when a dashboard does not exist
- Set a timeout in context.Context
(cherry picked from commit fe797dcfdc)
Co-authored-by: George Robinson <george.robinson@grafana.com>
* Chore: split betterer into it's own CI step and allow failures for now (#51543)
* split betterer into it's own CI step and allow failures for now
* Run make drone
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com>
(cherry picked from commit f654152dc8)
* Run make drone
Co-authored-by: dsotirakis <dimitrios.sotirakis@grafana.com>
* on a text panel first interpolate, then markdown, then sanitize;
* update devenv dashboard + e2e tests
* fix typo and undo changes in grafana/data
* handling of config option disableSanitizeHtml more readable when preparing markdown in text panel
* betterer
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
(cherry picked from commit f83f05d6b3)
Co-authored-by: Polina Boneva <13227501+polibb@users.noreply.github.com>
In plugin E2E, changing the default download to enterprise version of grafana.
(cherry picked from commit 5aab8b710b)
Co-authored-by: Sriram <yesoreyeram@gmail.com>
* optional custom description for OpsGenie
* custom title and message, tests
* update changelog
* check for empty / whitespace only strings
* truncate the title to 130 characters if needed
* unnecessary validation removed
* truncate title to 127 characters and add three dots
(cherry picked from commit 9dc7e752b7)
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
Improves how we handle symlinks in plugin management.
(cherry picked from commit 04df634ef5)
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Plugins: Use a Grafana specific SDK logger implementation for core plugins (#51229)
Upgrade grafana-aws-sdk to v0.10.6
(cherry picked from commit a8eb29f1d7)
* fix go.mod go.sum
* Chore: reintroduce type assertion test + change emitted metric names (#51375)
* reintroduce type assertion test + change emitted metric names
* rename test to better eslint to be more generic
(cherry picked from commit 0124dc8e6b)
* don't use --cache
* update betterer results