Commit Graph

19138 Commits

Author SHA1 Message Date
Andre Pereira
107cf0dc04
Trace View: Critical path highlighting (#76857)
* Added critical path computation code. Refactor some trace view code

* Refactor js to ts

* First implementation of critical path working

* Simplified code

* Added filter to show only critical path spans

* Lint and stuff

* Fixes and moving styling to object

* Betterer
2023-10-30 10:43:14 +00:00
siddhikhapare
8d2b3f973e
Rich history drawer: Translation added (#77088)
* query history translation added

* Recommended changes added
2023-10-30 11:36:08 +01:00
Ivana Huckova
f5d04a067e
Loki: Add optional stream selector to fetchLabelValues API (#77207)
* Loki: Add optional stream selector to fetchLabelValues API

* Update public/app/plugins/datasource/loki/docs/app_plugin_developer_documentation.md

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

* Update tests

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2023-10-30 10:16:35 +01:00
Giordano Ricci
dae49fbb34
Explore: Fix panes vertical scrollbar not being draggable (#77284)
Explore: Fix panes verticall scrollbar not being draggable
2023-10-30 08:56:26 +00:00
Aaron Sanders
8683323760
Auto-generate: Change dashboard save diff prompt, widen diff context (#76724)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-28 08:10:47 +03:00
Leon Sorokin
c1d674a2c6
Prometheus: Don't post-process native heatmap-cells responses (#77289) 2023-10-27 12:31:21 -05:00
Michael Mandrus
0231873d70
Feature Management: Link to grafana.com docs from feature toggle admin page (#77302)
* add link to gcom

* re-add subtitle on backend so it displays in the high level administration view
2023-10-27 19:16:43 +03:00
Kyle Cunningham
71e3814c46
Transformations: Allow Timeseries to table transformation to handle multiple time series (#76801)
* Initial fix up of getLabelFields

* Update time series to table code

* Cleanup and allow merging

* Support merge and non-merge scenarios

* Update editor

* Fix case with merge true for multiple queries

* Update time series detection, fix tests

* Remove spurious console.log

* Prettier plus remove test console.log

* Remove type assertion

* Add options migration

* Add type export

* Sentence casing

* Make sure current options are preserved when making changes

* Add disabled image

* DashboardMigrator prettier

* Add type assertion explanation and exception

* Fix schema version test

* Prettier

* Fix genAI tests and make them more robust so they dont break on every new schema version

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-27 10:30:49 -05:00
Kyle Cunningham
470d879c80
Transformations: Move debug to drawer (#76281)
* Move debug to drawer
* Prettier
* Remove render actions arg
* Remove unused import
2023-10-27 18:30:31 +03:00
Giordano Ricci
bf554d121c
Explore: Avoid reinitializing graph on every query run (#77281) 2023-10-27 14:37:23 +01:00
Haris Rozajac
09e496acfd
Explore TraceView: Remove 'Scroll to top' button (#77158)
* Remove button from Explore but keep in plugins

* Remove topOfViewRef from trace view container
2023-10-27 07:19:43 -06:00
Konrad Lalik
214535c1a9
Alerting: Memoize labels suggestions calculation (#76972) 2023-10-27 14:38:52 +02:00
Matias Chomicki
46f331e284
Logs: remove toggleLabelsInLogsUI (#77264)
* toggleLabelsInLogsUI: remove flag

* Remove unused imports

* isFilterLabelActive: refId is not optional

* Revert "isFilterLabelActive: refId is not optional"

This reverts commit 008931b7e9.

* Revert method signature change

* Update tests

* Update tests
2023-10-27 13:00:49 +02:00
Daniel Benjamin
8ba6dc866d
chore: remove LegacyForms from MetricSelect component (#76490) 2023-10-27 12:41:04 +02:00
Ashley Harrison
49f8838b62
Navigation: Improve docked auto scroll behaviour (#77117)
ensure expand works on any location change, only scroll when docked
2023-10-27 09:26:38 +01:00
Darren Janeczek
7d2bfea777
Pyroscope: Added app integration for datasource (#75789)
* feat: integrate pyroscope query editor with link extensions

- allows plugin app extensions to register links based on
  the query and selected datasource

* fix: remove not-as-designed busy wait mechanism

* Apply suggestions from code review

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>

* fix: implement feedback

* fix: lint

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-10-27 08:09:05 +02:00
Leon Sorokin
45aa58c4a8
Histogram: Render heatmap-cells and heatmap-rows frames (#77111) 2023-10-26 23:23:01 -05:00
Isabella Siu
72a085ea20
Cloudwatch: Add DB_PERF_INSIGHTS to Metric Math (#77241) 2023-10-26 16:08:52 -04:00
Galen Kistler
05376a950c
Logs Panel: Column selection for experimental table visualization in explore (#76983)
* New experimental table customization for logs in explore
* Logs Panel: Explore url sync for table visualization (#76980)
* Sync explore URL state with logs panel state in explore
2023-10-26 12:06:41 -05:00
Kristina
2c92e370dd
Explore: Fix broken interpolation for mixed datasources coming from dashboards (#76904)
* Fix broken interpolation for mixed datasources in explore

* Add interpolation tests

* Use Promise.all and be better about dealing with invalid empty ds in query scenario

* condense logic

* Remove type declarations

* Fix tests
2023-10-26 08:16:22 -05:00
Joao Silva
f183e68b1c
GrafanaUI: Move Box out of unstable and into GrafanaUI (#77080) 2023-10-26 13:46:11 +01:00
Sonia Aguilar
61f056fe15
Alerting: Show receiver in groups view to avoid duplication in the list (#77109) 2023-10-26 13:04:26 +02:00
João Calisto
7869ca1932
Feature Management: UI improvements (#76866)
* Feature Management: UI improvements

* update UI logic

---------

Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2023-10-26 10:42:00 +01:00
Torkel Ödegaard
c4bf32fa2d
EmbeddedDashboard: Removes no longer used components (#77195) 2023-10-26 11:40:15 +02:00
Dominik Prokop
877b61e31d
DashboardScene: Render share snapshot radio button translations (#77136)
DashboardScene: Render share snapshot tab translations
2023-10-26 00:37:16 -07:00
Andres Martinez Gotor
314bea935f
Bug: Fix DatasourceSrv getList with aliases (#77027) 2023-10-26 09:30:24 +02:00
Adela Almasan
a0dbde5c60
Organize fields transformation: Fix re-ordering of fields using drag and drop (#77172)
drag handler as html element
2023-10-25 23:47:01 -05:00
Virginia Cepeda
8d7dfbc7b9
Alerting: changes on Insights section titles (#77163)
Minor changes on texts
2023-10-25 16:12:05 -03:00
Tomas R
421461ec3f
Chore: Update PromSettings tooltip grammar (#76627)
Trivial: Update PromSettings.tsx

Fix wording and add missing '.'
2023-10-25 18:57:21 +02:00
ismail simsek
51e49eaa20
InfluxDB: Fix handle multiple frames in metricFindQuery and runMetadataQuery (#77154)
Handle multiple frames in metricFindQuery and runMetadataQuery
2023-10-25 18:27:25 +02:00
Josh Hunt
333c858bc6
GrafanaUI: Prevent code editors from 'trapping' scroll (#77125)
* GrafanaUI: Prevent CodeEditor from 'trapping' scroll

* fix test

* fix lint for unused import
2023-10-25 19:21:54 +03:00
Ben Sully
eb62e02259
chore: use grafana/experimental for dashboard AI feature (#76948)
The 'llms' module of @grafana/experimental was vendored into the
GenAI components at some point in the past to speed up iteration, so
that dashboard feature development didn't have to wait for a new
release of the experimental package for every change. Now that we
think this has stabilized, we can remove the vendored module from
the Grafana codebase and use the version from @grafana/experimental
instead.

This requires a couple of minor changes, mostly around health check
results which are slightly different in @grafana/experimental now,
but otherwise the changes are mechanical.

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-25 16:38:55 +01:00
Konrad Lalik
4fc0294aab
Add logging prometheus and ruler rules totals (#76812) 2023-10-25 16:47:32 +02:00
Ashley Harrison
5f2fd8935d
Spinner: Fix so that the size property is correctly applied (#77135)
* correctly apply spinner sizes, refactor to have standard sizes

* better prop definitions so constant values show in IDEs

* 12 is xs, not sm
2023-10-25 15:39:32 +01:00
Ryan McKinley
5d44240fca
K8s: Use grafana.app as the playlist+example group name domains (#77096) 2023-10-25 07:24:19 -07:00
Gilles De Mey
e12e40fc24
Alerting: Contact Points v2 part IV (#76063) 2023-10-25 15:57:53 +02:00
ismail simsek
283f279a17
InfluxDB: Fix adhoc filter calls by properly checking optional parameter in metricFindQuery (#77113)
* Handle optional options parameter

* unit tests
2023-10-25 15:56:10 +02:00
Ashley Harrison
85468d2a67
DockedMegaMenu: Adjust docked threshold (#77139)
* adjust docked threshold to be xl instead of md and make sure it's open by default on 1440 res

* don't show dock menu button
2023-10-25 14:41:07 +01:00
kay delaney
b215d2f0fb
Library Panels: Fix library panel creation with RBAC enabled (#76553) 2023-10-25 16:29:57 +03:00
Kuba Siemiatkowski
327ae398e6
Add SumoLogic plugin (#77025)
- add Sumo to plugins list
- remove duplicated sqlyze from the plugins list
2023-10-25 15:02:03 +02:00
Alexander Zobnin
aa7a6da985
Role picker: Fix flickering at service accounts page (#77049)
* Role picker: Fix flickering at service accounts page

* Set role picker fixed width

* Fix betterer

* Fix styles
2023-10-25 13:03:12 +02:00
Gareth Dawson
c25ea17d10
SQL: Fix config page backwards compatibility (#76951)
fix
2023-10-25 11:38:16 +01:00
Karl Persson
b156267e39
ServiceAccount: Add pagination to service accout table (#77044)
* Add pagination to service account table
2023-10-25 12:21:01 +02:00
Joey
37dbf037de
Tracing: Improve frame type checking (#76898)
Improve frame type checking
2023-10-25 10:16:17 +01:00
Sonia Aguilar
f1ce73dc2c
Alerting: Fix NoRulesSplash being rendered for some seconds, fater creating a rule (#77048)
* Fix NoRulesSplash being rendered for some seconds, fater creating a rule

* Add ruler response/loading,dispatched,error to the logic in hasNoAlertRulesCreatedYet expression
2023-10-25 09:32:28 +02:00
ismail simsek
d75886c3ac
Chore: Remove default metadata key from influxdb sql config page (#76994)
Remove default metadata key
2023-10-24 20:11:37 +02:00
Jev Forsberg
41db5b645c
Transformations: Separate useful doc content for UI use (#75781)
* baldm0mma/doc_builder/ add to gitignore

* baldm0mma/doc_builder/ add makefile commands

* baldm0mma/doc_builder/ add content

* baldm0mma/doc_builder/ format content

* baldm0mma/doc_builder/ update makefile

* baldm0mma/docs_builder/ update content

* baldm0mma/doc_builder/ add back content

* baldm0mma/doc_builder/ run builder

* baldm0mma/doc_builder/ update naming

* baldm0mma/doc_builder/ remove unused note

* baldm0mma/doc_builder/ update template

* baldm0mma/doc_builder/ add new line in makefile

* baldm0mma/doc_builder/ rem new line

* baldm0mma/doc_builder/ add final line

* Much of this full PR was Co-Authored-By: Jack Baldry <jack.baldry@grafana.com>

* baldm0mma/doc_builder/ update readme

* baldm0mma/doc_builder/ update guidlines

* Update scripts/docs/generate-transformations.ts

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Update scripts/docs/generate-transformations.ts

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Update scripts/docs/generate-transformations.ts

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Update scripts/docs/generate-transformations.ts

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Update scripts/docs/generate-transformations.ts

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Update docs/README.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Update docs/README.md

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* Update scripts/docs/generate-transformations.ts

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* baldm0mma/doc_builder/ update concat

* baldmomma/doc_builder/ finish concat table

* baldm0mma/docs_builder/ update with suggestions

* baldm0mma/doc_builder/ update content to use getHelperDocs

* baldm0mma/doc_builder/ update calculateField

* baldm0mma/doc_builder/ update to byRefId

* baldm0mma/doc_builder/ update filterByValue

* baldm0mma/doc_builder/ update filterFieldsByName

* baldm0mma/doc_builder/ update formatTime

* baldm0mma/doc_builder/ update groupBy

* baldm0mma/doc_builder/ update groupingToMatrix

* baldm0mma/doc_update/ update heatmap

* baldm0mma/doc_builder/ update histogram

* baldm0mma/doc_builder/ update joinByField

* baldm0mma/doc_builder/ update joinByLabels

* baldm0mma/doc_builder/ update labelsToFields

* baldm0mma/doc_builder/ update limit

* baldm0mma/doc_builder/ update merge

* baldm0mma/doc_builder/ update organize

* baldm0mma/doc_builder/ update partitionByValues

* baldm0mma/doc_builder/ update prepareTimeSeries

* baldm0mma/doc_builder/ update reduce

* baldm0mma/doc_builder/ update renameByRegex

* baldm0mma/doc_builder/ update rowsToFields

* baldm0mma/doc_builder/ update seriesToRows

* baldm0mma/doc_builder/ update sortBy

* baldm0mma/doc_builder/ update spatial

* baldm0mma/doc_builder/ update timeSeriesTable

* baldm0mma/doc_builder/ rerender all

* baldm0mma/doc_builder/ update calculateField

* baldm0mma/doc_builder/ gitignore conflicts

* baldm0mma/doc_builder/ add formatString

* baldm0mma/doc_builder/ update vars

* baldm0mma/doc_builder/ update naming

* baldm0mma/doc_builder/ rerender markdown

* Update public/app/features/transformers/docs/content.ts

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>

* baldm0mma/doc_builder/ update content

* baldm0mma/doc_builder/ add to codeownders

* baldm0mma/doc_builder/ correct spelling

* baldm0mma/doc_builder/ update comment

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-24 10:30:10 -06:00
Josh Hunt
ec84caf389
Navigation: Basic e2e tests for docked mega menu (#77000)
* Navigation: Basic e2e tests for docked mega menu

* give mega menu an e2e selector

* make existing tests narrower so menu doesn't default to docked. add test for auto docking at large viewport

* use new selector in nondocked menu
2023-10-24 15:56:00 +00:00
Fabrizio
3899620234
Tempo: Add new structural operators (#77056) 2023-10-24 17:46:36 +02:00
Drew Slobodnjak
97be80d1f0
Geomap: Fix route layer crosshair share (#76702)
* Geomap: Fix route layer crosshair share

* Update crosshair styling

* Consolidate horizontal and vertical lines

* Consolidate clear out

* Create const for crosshair color

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-24 08:15:31 -07:00
Sonia Aguilar
ed54239a9f
Alerting: Dont show 1 firing series when no data in Expressions PreviewSummary (#76981)
* Dont show 1 firing series when no data in Expressions PreviewSummary

* Add comment to make clear we need to filter out undefineds for firing count

* Move logic to a new getGroupedByStateAndSeriesCount method and added test to it
2023-10-24 15:50:50 +02:00
Fabrizio
b8d005ae23
Plugins: Improvements to NodeGraph (#76879) 2023-10-24 15:16:10 +02:00
Eric Leijonmarck
813a7625a5
RBAC: Default to None role on SA creation if accesscontrol enabled (#77035)
* Check accesscontrol enabled on service account creation

* fix test

* linting
2023-10-24 13:52:55 +01:00
Eric Leijonmarck
8914849733
Revert "RBAC: Allow the basic role None as option of the org role #76335 (#77033)
Revert "RBAC: Allow the basic role None as option of the org role selector (#76335)"

This reverts commit 43928d38af.
2023-10-24 13:02:17 +01:00
Ashley Harrison
07cc7504ee
Icon: Simplify and remove wrapping <div> (#76819)
* remove wrapping div

* update tests, just gotta figure out how to handle fontawesome :(

* add spinner.svg which matches the font-awesome spinner

* add mock for react-inlinesvg

* update mock and fix some tests

* fix FormField test

* fix CorrelationsPage tests

* increase timeout
2023-10-24 12:16:32 +01:00
Victor Marin
575981201c
revert table tracking (#77021) 2023-10-24 13:58:14 +03:00
Ashley Harrison
ced065c7e9
Chore: fix some more types (#76535)
* clean up some e2e/runtime types

* fix some stories

* some more fixes

* fix route props

* update unit tests

* update more unit tests

* don't throw here
2023-10-24 11:53:22 +01:00
Ashley Harrison
fbbc524cb6
Navigation: Default MegaMenu to docked when screensize > 1440 (#76960)
default megamenu to docked when screensize > 1440
2023-10-24 09:27:23 +01:00
Matias Chomicki
4ea4156b08
Elasticsearch: decouple from timeSrv and templateSrv (#76894)
* Elasticsearch: remove timeSrv dependencies

* Elastisearch: decouple from templateSrv

* Prettier

* Elasticsearch: improve typescript in mocks file

* Prettier
2023-10-24 10:25:23 +02:00
Jack Westbrook
afa697f954
Build: Faster external plugin builds (#76974)
* build(plugin-configs): move swc-loader to configs and use require.resolve for less duplicate deps

* build(plugins): move cacheLocation to ESLintPlugin, run lint and tscheck plugins in dev

* revert(plugins): remove obsolete stats setting
2023-10-24 09:28:23 +02:00
Juan Cabanas
a174e69c52
Identity: Fix org role none comparison (#76999) 2023-10-23 17:14:01 -03:00
Todd Treece
b0eeeb9404
Playlists: Fix K8s list interface (#76993) 2023-10-23 12:47:39 -07:00
Adela Almasan
4df4844c1d
Canvas: Button API update toaster error message (#76988) 2023-10-23 14:34:16 -05:00
ismail simsek
63abe25b74
InfluxDB: Fix table parsing with backend mode (#76899)
* Add resultFormat to query model

* don't add row name if the result format is table

* No need special formatting since we use unified dataframes

* betterer

* specify visualization type in response

* Unit tests

* fix unit tests
2023-10-23 19:21:30 +02:00
Drew Slobodnjak
4f2bbd490f
Canvas: Add PUT to Canvas Button (#76844)
* Add PUT to canvas button

* Update cue file to include PUT

* Re run make gen cue

* fix gen-cue

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-23 09:24:34 -07:00
Ashley Harrison
efea86eb52
Navigation: Expand active page hierarchy and scroll into center if not visible (#76949)
* expand page hierarchy and scroll into center if not visible

* remove unnecessary id
2023-10-23 15:47:16 +01:00
William Assis
65a7bddcee
Analytics: Add option to pass destSDKBaseURL to rudderstack load method (#74926)
* Add option to pass destSDKBaseURL to rudderstack load method

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-10-23 12:43:33 +00:00
Gareth Dawson
f6a0f6912f
SQL: Update configuration pages (#75525)
* update psql config page to follow guidelines

* make small changes to mysql config page

* update shared tls config to match guidelines

* revert back to text area

* remove type assertion

* prettier

* remove unused imports

* update required fields

* add secure sox proxy to additional settings

* make additional settings collapsible

* make user permissions collapsable

* make db name and password optional

* mysql: move from alert to collapse
2023-10-23 11:29:28 +01:00
Ashley Harrison
f9a89e5cd2
Navigation: correctly mark a MegaMenuItem as active if it has active children (#76944)
correctly mark a MegaMenuItem as active if it has active children
2023-10-23 10:55:25 +01:00
Dominik Prokop
120247667b
DashboardScene: Transform scene repeats to snapshot (#76428)
* WIP : Transform scene panel repeats to snapshot

* Set scoped vars correctly on repeated panel snapshot

* Row repeats snapshots

* Fix scoped vars for repeated rows

* Tests

* Fix merge
2023-10-23 02:46:35 -07:00
Josh Hunt
685b494e05
BrowseDashboards: Prevent unnecessary searches (#76424) 2023-10-23 09:44:07 +01:00
Ophir LOJKINE
4b6b3b7018
NodeGraph: Fix edges dataframe miscategorization (#76842)
* in node graph, fix edges dataframe miscategorization

A dataframe named "edges" could end up getting categorized as a nodes dataframe if it was missing a "source" field, resulting in a very confusing error message "id field is required for nodes dataframe" instead of a more sensible error message about the missing source field.

* Fix lint

---------

Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2023-10-23 10:30:58 +02:00
Ashley Harrison
a2921d9dfb
DockedMegaMenu: More consistent spacing on active state (#76873)
* more consistent spacing on active state

* use correct secondary variant buttons
2023-10-23 09:15:39 +01:00
Krishna Dhakal
cfa7311fd4
a11y: Fix no-static-element-interactions in xy chart editor (#76170)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-21 07:53:00 +03:00
Nathan Marrs
0ed0e0397c
Geomap: Fix broken symbol alignment options for older geomap panels (#76850) 2023-10-20 10:29:52 -07:00
Dominik Prokop
534ca29707
Fix scenes runtime error for legacy angular panels (#76883) 2023-10-20 17:18:14 +02:00
Torkel Ödegaard
7759e2f8a3
DashboardScene: Panel Keybindings and some others (#76233)
* DashboardScene: Keybindings like v to view panel

* more bindings

* Fix imports

* Progress

* Nit update

* Fix merge

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-10-20 06:22:56 -07:00
Drew Slobodnjak
7028406b6d
Geomap: Fix Share View (#76787)
* Geomap: Fix Share View

* Fix share view for multiple panels and options

* clean up

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-20 15:00:40 +02:00
siddhikhapare
3e24a500bf
Tempo: Rename label in TraceQL builder (#76685)
* Rename label in TraceQL builder

* Suggested enhancement added

---------

Co-authored-by: André Pereira <adrapereira@gmail.com>
2023-10-20 10:35:57 +01:00
Ashley Harrison
f5758e9f4b
Navigation: Correctly highlight a SectionNavItem if it has children that are active (#76860)
correctly highlight a sectionnavitem if it has children that are active
2023-10-20 10:27:25 +01:00
renovate[bot]
8985f79aab
Update dependency webpack to v5.89.0 (#76832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-20 09:23:11 +01:00
Carl Tablante
a0ec0baef3
chore(76107): Removed LegacyForm from FolderSettingsPage (#76313)
chore: Removed LegacyForm from FolderSettingsPage
2023-10-20 08:30:00 +03:00
Piotr Jamróz
6531cd94c4
Explore: Cancel previous queries when a new query is run (#76674)
* Cancel streaming queries before running new queries

* Cancel previous queries when a new query is run

* Remove redundant dependency

---------

Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com>
2023-10-19 19:31:23 +02:00
Piotr Jamróz
8f6a3c18c5
Explore: Do not assert order of query history items when initializing from URL (#76806)
Assert initial state of the query history without requiring correct order.
2023-10-19 19:31:06 +02:00
Brendan O'Handley
5580d06101
Prometheus: PromQAIL frontend, drawer, feature toggle, workflow, etc. (#73020)
* initial commit for PromQAIL

* add feature toggle and start button

* add drawer

* set up drawer and state

* fix styles and start the conditional text display

* add data info list going to ai

* add logos and style

* metric display table style, neeed to make responsive

* make feature toggle frontend only

* add logic for want prompt for list or not, add helpers, addquerysuggestion type

* make query suggestion component

* add buttons to add or refine prompt

* refactor logic to add interactions to have multiple AI or historical interactions

* refactor and enable multiple questions, all flow

* add colorful AI icon to drawer open button

* fix linting

* refactor for hooking up promQail app and only giving one suggestion

* design fixes

* fix next prompt button styling

* historical suggestions give us 5, fixed that and some design things

* hook up the api, provide defense filler if it's down, refactor lots

* use query, fix linting

* add metadata to explain for ai suggestions

* styling fixes

* give metadata for historical suggestions by parsing query on the fly

* no prompt field to query-suggestion endpoint if prompt is empty

* fix linting

* use suggest rte for historical list, fix long code style

* use suggest rte for historical list, fix long code style

* fix historical bug

* added prompt file

* updated llm logic in explainer helper

* bump @grafana/experimental from 1.7.0 to 1.7.2

* use llmservice and vectorservice

* cleanup prompts + streaming explainer

* promqail feature toggle: fix re-order

* PromQL non-llm failback recommendation logic (#75469)

* added template recommendation logic directly in helpers

* also added selected labels to recommendation

* PromQail: query gen: fix prompt formatting and fetch metric labels to be used (#75450)

* PromQail: query gen: fix prompt formatting and fetch metric labels to be used

* Code fixes as suggested

* Use newly decided collection name for promql templates

* Prometheus: Promqail tests and bug fixes (#75852)

* add tests for drawer

* refine one prompt at a time, fix css

* scroll into view on interaction change

* fix styles for light

* disable prompt input after getting sugestions for that interaction

* make buttons disappear after selecting refine prompt or show historical queries to prevent user from clicking many times

* fix border radius

* fix new eslint rule about css requiring objects and not template literals

* add scrollIntoView for test

* grafana_prometheus_promqail_explanation_feedback - add feedback rudderstack interaction for explanation

* add form link to feedback for query suggestions

* fix bugs

* for prettier

* PromQL Builder Explainer: Added promql documentation and updated prompt (#75593)

* added promql documentation and updated prompt

* refactor prompt generation into isolated function

* updated prompt to answer with a question

* removed commented code

* updated metadata logic

* updated documentation body logic

* Prometheus: PromQAIL UI fixes (#76654)

* align buttons at 16px

* only autoscroll when an interaction has been added or the suggestions have been updated

* add 12px below explain for suggested queries

* add . after suggestion number

* fix linting error

* Prometheus: PromQAIL feedback improvements (#76711)

* align buttons at 16px

* only autoscroll when an interaction has been added or the suggestions have been updated

* add 12px below explain for suggested queries

* add . after suggestion number

* add text indication for explanation feedback

* add form for suggestion feedback, add form for not helpful explanation feedback

* fix linting error

* make radio button feedback required

* required text, padding additions, thank you for your feedback

* PromQL Builder Suggestion: Added type level templates and removed explainer steps for fallback suggestion logic (#75764)

* adding more detailed templates to promql fallback suggest

* remove debug logs

* added missing explain logic

* Fix brendan's type issue

---------

Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>
Co-authored-by: bohandley <brendan.ohandley@gmail.com>

* make yarn.lock equal to current in main

* fix feature toggles

* fix prettier issues

---------

Co-authored-by: Edward Qian <edward.qian@grafana.com>
Co-authored-by: Yasir Ekinci <yas.ekinci@grafana.com>
Co-authored-by: Edward Qian <edward.c.qian@gmail.com>
Co-authored-by: Gerry Boland <gerboland@users.noreply.github.com>
2023-10-19 10:45:32 -05:00
Laura Benz
d16a274e3a
Nav: Design changes in MegaMenu (#76735)
* refactor: move expand button to front

* refactor: add grid + adjust level 2

* refactor: remove grid + fix alignment for all three levels

* refactor: first iteration alignment

* refactor: styling of MegaMenuItemIcon

* refactor: remove styling of div in MegaMenuItemIcon

* refactor: styling object

* refactor: alignment of first level

* refactor: alignment of second level

* refactor: alignment of third level and active state

* feat: add connecting line for level 3

* feat: add comment

* refactor: remove unused code

* refactor: clean up styling

* refactor: clean up styling

* refactor: clean up styling

* some small tweaks

* remove unused props from getStyles

* fix dock button position and text ellipsing

* add padding to container to prevent icon button overlapping on left side

* add active overlay

* adjust font-weight, add padding to RHS

* add border-box for overlay

* adjust menu width to 300, don't use non-integer levels

* use height: 100%

* don't think we need minWidth

* make chevrons right/down

* make url required, cut down css

* move active state to container

* remove unused class

* add padding at top and bottom of menu as well

* adjust chevron size

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-19 17:41:58 +02:00
Ieva
94fec65192
RBAC: introduce a data source admin role (#75915)
* introduce data source admin role and fix frontend check

* introduce fixed roles for data source creator and team reader

* add documentation

* undo an unintended change
2023-10-19 14:36:41 +01:00
Gilles De Mey
390408b1ce
Alerting: Fix incorrect decoding for alert rules with % characters (#76148)
* fixes incorrect decoding for alert rules with % characters

* Patch history package to stop decoding path

* Rename rule id extraction function, update tests

* Fix patch file

* Fix copyFrom parameter encoding

* Fix conflict commit

* Fix test

---------

Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
2023-10-19 11:51:52 +02:00
Matias Chomicki
d4b6fc31ff
Elasticsearch: move adhoc filters code to modifyQuery module and refactor (#76529)
* Elasticsearch: move addhoc filters to modifyQuery and refactor

* Elasticsearch: add support for number-value adhoc filters
2023-10-19 11:16:47 +03:00
Andrew Hackmann
91ad07719f
Azure monitor: Support Logs visualization (#76594)
* logs view

* cant add a library

* gzip doesnt work

* remove link code :(

* clean up

* linter

* linter

* betterer. cant run this locally??

* Remove unneeded conversions

* Return portal link for log queries from backend

* Display portal link

* Update tests

* Lint

* Prettier

* Unused import

* Add Azure Monitor to explore docs

---------

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2023-10-18 18:19:35 +03:00
Ashley Harrison
d632dd672c
Tooltip: Ensure tooltip text is correctly announced by screenreaders (#76683)
* add aria-describedby, tooltip role and unit tests

Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>

* remove `delayShow` so tooltip text is announced correctly

* adjust IconButton, fix unit tests

* undo tooltip aria-label change

* only set aria-describedby if there's no aria-label

---------

Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-10-18 16:05:20 +01:00
Eric Leijonmarck
9ef390a81b
Auth: Update disabledMessage to make better use of info box (#76687)
* refactor: make better use of info box for basic roles

* linting fix
2023-10-18 15:14:07 +01:00
Sonia Aguilar
1de65bb384
Alerting: Add Alerting menu in getPanelMenu (#76618)
* Add Alerting menu in getPanelMenu

* Add translations

* Allow alert tab, heart icon in all panel types, and not show warning in DashobardPicker panels

* Fix tests

* Move alerting submenu under 'More...' item

* Move create alert menu item to More... without submenu

* Update translations

* Revert "Allow alert tab, heart icon in all panel types, and not show warning in DashobardPicker panels"

This reverts commit 225da3f60e.

* Revert allowing alert tab and health icon for all panel types

* use onCreateAlert method name in onClick instead of new function

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* Move getAlertingMenuAvailability method to a /features/alerting folder and rename it to getCreateAlertInMenuAvailability

* Use onCreate direclty instead of a new method

* Make getCreateAlertInMenuAvailability to return a boolean

---------

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-10-18 15:13:38 +03:00
Joey
a851750b1c
Tracing: Update configuration editor links (#76678)
Update doc links
2023-10-18 12:30:38 +01:00
grafana-delivery-bot[bot]
8b16f2aca8
Release: Bump version to 10.3.0-pre (#76742)
"Release: Updated versions in package to 10.3.0-pre"

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2023-10-18 13:04:03 +03:00
grafana-delivery-bot[bot]
a6f111e23b
Release: Bump version to 10.3.0 (#76733)
"Release: Updated versions in package to 10.3.0"

Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2023-10-18 09:23:25 +03:00
O Yves Chan
16d0aff267
Azure Monitor: Fix variable in app insights dependencies dashboard (#76717)
update performance description, fix variable in perf dependency
2023-10-17 19:52:43 +01:00
O Yves Chan
8ac7736c95
Azure Monitor: Add 5 curated dashboards for App insights troubleshooting experience (#75916)
* initial changes

* fix indent

* fix some bugs, and update fit and finish

* remove inputs

* change ms.portal to portal

* add new dashboards, fix some links and queries

* fix more links

* update the default time ranges

* prettier fix dashboards

* update log query variables with search '*'

* default the variable value to All

* missed a few spots to assume that the values of the variable are in an array

* fix queries for min and max duraation as well

* keep variables naming consistent

* fix missing parenthesis in dependencies operation query

* fix some links, change todouble instead of tollong
2023-10-17 19:44:23 +03:00
renovate[bot]
76c288a41e
Update dependency @types/node to v18.18.5 (#76700)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 17:24:57 +01:00
renovate[bot]
0f7233bdf6
Update dependency @testing-library/user-event to v14.5.1 (#76697)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 16:41:30 +01:00
Joey
4c22027ab7
Tracing: Do not try to render trace view in dashboard if data missing (#76630)
* Check for process and span id

* Remove log

* Update tests

* Check for key
2023-10-17 14:27:27 +01:00
Alex Khomenko
a4522812fe
Admin: Use primitive components for table views (#76512)
* Remove HorizontalGroup and VerticalGroup from OrgUserstable

* Refactor OrgUnits

* Refactor UsersTable

* Add TableWrapper

* Use Stack and Flex for TeamList

* Revert pagination changes

* Update betterer

* Remove div wrapper

* Codeformat
2023-10-17 14:06:28 +03:00
Josh Hunt
67e2430197
Dashboard: Fix panels overlapping Save Drawer (#76675)
* Dashboard: Fix panels overlapping

* comments
2023-10-17 10:11:52 +00:00
Laura Benz
a546db4b3a
Nav: Remove and refactor MegaMenu and its sub-components (#76614)
* refactor: remove hasActiveChild

* refactor: remove unused properties from MegeMenuItemText

* refactor: remove MegaMenuItemIcon

* refactor after code review
2023-10-17 10:34:44 +02:00
Joey
8ebbe06377
Tracing: Remove unused code (#76538)
Remove unused code
2023-10-17 09:19:37 +01:00
Alexa V
8dfd918200
Dashboard: Use Interval variable in DashboardScene (#75836)
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-10-16 17:34:09 +02:00
Andres Martinez Gotor
157ea31b03
Build testdata frontend standalone (#75833) 2023-10-16 17:31:43 +02:00
Alexander Zobnin
87d697e4fe
TeamPicker: Add optional initial value support (#76353)
* TeamPicker: Add optional initial value support

* Rename value to teamId
2023-10-16 17:02:12 +02:00
Isabella Siu
2054c53877
CloudWatch Logs: Add pattern command to syntax (#76152) 2023-10-16 10:46:17 -04:00
Alex Khomenko
bc98f3d139
Grafana UI: Add Avatar component (#76429)
* Grafana/UI: Add Avatar component

* Use the new component

* Add docs and story

* Update type check

* Codeformat
2023-10-16 13:59:54 +03:00
Deepayan Mukherjee
c04e96b3ed
Elasticsearch: Remove LegacyForms and gf-form from DataLink (#76397)
* remove LegacyForms and gf-form references from ElasticSearch DataLink page

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>

* fix breaking tests by adding label to inline switch

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>

---------

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>
2023-10-16 13:27:42 +03:00
Laura Benz
5423e75bf3
Nav: Replace cloneDeep() in MegaMenu (#76607)
* refactor: remove deep clone of nav tree

* refactor: fix mutation issue
2023-10-16 12:03:35 +02:00
Joao Silva
260e123b35
Transformations: Remove usage of gf-forms in FilterByValue transformation (#76570) 2023-10-16 10:36:48 +01:00
Shabeeb Khalid
ad15c55803
Loki: Remove legacy form classes from LokiQuerySettings (#76331)
* Remove legacy form from LokiQuerySettings

With this commit, legacy form components are remvoed from loki query
settings page. Form is now using InlineField instead.

* Fix the width of loki predefined ops input

* Fix the width of loki predefined ops input

* Fix type in loki query component input field
2023-10-16 11:05:30 +02:00
Nathan Marrs
0238db42af
DashGPT: Improve save dashboard description generation (#75699)
Co-authored-by: Aaron Sanders <aaron.sanders@grafana.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2023-10-14 03:02:45 +03:00
Leon Sorokin
56c2d8ff40
Snapshots: Fix breakage of some panel types due to missing structureRev (#76586) 2023-10-13 18:56:51 -05:00
Adela Almasan
3ba78c45d1
Canvas: Promote Button to beta (#76582) 2023-10-14 01:59:12 +03:00
Sol
889576ac1d
Transforms: Add 'Format String' Transform (#73624)
* Format String Implementation

* Prettier

* Unify Every/Pascal/Camel cases

* Reformat + add new cases

* Add Trim and Substring to the transform options

* Trim/Substring tests+formatting

* refactor

* docs + feature toggle

* add category

* docs. add svg. change description

* revert weird add from merge

* readd config. change description

* docs change

* Adding experimental shortcode

* Add code formatting

* change shortcode

---------

Co-authored-by: Victor Marin <victor.marin@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-13 21:17:12 +03:00
Tobias Skarhed
335b73d9ae
Chore: remove gf-forms and LegacyForms from Graphite ConfigEditor (#76038)
* Chore: remove gf-forms and LegacyForms from Graphite ConfigEditor

* Use Field instead of InlineField

* Remove unused imports
2023-10-13 19:58:03 +02:00
Daniel Benjamin
7f89251dc9
chore: Remove gh-form and LegacyForms from InfluxFluxConfig (#76495)
* chore: replace SecretFormField with SecretInput

* chore: Remove gh-form and LegacyForms from InfluxFluxConfig
2023-10-13 19:55:37 +02:00
Stefan Mitic
4d8560d9a9
i18n: Markup Explore's Query Inspector for translations (#76157) 2023-10-13 18:36:43 +01:00
Haris Rozajac
4ec54bc2c3
Explore: Content Outline (#74536)
* Add images

* Basic button functionality; TODO placeholders for dispatching contentOutlineToggle and rendering content outline component

* Basic content outline container

* Content outline toggles

* Remove icon files from explore

* Scroll into view v1

* outline that reflect's explore's order of vizs

* Update icon name

* Add scrollId to PanelChrome; scrolling enabled for Table

* Add queries icon

* Improve scroll behavior in split view

* Add wrapper so the sticky navigation doesn't scroll when on the bottom of the window

* Fix the issue with logs gap; center icons

* Memoize register and unregister functions; adjust content height

* Make displayOrderId optional

* Use Node API for finding position of panels in content outline;  add tooltip

* Dock content outline in expanded mode; at tooltip to toggle button

* Handle content outline visibility from Explore and not redux; pass outlineItems as a prop

* Fix ContentOutline test

* Add interaction tracking

* Add padding to fix test

* Replace string literals with objects for styles

* Update event reporting payloads

* Custom content outline button; content outline container improvements

* Add aria-expanded to content outline button in ExploreToolbar

* Fix vertical and horizontal scrolling

* Add aria-controls

* Remove unneccessary css since ExploreToolbar is sticky

* Update feature toggles; Fix typos

* Make content outline button more prominent in split mode; add padding to content outline items;

* Diego's UX updates

* WIP: some scroll fixes

* Fix test and type error

* Add id to ContentOutline to differentiate in split mode

* No default exports

---------

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2023-10-13 10:57:13 -06:00
Kyle Cunningham
5e9dac6695
Transformations: De-emphasize non-applicable transformations (#76373)
* Stub types

* Update applicator

* Type and functionality updates

* Format time applicator

* Group by applicator

* Groupy to matrix applicator

* Use applicability levels

* Add  organize fields applicator

* Add applicator to heatmap

* Add disabled icons

* Update presentation

* Prettier

* Why run prettier once when you can do it twice?

* Update presentation

* Prettier

* Update presentation

* Prefer object syntax

* Betterer and Prettier
2023-10-13 11:21:43 -05:00
Juan Cabanas
cdca1518d2
PublicDashboards: Title logo and footer redesign (#74769)
---------

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2023-10-13 13:18:05 -03:00
Alexander Weaver
0592fe7edb
Alerting: Add support for msteams contact point in external Alertmanagers (#76392)
* Add support for msteams contact point in external AMs

* Update docs
2023-10-13 10:43:42 -05:00
Galen Kistler
f2ad66620f
Loki: Autocomplete returning labels already in use when cursor is before or between other labels (#75925)
* Fix issue getting current labels that would only grab values to the left of the cursor

* Loki: Fix Autocomplete in stream selector overwriting existing label names, or inserting autocomplete result within label value (#76485)

* Better autocomplete functionality in loki, changing the word pattern to include label value separator (=), include valid sting chars (-), and value wrapper ("), adding some more logic in the range calculation to prevent autocomplete results from partially overwriting adjacent label names or portions of the current label value
2023-10-13 10:26:32 -05:00
Torkel Ödegaard
c4b02d7063
BarChart: Improve data links UX in tooltip (#76514) 2023-10-13 17:25:51 +02:00
Ashley Harrison
ed4c9bb487
Navigation: Correctly set active nested plugin pages (#76526)
* correctly set active nested plugin pages

* add recursion depth limit
2023-10-13 16:01:22 +01:00
Juan Cabanas
40b79de0cd
PublicDashboards: Enable feature by default for GA and remove public preview text (#76484)
* public dashboard for GA

* files modified

* public preview removed
2023-10-13 16:32:49 +02:00
Torkel Ödegaard
a42040a59a
DashboardScene: Backward compatability with getDashboardSrv.getCurrent and DashboardModel props and functions (#76371)
* DashboardSrv.getCurrent backward compatibility

* fixes
2023-10-13 16:24:04 +02:00
Torkel Ödegaard
b01cbc7aef
Dashboard: Fixes save drawer always comparing changes against first loaded version (#76506)
* Dashboard: Fixes save changes diff after first save

* Lots of type issues

* better fix

* Update some more places to use new function

* Fix

* Update

* Update

* remove console.log

* Update
2023-10-13 16:23:23 +02:00
Torkel Ödegaard
0d55dad075
DashboardScene: Fixes full page reload of fullscreen view of a repeated panel (#76326)
* Progress on view panel for repeats

* Good enough

* Update
2023-10-13 16:03:38 +02:00
Andre Pereira
69b84fec8f
Tempo: Fix empty values in TraceQL filters (#76544)
Fix empty values in TraceQL filters
2023-10-13 14:19:01 +01:00
Marcus Andersson
d18766e88b
PluginExtensions: Make sure to pass default timeZone in context (#76513)
* Fixed so we will return default timeZone to extensions if empty is provided.

* Update public/app/features/dashboard/utils/getPanelMenu.test.ts

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-10-13 14:43:45 +02:00
Jack Westbrook
d282b7a6f8
Grafana UI: Make it possible to bundle package with plugins (#76191)
* moved themecontext to data

* chore(grafana-ui): re-export ThemeContext from grafana/data for backwards compatibility

* Moved icon bundling to core.

* feat(plugins): share react-inlinesvg with plugins for grafana/ui bundling

* chore(codeowners): add generate-icon-bundle.js to file

* chore(storybook): update path to iconBundle file for theme

* feat(plugins): share i18n dependency via systemjs

* Make sure that icon bundle is initialized for tests.

* Removed comment.

* added tests for icon root.

* Removing the need of having an init variable.

* feat(grafana-ui): add icon svgs to bundle for projects that don't rely on grafana

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-10-13 14:11:41 +02:00
João Calisto
9fc0e1566e
Feature Management: Update admin page UI after a successful update (#76380)
* Feature Management: Update admin page UI after a successful update

* lint

* lint

* refactor
2023-10-13 11:54:34 +01:00
Leon Sorokin
2857870bfb
TimeSeries: Fix showing datalinks when clicking on a point (#76492) 2023-10-13 05:48:29 -05:00
Torkel Ödegaard
de8ab7efe7
DashboardScene: Support for dashboard PanelContext actions via state hook (#76192)
* DashboardScene: Support for dashboard PanelContext actions via state hook

* Update

* Progress

* Update

* Update

* update
2023-10-13 11:42:42 +02:00
Ashley Harrison
b6fb1e52f2
Navigation: Limit SectionNav to rendering items up to 3 levels (#76478)
* only render section nav items up to 3 levels

* extract level depth into constant, apply in DockedMegaMenu as well
2023-10-13 10:38:35 +01:00
George Robinson
09a4fcd0fe
Alerting: Add docs for Repeat interval (#76303) 2023-10-13 10:30:13 +01:00
Domas
239bda207e
SparklineCell: Display absolute value (#76125) 2023-10-13 11:00:42 +03:00
Kyle Cunningham
1a34cf6b0e
Transformations: Add support for setting timezone in Format time and Convert field type transformations (#76316)
* Better TZ support.

* Clean things up

* Update convertFieldType

* Update tooltips

* Remove unecessary code

* Prettier

* Add internal TZs

* Prettier

* Fix tests

* Make sure tests expect time with timezone

* Use true lol

* Centralize logic for options
2023-10-13 09:20:00 +03:00
Adela Almasan
d5945bc26e
Canvas: Button API Editor visual feedback on response (#76499) 2023-10-13 08:11:08 +03:00
Nathan Marrs
18128c2666
chore: geomap cleanup betterer styles object notation edition (#76400) 2023-10-12 18:41:27 -07:00
Yuri Tseretyan
372082d254
Alerting: Export of contact points to HCL (#75849)
* add compat layer to convert from Export model to "new" API models
2023-10-12 22:33:57 +01:00
Alyssa Bull
0a6d78f35e
AzureMonitor: Azure Monitor Cheat sheet (#75931) 2023-10-12 14:42:01 -06:00
ismail simsek
efec1d976a
Chore: Remove redundant code and update types (#76489)
Remove redundant code and update types
2023-10-12 15:04:16 -04:00
Ryan McKinley
2a527aa33b
K8s: Namespace parsing updates (default + stack-id) (#76310)
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2023-10-12 21:34:50 +03:00
ismail simsek
be7fe761a3
Fix Influxdb language order in config page (#76488)
Fix wrong language display
2023-10-12 21:16:31 +03:00
Shabeeb Khalid
2442532f57
chore(76107): Remove legacy form from InfluxConfigEditor (#76382)
Remove legacy form from InfluxConfigEditor

With this commit, legacy form components are remvoed from influxdb
config eidtor page. Form is now using FieldSet instead.
2023-10-12 20:03:21 +02:00
Aldrin
cb1dfbeeb4
Chore: remove legacy components and CSS classes for OpenTsdbDetails Component (#76165)
* chore: remove legacy components and classes

* Update public/app/plugins/datasource/opentsdb/components/OpenTsdbDetails.tsx

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>

* chore: format and add width

* chore: fix formatting

* Update public/app/plugins/datasource/opentsdb/components/OpenTsdbDetails.tsx

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

---------

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2023-10-12 19:36:22 +02:00
Konrad Lalik
42f4244026
Alerting: Add rules export on a folder level (#76016) 2023-10-12 20:17:32 +03:00
Brendan O'Handley
c21e2bee1d
Prometheus: Variable query, allow for label values query type with label, label filters and no metric (#76472)
allow for label values query type with label, label filters and no metric
2023-10-12 20:03:33 +03:00
Brendan O'Handley
67e3e576d0
Prometheus: Fix config bug for sigv4 auth (#76390)
fix config bug for selecting sigv4
2023-10-12 12:46:49 -04:00
Andrej Ocenas
9d8be05cce
Test data source: Add random node radius for nodegraph (#75381) 2023-10-12 18:33:18 +02:00
Yuri Tseretyan
c4ac4eb41b
Alerting: Export of notification policies to HCL (#76411) 2023-10-12 12:10:08 -04:00
Ryan McKinley
29cf60988b
Playlist: Use a different go struct for sql service vs k8s (#76393) 2023-10-12 08:29:06 -07:00
Virginia Cepeda
358b395c2b
Alerting: text updates / replace panel (#76407)
* Change text to remove "week" reference

* Add alertsByState for grafana alertmanager
2023-10-12 13:26:05 +01:00
Eric Leijonmarck
38cdce526a
Auth: Enable None role for 10.2 (#76343)
* remove the feature toggle for noBasicRole

* linting

* remove unused
2023-10-12 13:00:26 +02:00
Domas
87ff5b66ea
TraceView/TracesPanel: Allow providing custom span link creator function (#76332)
allow overriding span link creator for TraceView and TracesPanel
2023-10-12 13:48:22 +03:00
Mattia Buccarella
43928d38af
RBAC: Allow the basic role None as option of the org role selector (#76335) 2023-10-12 12:46:57 +02:00
Krishna Dhakal
334fc6a68a
i18n: Markup Explorer Graph for translation (#76099) 2023-10-12 10:25:48 +01:00
Josh Hunt
46b0066644
Chore: Improve EchoSrv logging (#76385)
* Chore: Allow frontend logging to be logged via localStorage

* improve echo srv logging
2023-10-12 09:00:32 +00:00
Marcus Andersson
f012b75a3a
PluginExtensions: Made it possible to control modal size from extension (#76232)
* Added possibility to change modal size from UI extension.

* added tests for openModal.

* fixed typings.

* added test to verify default modal size.
2023-10-12 10:56:08 +02:00
Gabriel MABILLE
420fb56fda
RBAC: Fix plugins pages access-control (#76321)
* RBAC: Fix plugins pages access-control

* Better comment

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* Add a small comment on connections/datasources routes

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-10-12 10:46:43 +02:00
Dominik Prokop
d00410560a
Custom variable: Initialize options from query if not present in persisted model (#76403)
* Custom variable: Initialize options from query if not oresent in persisted model

* Test update
2023-10-12 01:30:29 -07:00
Fabrizio
9bb3d64b1e
Minor fixes for TraceQL query editor (#76344) 2023-10-12 10:19:01 +02:00
Sonia Aguilar
fbbf9b1a8f
Alerting: Use new endpoints in the Modify Export (#75796)
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2023-10-12 09:04:59 +02:00
Victor Marin
4dfffa3c32
Add context to transformation editor (#76317)
* Add context to editor so field calculation does not return undefined variable and shows on next transform

* fix bug where default alias would get interpolated
2023-10-12 08:43:32 +03:00
Virginia Cepeda
ea50695cfe
Alerting: add help texts to insights (#76366)
* Change texts and add spacing between sections

* Minor text changes

* Display timeseries with 0 values if result is empty
2023-10-11 23:10:23 +01:00
Giordano Ricci
54050be9f6
Explore: Use short units in graphs (#76358) 2023-10-11 19:52:19 +01:00
Drew Slobodnjak
046e9b7672
Canvas: Button API - Block Calls to Grafana (#76309)
* Canvas: Button API - Block Calls to Grafana

* Move origin check inside of api logic

* Change grafana url source from href to origin

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-11 09:21:02 -07:00
Ryan McKinley
6983af3a70
Playlist: Add an api wrapper for playlist requests (#76308) 2023-10-11 19:19:13 +03:00
Torkel Ödegaard
bf7fae4bd3
Tempo: Fix type errors that appeared when removing the "any" type from DataQueryResponseData (#75600)
* Tempo: Improving typing of data types

* last fix

* Fix
2023-10-11 18:04:54 +02:00
Dominik Prokop
46dc898a87
Fix container width not being set after latest scenes update (#76372)
* Fix container width after latest scenes update

* typecheck
2023-10-11 17:56:50 +03:00
Aaron Godin
c2cbb0a924
noBasicRole feature: Change RolePickerInput to not show the "None" role (#76300)
Change RolePickerInput to only show the basic role when it's not the None role (no basic role feature)
2023-10-11 09:42:09 -05:00
Torkel Ödegaard
72a1de855c
Schema: Clean up / correct panel schema (#76346)
* Schema: Clean up / correct panel schema

* fixes
2023-10-11 15:56:42 +02:00
Torkel Ödegaard
bcf850f8bf
DashboardScene: Set maxDataPointsFromWidth to true (#76319)
* DashboardScene: Set maxDataPointsFromWidth to true

* fix
2023-10-11 15:56:10 +02:00
Ashley Harrison
effd2a1189
Navigation: Split admin into subsections behind navAdminSubsections feature toggle (#76280)
* split admin into subsections behind feature toggle

* make authentication a section header

* add translations for subsections

* rename translation keys

* add subtitles
2023-10-11 14:37:36 +01:00
ismail simsek
14d01e2b6e
Prometheus: Remove prometheusResourceBrowserCache feature toggle (#76172)
* Remove prometheusResourceBrowserCache feature toggle

* Remove prometheusResourceBrowserCache feature toggle from prometheus datasource

* Update tests
2023-10-11 15:18:56 +02:00
Piotr Jamróz
ddb9b64128
Explore: Remove redundant TODO (#76262)
Remove redundant todo
2023-10-11 15:18:43 +02:00
ismail simsek
bd23757a42
Chore: Reorder InfluxDB languages in combobox (#76352)
Reorder the languages in combobox
2023-10-11 15:16:21 +02:00
Torkel Ödegaard
e46e66313d
DashboardScene: Support for Angular panels (#76072)
* Could work

* it's working

* remove comment

* Update comment

* Make options work

* Progress

* Update panel class name

* Update public/app/angular/panel/AngularPanelReactWrapper.tsx

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Fixes

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-10-11 14:27:20 +02:00
Dominik Prokop
6968f4d6ff
DashboardScene: Share snapshot (#76132)
* Dashboard snapshot creation logic and tests

* Add variable type to serialized json, add refresh prop to datasource var

* WIP Snapshots tab UI

* Use Grafana snapshot query for a generated snapshot

* Make anno snapshots backwards compatible

* Share snapshot tab UI

* Single panel snapshot

* Remove unused param

* Snap update

* Ts fix

* One more snap fix

* Basic rows support

* Add tests for basic rows

* Bettererupdate
2023-10-11 04:24:18 -07:00
renovate[bot]
0ec15de905
Update dependency @types/node to v18.18.4 (#76336)
* Update dependency @types/node to v18.18.4

* fix types

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-11 11:08:41 +00:00
Joao Silva
5f6fea33f2
Chore: Improve typings in OptionsUI and Explore (#76245) 2023-10-11 11:43:25 +01:00
Ashley Harrison
abd2c9c287
Navigation: Hide docked menu and dock button on mobile (#76334)
* hide docked menu and dock button on mobile

* add logic to handle hamburger menu button on mobile
2023-10-11 11:33:15 +01:00
ismail simsek
9035a498ca
Chore: Export closestIdx function from @grafana/data (#76176)
* export calculateFieldDisplayName function

* export closestIdx function

* Use getFieldDisplayName
2023-10-11 11:44:36 +02:00
Joey
07b08fc09f
Tempo: Disable show matches only button when no matches (#76124)
* Disable show matches only button when there are no matches

* Update tests
2023-10-11 09:51:48 +01:00
Oscar Kilhed
608f066ca5
PanelConfig: Add option to calculate min/max per field instead of using the global min/max in the data frame. (#75952)
* Add option to calculate min max per field

* Fix eslint warnings

* Add back hideFromDefaults that went missing

* whitespace

* Add tests

* Refactor range calculation

* Rename localMinMax -> fieldMinMax

* Remove the lint exceptions

Removing these as to not hide these once we get around to fixing the
underlying typing issue.

* Update docs
2023-10-11 10:50:11 +02:00
Joey
9101eb219c
Tempo: Improve UX of service graph related warnings (#76134)
Improve UX of service graph related warnings
2023-10-11 09:43:05 +01:00
Gábor Farkas
dc8b07d46f
postgres/mysql: improved imports in unit tests (#75980)
* postgres/mysql: improved imports in unit tests

* simpler mock approach
2023-10-11 10:38:38 +02:00
Nathan Marrs
6184bf21e2
Canvas: Add standard text config options to button element (#76160)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-10-11 01:53:56 +03:00
Drew Slobodnjak
5604305271
BarChart: Gradient Mode for Auto Max (#74122)
* BarChart: Gradient Mode for Auto Max

* add gdev panel

* clean

---------

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-10-10 11:14:56 -07:00
Josh Hunt
0d390382d3
I18n: Reset back to default plural seperators (#76284)
* reset to standard plural seperators for crowdin compatibility

* update docs
2023-10-10 19:00:33 +03:00
Kyle Cunningham
a9becedbbb
Transformations: Add Numeric Index in Title (#76265)
Add index to transformation title
2023-10-10 10:31:03 -05:00
Domas
b75b747881
Tempo data source: Fix service map query error when a duration data frame has no data (#76269)
* fix tempo service graph req when data frame is empty

* also report error to Faro
2023-10-10 17:57:05 +03:00
Ivan Ortega Alba
2a2401e673
useOpenAIStream: Improve error handling (#76212)
* Simplify error message

* Add timeout

* Unsubscribe when unmount

---------

Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
2023-10-10 17:23:08 +03:00
Stefan Mitic
9665cecc27
Chore: remove gf-forms and LegacyForms from Ldap Page (#76156)
* Chore: remove LegacyForms from Ldap Page

* remove references to gf-form

* fix form control submit function
2023-10-10 15:56:34 +02:00
Ashley Harrison
930c753340
Navigation: Implement logic for docking nav menu (#76188)
* Create a state for dockedMegaMenu and the function to manage it

* Add the dockedMenu icon and handle the status when clicking it

* Add Megamenu to section nav area when it is docked

* get logic working

* fix mobile

* refactor state + persist in localStorage

* adjust icon and don't use position absolute

* restore old rudderstack tracking

* use Flex instead

* adjust feature toggle to be experimental

* extract out localStorage handling into utils

* don't need separate file

* use store.set/get instead

---------

Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
2023-10-10 14:55:52 +01:00
Andre Pereira
1f9bd7466d
Tempo: Multi-line support for error markers in TraceQL editor (#75904)
* Don't show error when editor is empty

* Added multi-line support for error markers

* Fixed bug where new lines weren't being counted as characters

* Take startLine and endLine into account in column calculations

* Fix
2023-10-10 13:53:43 +01:00
Torkel Ödegaard
42218fbdbb
DashboardScene: Support auto migration for angular panels (#76100)
* DashboardScene: Support auto migration for angular panels

* minor tweak

* Update scenes

* Review fix

* Update
2023-10-10 14:33:58 +02:00
Ieva
5e14d93530
Chore: remove hasAccess and hasAcessInMetadata (#76237)
* remove hasAccess and hasAcessInMetadata in favour of hasPermission and hasPermissionInMetadata

* test fixes

* more test fixes
2023-10-10 12:04:07 +01:00
Torkel Ödegaard
f41565626a
DashboardScene: AdHoc filters (#76115)
* DashboardScene: AdHoc filters

* Update

* minor update

* update
2023-10-10 10:17:21 +02:00
Ivan Ortega Alba
7d0c4c5aa7
Auto-generate: Improve long text generation (#76213)
Breaklines don't render for history text
2023-10-10 09:45:13 +02:00
Jo
28c0fb1cfd
AccessControl: Remove legacy frontend AC checks (#76187)
* remove legacy ac checks

* fix RBAC disabled tests

* add permissions for tests to work

* fix unifiedalertstatesworker test
2023-10-09 18:10:06 +02:00
Ivana Huckova
e587d4e879
Loki: Change run query button text based on number of queries (#76196)
Loki: Change run query button name based on number of queries
2023-10-09 17:14:34 +02:00
Alex Khomenko
22bef78a7b
Teams: Fix RolePicker overflow (#76200) 2023-10-09 17:44:03 +03:00
Torkel Ödegaard
e569ede870
DashboardScene: Fixes issue with height of repeated panels inside row (#76189)
DashboardScene: Fixes issue with height in panel repeat inside row repeat
2023-10-09 16:40:46 +02:00
Andre Pereira
8bf914ac0b
Tempo: Fix service graph menu item links (#75748)
* Only call preventDefault if it exists

* Change "View Traces" link to use traceQLSearch instead of the deprecated nativeSearch

* Thank you again test. Update tests

* Update test

* Update betterer

* Type fix

* Small type change

* Update betterer
2023-10-09 14:22:39 +01:00
Ivana Huckova
4be6a8df78
Loki: Add documentation for app plugin developers and in code docs (#76067)
* Add documentation for app plugin developers and in code docs

* Fix incorrect import

* Rename and move

* Update public/app/plugins/datasource/loki/APP_PLUGIN_DOCUMENTATION.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update public/app/plugins/datasource/loki/APP_PLUGIN_DOCUMENTATION.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update public/app/plugins/datasource/loki/APP_PLUGIN_DOCUMENTATION.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update public/app/plugins/datasource/loki/APP_PLUGIN_DOCUMENTATION.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update public/app/plugins/datasource/loki/APP_PLUGIN_DOCUMENTATION.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update public/app/plugins/datasource/loki/APP_PLUGIN_DOCUMENTATION.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update public/app/plugins/datasource/loki/APP_PLUGIN_DOCUMENTATION.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

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

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Fix spelling

* Replace APIs with methods

* Add note for improved instrumentation

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
2023-10-09 14:24:53 +02:00
Esteban Beltran
7b8945571c
Sandbox: Fix dynamic loaded chunks not processed correcly inside the sandbox (#76047)
* Sandbox: Patch dynamic chunks using CDN method

* Patch plugin apis when dynamically loaded

* use same method to transform all code
2023-10-09 14:23:47 +02:00
Alex Khomenko
57b99728ad
Admin: Add missing wrapper to OrgUsersTable (#76185) 2023-10-09 14:43:47 +03:00
Matias Chomicki
5e37a27d1f
Loki Autocomplete: Add more context to comments about situations and completions (#76144)
* Loki completion: add more context to comments

* Improve grammar of comment

* Completions: expand on parser-offering part

* Update public/app/plugins/datasource/loki/components/monaco-query-field/monaco-completion-provider/completions.ts

* Formatting
2023-10-09 13:15:12 +02:00
NikolayTsvetkov
ce462e8cd7
Elasticsearch: Added support for calendar_interval in ES date histogram queries (#75459)
* Introduce support for calendar intervals in ES date histogram queries

* Add missing undef type check for ES calendar interval query support
2023-10-09 12:37:38 +02:00
Josh Hunt
07266aa983
Rewrite old useStyles2 pattern to use new pattern (#76136)
* Rewrite old useStyles2 pattern to use new pattern

* fix lint from used imports
2023-10-09 10:49:08 +01:00
Ieva
d3f69fd34a
Chore: legacy access control cleanup for frontend team pages (#75005)
* clean up legacy access control code for teams

* remove editorsCanAdmin config from the frontend

* add editorsCanAdmin config option back for the frontend
2023-10-09 10:32:44 +01:00
Esteban Beltran
5549cd7a76
Sandbox: Fix history.replace calls inside the sandbox (#76049)
* Sandbox: Fix `history.replace` calls inside the sandbox

* Improve signature verification and comments

* Add clarifying comment
2023-10-09 10:42:38 +02:00
Torkel Ödegaard
fc0933d5f4
Schema: Clean up dashboard variables schema (#76121)
* Cleanup variable schema model

* minor fix

* remove type ignores that are no longer type errors
2023-10-09 09:10:52 +02:00
Krishna Dhakal
69142bffe9
Test: add empty test case in sheet utils (#76168)
add empty test case in sheet utils
2023-10-09 09:58:40 +03:00
Victor Marin
ef82767dab
Panel monitoring (#75456)
* WIP

* remove bug

* XY Chart logs

* wip

* wip

* wip

* wip

* wip

* Revert experimental logs

* wip dataviz options monitor

* add logging functionality on panel save

* remove unused file

* readd start load time

* remove afterFrame lib. remove assertions where possible

* add tests

* PR modifications

* fix betterer

* rename logEvent to logPanelEvent

* add feature flag

* split monitor into measurement and logging parts

* rename component

* log panel options on error capture also. Log overrides only then

* refactor logs

* log panel option changes only on error in panel edit mode

* refactor function
2023-10-09 08:19:08 +03:00
Virginia Cepeda
095749b131
Alerting: display datasource information under each section (#76070)
* display datasource information under each section

* Minor - change legend to multi in some panels that were missing it

* Don't show ds info to grafana sections

* Remove unused classname

* Remove unused import

* Fix pickers styling by placing it to the right
2023-10-06 14:36:26 -03:00
Matias Chomicki
16d77dda67
Loki Query Autocomplete: better suggestions and insertions for Logfmt (#75561)
* Logfmt autocompletion: better handling of trailing commas

* Situation: refactor getSituation and  getErrorNode

Looking for simplicity, removing redundancy, and looking for a more accurate node resolution

* Autocompletion: refactor logfmt and top level

* Update tests

* Autocompletion: better handling of trailing characters

* Completions: Update data to type changes

* Update log query in test situation

* Format code

* Autocomplete: support offering partial labels

* Completion: expand test cases
2023-10-06 12:23:48 -05:00
Jo
4474f19836
Service Accounts: Enable adding folder, dashboard and data source permissions to service accounts (#76133)
* Add SAs to Datasource permissions

Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>

* add SAs to dashboards/folders managed permissions

* Update public/app/core/components/AccessControl/Permissions.tsx

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* regenerate i18n

* add doc

---------

Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
2023-10-06 17:48:13 +02:00
Victor Marin
8e576911b7
Transformations: Add unary operations to Add field from calculation (#75946)
* Add unary operations to add field from calc transform

* Refactor layout to use new UI components. fix 'as' type assertions

* rename exp

* more docs

* fix docs
2023-10-06 09:44:53 -05:00
Kyle Cunningham
0e0f1183e6
Transformations: Update row title (#75988)
* Update row title in transformations

* Prettier fixes
2023-10-06 09:32:52 -05:00
Fabrizio
b2ba28ab40
Dashboards: Add template variables to selectable options (#75870) 2023-10-06 16:32:30 +02:00
Josh Hunt
c5914d92d4
Dashboards: Fix Dashboards not loading when user doesn't have permission on the parent folder (#76028) 2023-10-06 14:05:56 +00:00
Aditi Patel
a2b71fd149
Markup DataSourcePicker for translations (components used in Explore only) (#75400)
* feat: added markup for data source picker title

* feat: added markup for builtin data source list

* feat: added markup for datasource list

* chore: generated markup files

* feat: added markup for new data source button

* chore: generated markup files

* fix: fixed prefix names

* chore: updated markup files

* fix: removed extra spaces
2023-10-06 15:11:53 +02:00
Haris Rozajac
e773f999ff
Fix the issue with cutoff CustomScrollbar (#75929)
* Remove autoHeightMin

* Fix scroll to the top
2023-10-06 06:49:14 -06:00
Dominik Prokop
2cfbe087fc
DashboardScene serialization: Handle variables and library panels (#76117)
* DashboardScene serialization: Library panels

* DashboardScene serialization: Variables

* TS fix

* Review

* betetrer -u
2023-10-06 05:32:29 -07:00
Ivan Ortega Alba
1a96f3742f
Dashboards: It always detect changes when saving an existing dashboard (#76116)
Deep clone originalDashboard to avoid mutations by object reference
2023-10-06 14:32:04 +02:00
Virginia Cepeda
4d1f8f21bf
Alerting: Add timepicker and autorefresh picker to Insights (#76045)
Add timepicker and autorefresh picker
2023-10-06 09:24:45 -03:00
Nathan Marrs
ede0b0ab03
Auto-generate: Break out reply sanitization into separate util func (#76091) 2023-10-06 14:11:15 +02:00
Ashley Harrison
171e2c1adb
Chore: Improve typings and ignore Graph (#75742)
* fix some types, ignore graph plugin as it'll be gone soon

* update comments

* more more more

* undo renderer change

* use Partial in the editor
2023-10-06 11:48:15 +01:00
Levente Balogh
0081d6baf3
UI Extensions: Allow React.memo() objects as component extensions (#76098)
fix: support the sandbox with component ui extensions
2023-10-06 10:00:09 +02:00
Leon Sorokin
e2dcd5184a
Dashboard: Overflow and z-index adjustments (#75597) 2023-10-05 22:46:15 -05:00
Oscar Kilhed
df9e7671d9
Transformations: Add variable support to join by field (#76056)
Add variable support to join by field
2023-10-06 00:03:50 +02:00
Nathan Marrs
bd5d67ed28
Canvas: Add ability to customize what standard element editors show up for all element types (#75935)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-10-05 12:58:35 -07:00
Todd Treece
664ebf771e
K8s: Playlist frontend reads (#76057) 2023-10-05 15:00:36 -04:00
Juan Cabanas
141485528d
Panel: Remove unnecessary test (#75994) 2023-10-05 14:47:45 -03:00
Nathan Marrs
b94d06bfa7
Bar Gauge: Add field name placement option (#75932)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-10-05 09:31:03 -07:00
Drew Slobodnjak
03baf210b3
Geomap: Add Symbol Alignment Options (#74293)
* Geomap: Add Symbol Anchor Options

* Update displacement for svg case

* For square and x, account for 45 degree offset

* Simplify displacement function

* Remove unused todo

* Update test defaults to include anchor

* Add missing anchor default to tests

* Move displacement function into utils and add test

* Simplify anchor position options UX

* Change verbage to alignment and swap direction

* Include missing alignment rename

* Update tests

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-10-05 09:01:56 -07:00
Ivana Huckova
0ea047cc09
Explore: Update info about query history and deleting (#76034)
* Explore: Update info about query history and deleting

* Fix unescaped '
2023-10-05 17:02:45 +02:00
Krishna Dhakal
76e102d1a3
Explore: A tooltip for reorder icon in query operation (#75978)
* tooltip in draggabledots icon

* making it a IconButton
2023-10-05 16:31:16 +02:00
Adela Almasan
6614eb0a6e
Auto-generate: Be able to improve the result sending feedback (#75204)
* After the first auto-generate, the button changes to improve

* When clicking "improve" a toggletip appears with different ways to interact with the model to refine the result

* Analytics: Add analytics to history

---------

Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2023-10-05 16:25:35 +03:00
Virginia Cepeda
68c25080e6
Alerting: Allow users to give feedback on each insights panel (#75990)
* Add menu to track user feedback on each pane;

* Add RatingModal component

* Open modal with panel header actions

* Fix lint
2023-10-05 09:02:18 -03:00
Gareth Dawson
835d3c5201
SQL: Remove query execution tracking for dashboards (#76017)
dont track dashboard refresh
2023-10-05 11:46:53 +01:00
kay delaney
374e2a68f6
TemplateSrv: Fix ad hoc filters not applying correctly when using datasource variables (#75977) 2023-10-05 10:18:38 +00:00
Josh Hunt
f08ad95c59
BrowseDashboards: Improve screen reader announcements (#75970)
* use aria-labelledby to describe the whole row

* change

* fix typo

* i18n
2023-10-05 09:14:26 +00:00