Commit Graph

9692 Commits

Author SHA1 Message Date
Ashley Harrison
79a86b9e6a
Chore: Improve typings (#93180)
* fix some any's/type assertions

* fix some more any/type assertions
2024-09-11 09:30:33 +01:00
Adela Almasan
f64b121ddb
Canvas: Allow API calls to grafana origin (#91822)
* allow post URL
* check for config
* allow relative paths
* add allowed internal pattern; add checks for method
* update defaults.ini
* add custom header
* update config comment
* use globbing, switch to older middleware - deprecated call
* add codeowner
* update to use current api, add test
* update fall through logic

* Update pkg/middleware/validate_action_url.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* Update pkg/middleware/validate_action_url.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* add more tests

* Update pkg/middleware/validate_action_url_test.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* fix request headers

* add additional tests for all verbs

* fix request headers++

* throw error when method is unknown

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Brian Gann <bkgann@gmail.com>
Co-authored-by: Brian Gann <briangann@users.noreply.github.com>
Co-authored-by: Dan Cech <dcech@grafana.com>
2024-09-10 10:45:27 -04:00
Laura Fernández
1701dc85e7
A11y: Focus outline is not fully visible in several areas of the application (#93030) 2024-09-10 13:50:12 +02:00
renovate[bot]
1e6735706d Update dependency @types/node to v20.16.5 2024-09-09 19:39:19 +00:00
Andreas Christou
11c1af0c5f
AzureMonitor: Remove Basic Logs retention warning (#92870)
Remove retention warning
2024-09-09 16:15:55 +01:00
Adela Almasan
af48d3db1e
Canvas: Add actions support (#90677)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-09-09 09:11:55 -05:00
Oscar Kilhed
c0df15dcde
InfluxDB: Fix variable interpolation in influx db (#92988)
Fix variable interpolation in influx db
2024-09-09 15:35:30 +02:00
Andre Pereira
72ed3107fa
Tempo: Remove usage of traceQLStreaming feature toggle (#93033)
* Remove usage of traceqlStreaming feature toggle and stop checking for Tempo version

* Increase Grafana Live's ClientQueueMaxSize to 4mb to support larger responses from Tempo
2024-09-06 16:12:21 +01:00
renovate[bot]
468c1fcb9c
Update dependency glob to v11 (#92920)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 14:03:38 +03:00
renovate[bot]
7933cbd204 Update dependency @types/node to v20.16.4 2024-09-04 09:25:17 +00:00
Piotr Jamróz
d7d22bbbb8
TraceView: Display event names of a span (#91382)
* Display event name of a span

* Clean up

* Retrigger the build

* Show colon only when there are fields to display

* Rollback

* Use event name when exporting to OTLP

* Allow filtering spans by event name

* Show duration as a key/value pair

* Update betterer report (we do not translate panels that are planned to be externalized)

* Fix tests after changing how duration is rendered

* Handle long names

* Test handling long names

* Make parenthesis gray

* Fix a test

* Fix linting

* Fix tests

* Update label
2024-09-03 11:18:50 +02:00
piyushfs
a038d4136e
NodeGraph: Allow to add datalinks (#90163)
* NodeGraph: allow to add datalinks

* chore: filter list
2024-09-02 16:06:56 +01:00
Andreas Christou
9459626372
AzureMonitor: Update logs workspaces (#92809)
Update logs workspaces and code to retrieve
2024-09-02 16:03:13 +01:00
renovate[bot]
1395cd89da Update dependency @types/node to v20.16.3 2024-09-02 13:05:54 +00:00
renovate[bot]
cf541b8869
Update dependency tslib to v2.7.0 (#92744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 10:00:07 +01:00
Isabella Siu
2d10068714
CloudWatch: Logs queries should retry on throttling errors (#92535)
CloudWatch: logs queries should retry on throttling errors
2024-08-30 13:55:00 -04:00
Tom Ratcliffe
690fbe6077
Alerting: Edit, create and delete contact points via k8s API (#91701) 2024-08-30 12:10:30 +01:00
Ashley Harrison
c16cc488c9
AdHocFilters: Add support for new isOneOf multi value operator (#91837)
* handle oneOf operator in prometheus

* use new supportsMultiValueOperators

* remap oneOf to regex in prometheus datasource

* Remap one of operators for scope filters

* use plugin.json property instead of feature toggle

* optional chaining

* fix unit tests

* use getInstanceSettings

* update to latest scenes

* fix unit tests

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-08-30 11:03:44 +01:00
Laura Fernández
7e92cea000
TutorialCard: Fix link to tutorial not opening (#92599) 2024-08-29 11:22:50 +02:00
Adela Almasan
692280cd32
BarGauge: Add legend support (#92449) 2024-08-28 23:26:55 +03:00
Andrew Hackmann
f8af6f4eea
Graphite: Add @ to the lexer (#92546)
Add @ to the lexer
2024-08-28 09:12:23 -05:00
Andrew Hackmann
e0a0942203
Graphite: Tag values are queried with dashboard time range (#92167)
add time range to get tag values in graphite
2024-08-28 09:08:46 -05:00
renovate[bot]
909d0fac35
Update dependency @types/node to v20.16.2 (#92576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 12:15:38 +01:00
renovate[bot]
a9c2c97531
Update dependency @opentelemetry/semantic-conventions to v1.27.0 (#92566)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 11:44:50 +01:00
renovate[bot]
72be3e861e
Update dependency webpack to v5.94.0 [SECURITY] (#92545)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 09:29:33 +01:00
renovate[bot]
1552ab0eb7
Update dependency @opentelemetry/semantic-conventions to v1.26.0 (#92518)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 09:28:46 +01:00
Adela Almasan
39fda067cf
BarGauge: Add option to hide the names (#92450) 2024-08-27 17:21:35 -05:00
Galen Kistler
867f3f793c
Logs Panel: Only send DataHoverClearEvent on container mouse leave event (#92526)
* fix: stop sending clear events between every row, and only when the mouse leaves the container
2024-08-27 22:44:17 +03:00
renovate[bot]
d5b7b4ba58
Update dependency @grafana/experimental to v1.8.0 (#92515)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 17:38:09 +01:00
renovate[bot]
475fb6ac3a
Update dependency @types/lodash to v4.17.7 (#92482)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 16:09:01 +01:00
renovate[bot]
02f1bb7b46 Update Yarn to v4.4.1 2024-08-27 13:18:56 +03:00
Andrew Hackmann
eac194815e
MSSQL: decouple plugin (#89597)
* decouple from core

* yarn decouple

* make health check work and azure config

* f

* driver error not needed

* merge
2024-08-26 23:09:21 +03:00
Matias Chomicki
3f88188a42
Logs panel: update internal displayed fields when the prop changes (#92418) 2024-08-26 19:08:01 +03:00
Sven Grossmann
ec857e1de9
Loki: Add dashboard and panel names as headers (#92096)
* feat(nameHeaders): add feature flag

* add safe parsing of headers

* use headers in loki datasource

* Loki: add option to pass headers to Loki

* Loki: add datasource tests for dashboard names

* cleanup

* DataSourceWithBackend: add test

* rename to `sanitizeHeader`

* Loki: add condition when to add headers

* Loki: add e2e tests

* Loki: change test name
2024-08-22 21:30:43 +02:00
renovate[bot]
81935a3af1
Update dependency @grafana/experimental to v1.8.0 (#92283)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 15:50:27 +01:00
Sven Grossmann
40cdfeb00b
Loki: Add logsample supporting query type (#92082)
* Loki: Add `logsample` supporting query type

* use `SupportingQueryType`

* add missing test
2024-08-22 09:12:50 +02:00
Matias Chomicki
1b6db3da22
Loki language provider: don't cache empty array while querying (#92092)
* Loki language provider: don't cache empty array while querying

* Prettier

* Unfocus test

* chore: add extra assertion
2024-08-21 13:07:01 +00:00
Alexa V
cd4b7ef9db
Dashboard Scene: Fix snapshots not displaying variables values (#88967)
* Use new snapshot variables from scenes

* Add snapshotVariable implementation

* Refactor: Extract variables logic from transforSaveModelToScene file

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2024-08-20 17:05:12 +02:00
renovate[bot]
d9812153dd
Update dependency typescript to v5.5.4 (#91678)
* Update dependency typescript to v5.5.4

* fix missing typeof

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-20 10:11:57 +01:00
Joey
41fc6ab89e
Tempo: Update max options (#92050)
* Update max options

* Update limit
2024-08-19 10:26:55 +01:00
Ashley Harrison
dcdef1a02d
TextPanel: Prevent panel crashing when interpolating variables results in empty content (#92019)
fix text panel crashing when interpolating variables results in empty content
2024-08-19 09:45:58 +01:00
Drew Slobodnjak
3c5d799c8c
BarChart: Prevent label clipping at top (#91990)
* BarChart: Prevent label clipping at top

* Fix const issue
2024-08-16 09:29:25 -07:00
Joey
ca56f16615
Tempo: Improve performance of drop down in variable query editor (#92010)
Improve performance of drop down
2024-08-16 14:07:09 +01:00
Matias Chomicki
4751bf915a
Loki: Higlight search words in queries when using template variables (#91949)
* backendResultTransformer: use templateSrv to highlight search words from variables

* Add unit tests

* Formatting

* Fix import issues

* Update public/app/plugins/datasource/loki/backendResultTransformer.ts

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

* Refactor: use executedQueryString to get the interpolated query

* Remove unused imports

* Update public/app/plugins/datasource/loki/backendResultTransformer.test.ts

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2024-08-15 19:20:48 +03:00
grafana-delivery-bot[bot]
675a58b680
Release: Bump version to 11.3.0-pre (#91863)
* bump version 11.3.0-pre

* fix linters with: yarn run prettier:write

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com>
2024-08-14 18:34:14 -03:00
Adela Almasan
f6b55ced6f
Canvas: Remove null data links (#91859) 2024-08-14 23:58:39 +03:00
Matias Chomicki
699ff406c3
Logs panel: Enable displayedFields in dashboards and apps (#91810)
* LogsPanelCfg: add displayedFields

* LogsPanel: expose displayedFields

* Chore: add docs

* LogsPanel: add callbacks to external API

* LogsPanel: expose field callbacks and add default implementation

* chore: add unit test

* chore: unfocus test

* LogsPanel: add docs for new props

* Enable by default
2024-08-13 18:58:15 +03:00
Joey
d779dfb0a2
Tempo: Select performance improvements (#91732)
* Tempo select performance improvements

* Update type

* Tidy up and simplify

* Update tagValueOptions

* Update GroupBy options
2024-08-13 15:24:58 +01:00
Joey
d72846790e
Tempo: Send the existing query with the request for a tags values (#90931)
* Send query with request

* Ensure number tag values are added to query correctly

* Update test

* Update test
2024-08-13 15:23:18 +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