Joe Blubaugh
ecf080825e
Alerting: Fix image embed in email template. ( #50370 )
...
The ng_alert_notification email template did not include templating for
linked or embedded images. This change updates that.
Additionally, this change supports embedding an image for each alert in
an email batch.
Fixes #50315
2022-06-09 10:01:58 +08:00
Alex Khomenko
ffb8ae4900
TeamPages: Convert tests to RTL ( #50429 )
...
* TeamPages: Setup tests
* TeamPages: Finalise tests
* TeamPages: Add missing test
2022-06-08 19:05:27 +03:00
Gábor Farkas
3b745b597f
loki: rename result_transformer* to live_streams_result_transformer* ( #50376 )
2022-06-08 13:28:48 +00:00
Gábor Farkas
130bd26edd
loki: better error message when escaping is involved ( #50352 )
2022-06-08 15:27:58 +02:00
ying-jeanne
a6f3e0a9dd
Swagger: Finish some TODOs and Add consistancy check for definition generation ( #50119 )
...
* finish some todo and add consistancy check
* sort parameters
* revert parameter ordering
* fix meaningless changes
* remove go-generate tag also from alerting json
* spec changes
* update spec
2022-06-08 15:27:31 +02:00
Torkel Ödegaard
3866debae9
Angular: Fixes minor mistake in previous bsTypeahead PR ( #50411 )
2022-06-08 14:09:46 +02:00
Torkel Ödegaard
74608d6480
Security: Fixes javascript security warnings in old vendored libs ( #50382 )
2022-06-08 13:55:08 +02:00
brendamuir
e0e76f0252
Fixes term Grafana Alerting ( #50404 )
2022-06-08 13:35:37 +02:00
Ashley Harrison
a1cf709ad2
Playlists: Save button now correctly creates a new playlist ( #50381 )
...
* Add type="submit" to PlaylistForm submit button
* fix linting errors
2022-06-08 10:39:36 +01:00
Torkel Ödegaard
288eede638
Angular: Adds back two angular directives that are still used by remaining angular bits and plugins ( #50380 )
2022-06-08 10:34:58 +02:00
Kevin Yu
8bd56b8226
Chore: convert Cloud Monitoring Aggregation enzyme tests to RTL ( #50326 )
2022-06-08 10:03:58 +02:00
Gábor Farkas
50145e1617
Loki: remove frontend mode code ( #50185 )
...
* feature-flag removed
* loki: remove frontend-mode
2022-06-08 08:14:34 +02:00
Andres Martinez Gotor
ae449cc823
AzureMonitor: Clean namespace when changing the resource ( #50311 )
2022-06-07 17:05:41 +02:00
Connor Lindsey
c65d62c95b
Tracing: Fix links to traces in Explore ( #50113 )
...
* Tracing: Fix links to traces in Explore
* Fix links in dashboard
* Fix references and tracetimelineviewer tests
* Remove hard-coded references to fix tests
* Add noopener
2022-06-07 07:21:01 -06:00
Connor Lindsey
f9ddb8bf86
Explore: Download and upload service graphs for Tempo ( #50260 )
...
* Download service graph from inspect data tab
* Upload service graph
* Fix tests
2022-06-07 06:37:19 -06:00
Gábor Farkas
cbfac157fb
Logs: handle clicks on legend labels in histogram ( #49931 )
...
* logs: move new-histogram next to old-histogram
* logs: handle legend-click in new-histogram
* minor visual change
2022-06-07 14:27:32 +02:00
Ivana Huckova
be712a5f17
Loki: Add more query patterns ( #50248 )
...
* Loki: Add query patterns
* Update
* Update queries
* Update public/app/plugins/datasource/loki/querybuilder/LokiQueryModeller.ts
Co-authored-by: Jennifer Villa <jvilla2013@gmail.com>
* Update public/app/plugins/datasource/loki/querybuilder/LokiQueryModeller.ts
* Update descriptions
* Update
Co-authored-by: Jennifer Villa <jvilla2013@gmail.com>
2022-06-07 13:22:05 +02:00
Gábor Farkas
cb96f51c73
Loki: remove angular ( #49471 )
...
* loki: remove angular
Co-Authored-By: Joey Tawadrous <joey.tawadrous@grafana.com>
* better backward-compatibility
* slightly better typescript check
Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com>
2022-06-07 12:41:16 +02:00
Ashley Harrison
13a71e7219
Add back a lower z-index ( #50285 )
2022-06-07 10:25:34 +01:00
Ivana Huckova
9f6afb3475
Prometheus, Loki: Update run queries button ( #50005 )
...
* Prometheus, Loki: Updare run queries button
* Update docs
* Update docs
2022-06-07 09:57:56 +02:00
Artur Wierzbicki
49112c8356
Search: fix 'Clear filters' button ( #50227 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-07 11:57:23 +04:00
sam boyer
8876d56495
schema: Migrate from scuemata to thema ( #49805 )
...
* Remove crufty scuemata bits
Buhbye to: cue/ dir with old definitions, CI steps for checking unnecessary
things, and the original dashboard scuemata file.
* Remove grafana-cli cue subcommand
* Remove old testdata
* Don't swallow errors from codegen
* Small nits and tweaks to cuectx package
* WIP - refactor pluggen to use Thema
Also consolidate the embed.FS in the repo root.
* Finish halfway rename
* Convert all panel models.cue to thema
* Rewrite pluggen to use Thema
* Remove pkg/schema, and trim command
* Remove schemaloader service and usages
Will be replaced by coremodel-centric hydrate/dehydrate system Soon™.
* Remove schemaloader from wire
* Remove hangover field on histogram models.cue
* Fix lint errors, some vestiges of trim service
* Remove unused cuetsify cli command
2022-06-06 17:52:44 -07:00
owensmallwood
e7d6a58037
Owensmallwood/pubdash get public dashboard definition ( #50269 )
...
* When getting a public dashboard, backend returns a response structured the same as when you get a regular dashboard
* Updates backend tests for getting public dashboard
* Frontend can load the public dashboard based on the pubdash uid provided
* adds frontend test to make sure public dashboard doesnt render toolbar and submenu
* sorts imports
2022-06-06 16:19:34 -06:00
Joey Tawadrous
d20608ab84
Convert packages/jaeger-ui-components/src/TracePageHeader/TracePageSearchBar.test.js to RTL ( #49992 )
...
* Added new selectors
* Added selector to UIFindInput
* Added selectors to TracePageSearchBar
* Convert tests
* Remove next/prev button test ids
* Remove uiFindInput selector
* Remove tracePageSearchBar selector
* Remove tracePageSearchBarSuffix selector
* Update TraceViewContainer test
2022-06-06 16:31:51 +01:00
Ashley Harrison
6fcb2cd307
remove exported test globals from test/lib/common ( #50256 )
2022-06-06 15:38:37 +01:00
Ashley Harrison
22fbcebabf
Chore: convert DashboardsTable test to RTL ( #50252 )
...
* convert DashboardsTable test to RTL
* ensure render does not throw
2022-06-06 15:27:40 +01:00
renovate[bot]
0c32dec9e2
Update dependency @types/jest to v28 ( #49249 )
...
* Update dependency @types/jest to v28
* modern is now default!
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-06-06 14:45:02 +01:00
Alex Khomenko
333e261074
SaveDashboardForm: Ensure saveTimerange is a boolean ( #50228 )
2022-06-06 14:30:41 +03:00
Sriram
a3071b7797
Expression: Filter query, mixed mode fixes and panel error message ( #50218 )
...
* implement filterQuery to support query.hide
* Fixed - expression ds name in mixed mode
* Execute expression query on blur
* show actual error message when ds return Query data error
2022-06-06 11:51:23 +01:00
Andrej Ocenas
37aedd6906
Loki: Add user analytics for query editor mode ( #49619 )
...
* Add reportInteraction call
* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryEditorSelector.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-06-06 10:38:45 +02:00
Leon Sorokin
8cdfef4796
HeatmapNG: cell value filtering and color clamping ( #50204 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-06 00:21:47 -07:00
Gábor Farkas
f8eb3c8720
Revert "Loki: do not produce histogram for instant queries ( #50019 )" ( #50182 )
...
This reverts commit b0925ed4ee
.
2022-06-06 08:57:36 +02:00
Alexander Emelin
da49f907bb
SearchV2: explicit dashboard loading order and cleanups ( #50210 )
2022-06-05 23:46:35 +02:00
Ryan McKinley
fd34700225
HeatmapNG: add log scale calculation ( #49969 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2022-06-03 21:02:44 -05:00
Kyle Cunningham
12ba2d6b8b
State Timeline: Fix Null Value Filling and Value Transformation ( #50054 )
2022-06-03 16:22:57 -05:00
Stephanie Closson
53ee72d15d
Prometheus: Migrate metadata queries to use resource calls ( #49921 )
...
* Sent resource calls for metadata to the backend
* moved resource calls to the backend
* code review feedback
* fixed post with body
* statuscode >= 300
* cleanup
* fixed tests
* fixed datasource tests
* code review feedback
* force some other endpoints to only GET
* fix linting errors
* fixed tests
* was able to remove section of redundant code
* cleanup and code review feedback
* moved query_exemplars to get request
* fixed return on error
* went back to resource calls, but using the backendsrv directly
* moved to a resource call with fallback
* fixed tests
* check for proper messages
* proper check for invalid calls
* code review changes
2022-06-03 15:56:13 -03:00
Marcus Efraimsson
36c3398c6d
Datasource: Remove support for unencrypted passwords ( #49987 )
...
* Datasource: Remove support for unencrypted passwords
* regenerate swagger
* [WIP] Remove references to datasource password and basic auth password fields (#50015 )
* try delete moar tings
* delete provisioning stuff
* remove from yaml
* update snapshots
* remove lingering snapshot fields
* fix ds http settings
* Re-generate swagger and fix swagger-api-spec make target
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2022-06-03 17:38:22 +02:00
Maria Alexandra
b344f48e68
SearchV2: Fix Move and Delete not updating list in folder view ( #49524 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-03 17:33:04 +02:00
Ryan McKinley
1a324b3330
SearchV2: add CTA and reporting to new search UI ( #50175 )
2022-06-03 17:22:17 +02:00
Peter Holmberg
b1e1a97c63
Alerting: Make folder filter clearable in Alert list panel ( #50093 )
2022-06-03 15:43:29 +02:00
Konrad Lalik
7a56097b13
Alerting: Fix folder filtering for existing alert rule ( #50156 )
2022-06-03 15:09:27 +02:00
Sofia Papagiannaki
a165b40e56
API: Fix swagger generation ( #50071 )
...
* API: Fix Swagger generation using docker
* Unset SWAGGER_GENERATE_EXTENSION for Mac
2022-06-03 13:31:14 +03:00
Konrad Lalik
573e121a67
Alerting: Prevent query wrapper recreation on drag/drop ( #50142 )
2022-06-03 12:07:33 +02:00
Joey Tawadrous
9d5c0bec0f
Tempo: Add link to Tempo Search with node service selected ( #49776 )
...
* Node to tempo search with service selected
* Tests
* Update link text
* Update test
2022-06-03 10:38:13 +01:00
Gábor Farkas
6011c373ae
loki: handle ad hoc filters in backend mode ( #50135 )
...
* loki: handle ad hoc filters in backend mode
* devenv: better loki fake data
* added test
2022-06-03 10:53:03 +02:00
Alex Khomenko
d3adc42e6e
Service accounts: Use new icon ( #50140 )
2022-06-03 11:23:19 +03:00
Jack Westbrook
691a597f43
Plugins Catalog: Make tabs position consistent with other Grafana pages ( #49997 )
2022-06-03 10:01:14 +02:00
Yaelle Chaudy
bcf8320e07
Cloudwatch: Add template variable query function for listing log groups ( #50100 )
...
* cloud-datasources mob! :shipit:
* cloud-datasources mob! :shipit:
lastFile:public/app/plugins/datasource/cloudwatch/components/VariableQueryEditor/VariableQueryEditor.tsx
* mob next [ci-skip] [ci skip] [skip ci]
lastFile:public/app/plugins/datasource/cloudwatch/variables.ts
* cloud-datasources mob! 👶
lastFile:public/app/plugins/datasource/cloudwatch/components/VariableQueryEditor/VariableQueryEditor.test.tsx
* cloud-datasources mob! 👶
lastFile:public/app/plugins/datasource/cloudwatch/components/VariableQueryEditor/VariableQueryEditor.test.tsx
* mob next [ci-skip] [ci skip] [skip ci]
lastFile:public/app/plugins/datasource/cloudwatch/components/VariableQueryEditor/VariableQueryEditor.test.tsx
* cloud-datasources mob! :shipit:
lastFile:public/app/plugins/datasource/cloudwatch/variables.test.ts
* cloud-datasources mob! ☕
* prettier md
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com>
Co-authored-by: Andres <andres.martinez@grafana.com>
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
Co-authored-by: Adam Simpson <adam@adamsimpson.net>
2022-06-03 09:26:57 +02:00
Adam Simpson
53cb94a2ad
AzureMonitor: add NewDimension component using experimental UI ( #48946 )
...
* AzureMonitor: add NewDimension component using experimental UI
This new component is exercised by the same unit test file as the current Dimension component.
Also cleans up a few unneeded `await` keywords in the Dimensions test file.
* AzureMonitor: make tweaks based on PR comments.
- I was importing the wrong Field component
- We can use a typeguard to avoid the strange `if`.
2022-06-03 02:35:53 +00:00
Jeff Levin
52ed651958
public dashboards: insert default public dashboard config into database on save ( #49131 )
...
This PR adds endpoints for saving and retrieving a public dashboard configuration and and api endpoint to retrieve the public dashboard.
All of this is highly experimental and APIs will change. Notably, we will be removing isPublic from the dashboard model and moving it over to the public dashboard table in the next release.
Further context can be found here: https://github.com/grafana/grafana/pull/49131#issuecomment-1145456952
2022-06-02 18:27:23 -08:00