Ivana Huckova
c0a866d7c7
Logs: For LogLines frames, don't show additional fields in log details ( #78109 )
...
* Logs: Don't use other fields in log details for log details
* Reorder variables
* Update comment
* Update comment
2023-11-15 12:02:32 +01:00
Torkel Ödegaard
f7e5689305
Variables: Add support for aliasIDs to datasource variables (Fixes issue with Postgres datasource variables) ( #78170 )
...
* Variables: Add support for aliasIDs to datasource variables
* remove file
2023-11-15 11:18:21 +01:00
Óscar Erades
20f541d7e7
Transformations: Fix Timeseries to table transformation trend reduction when result is 0 ( #78026 )
...
* Transformations: Fix Timeseries to table transformation trend reduction when result is 0
When reduceField function returns 0, the reduced value is set to null. I
think we can remove this "|| null" statement, as:
- There is a check a few lines above to make sure the field type is a number. This might be a reasonable guarantee that the calculation we are doing will make sense and there will be no need to set to null.
- Sparkline cell type already has an option to hide value if we believe the calculation
does not make sense.
Fixes #78025
* make sure we check for undefined
---------
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2023-11-15 10:12:04 +01:00
Lucy Chen
384e024955
Task: Add tracking dashboard toolbar options ( #77524 )
...
* add tracking for toolbar
* Add favorite
* add timepicker
* add reusable analytics file
* change the refresh and zoom click prop function
* add interaction for timepicker
* decouple tracking code
* update naming of function
* Update packages/grafana-ui/src/components/DateTimePickers/TimeRangePicker.tsx
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
* use useEffect
* remove prop from useEffect
* destructure prop
* add dependency on useEffect
---------
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com>
2023-11-14 13:37:43 -05:00
kay delaney
d0180957d1
Scenes/ShareModal: Implement public dashboard tab ( #76837 )
...
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-11-14 17:05:24 +00:00
linoman
408dab8c57
IAM: Protect managed service account frontend details page ( #77839 )
...
* Add `isManaged` property to frontend model
* Remove enabled and token buttons for managed SA
* Replace trash icon for lock icon for managed SA
* Block the role picker for managed SA
* Filter SA list usiong the managed filter
* Rename external for managed
* Add only managed filter
* Toggle the enable buttons for managed sa
* Disable add token and delete token buttons
* Remove the edit name button
* Disable the Role picker for managed sa
* Hide the permissions section
* Add managed by row
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-11-14 17:52:48 +01:00
Zodan Jodan
3b9886830e
Loki: fix missing entries when there arent any derived fields ( #78123 )
...
pushing nulls for log entries that does not have a derived field to preserve the order of log data derived fields
2023-11-14 17:10:28 +01:00
ismail simsek
656808a41b
InfluxDB: Fix multi variable interpolation ( #78068 )
...
fix special variable escape
2023-11-14 16:59:34 +02:00
Zodan Jodan
53758ad764
Loki: Option to add derived fields based on labels ( #76162 )
...
* Plugin: Deriving fields by name from parsed logs
Loki only derives fields by a regex matcher, this limits its usage when functions such as `line_formatter` is used on
top of the logs.
Some users already have logs parsed in json or logfmt structure which are detected as fields in loki.
This pull request allows the mapping between detected fields values and derived values by matching the fields' names.
Currently the feature is behind `lokiEnableNameMatcherOption` feature toggle.
* improve settings page to have a `fieldType`
* improve derived fields getter to use `matcherRegex`
* fix failing test
* rename feature toggle to `lokiDerivedFieldsFromLabels`
* added suggestions from review
* add empty config object
* remove feature flag
* fix width of select
* default to `regex` derived field
* fix failing test
---------
Co-authored-by: Sven Grossmann <svennergr@gmail.com>
2023-11-14 15:06:02 +01:00
Khushi Jain
f41f939c1c
i18n: Markup up correlations forms for translations ( #75264 )
...
* correlations/forms
* Update public/app/features/correlations/Forms/ConfigureCorrelationBasicInfoForm.tsx
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
* Update public/app/features/correlations/Forms/ConfigureCorrelationBasicInfoForm.tsx
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
* Update public/app/features/correlations/Forms/ConfigureCorrelationBasicInfoForm.tsx
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
* Update public/app/features/correlations/Forms/ConfigureCorrelationBasicInfoForm.tsx
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
* Added rest of filed
* minor-changes
* map function
* retriggered
* Update public/app/features/correlations/Forms/TransformationsEditor.tsx
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* removed whitespace
* removed whitespace
* more changes
---------
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2023-11-14 14:52:42 +01:00
Juan Cabanas
cf89307428
Dashboards: Update link to documentation in repeated row warning ( #77964 )
2023-11-14 10:36:39 -03:00
Galen Kistler
a18eee4093
Logs Panel: Table UI - Refactor to use includeByName transformation ( #78070 )
...
* remove excludeByName logic from LogsTable.tsx, migrate to includeByName. Update tests
2023-11-14 15:18:47 +02:00
Esteban Beltran
b6d6375e2b
Sandbox: Add setImmediate polyfill ( #78093 )
2023-11-14 10:40:58 +01:00
Josh Hunt
2f2be24e01
Chore: Remove unnecessary type assertions ( #78009 )
...
* Chore: Remove unnecessary type assertions
* betterer
2023-11-14 09:17:29 +00:00
Dominik Prokop
a3ae9d418d
DashboardScene: Alert states data layer ( #77945 )
...
* Add AlertStates data topic
* DashboardScene: Alert states data layer
* TMP package json
* Remove duplicated function
* Use latest scenes canry
* Use latest scenes and add transformation test
2023-11-14 00:08:06 -08:00
Levente Balogh
ea12eecac5
Plugins: Keep working when there is no internet access ( #77978 )
...
* fix: make connections and plugins-catalog work when GCOM is not available
* fix: remove unused import
2023-11-14 09:49:14 +02:00
Levente Balogh
ea2b493937
Plugins: Share the plugin context with apps and ui-extensions ( #77933 )
...
* feat: share the plugin context with app plugins
* feat: share the plugin context ui-extension modals
* feat: pre-fetch the app plugin settings
* feat: expose more utility hooks for plugins
* fix: use `location.pathname` directly
Previously it was referenced by `pluginRoot.props.path`, which stops
working in case the `pluginRoot` element is wrapped with anything.
2023-11-14 08:35:40 +01:00
Ryan McKinley
ea37a116f7
K8s: expose namespace in frontend_settings ( #78090 )
...
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2023-11-14 06:34:09 +02:00
Ryan McKinley
1be1432926
K8s: Add subresource to the example apiserver ( #78030 )
2023-11-14 05:51:58 +02:00
Josh Hunt
4a3c148298
Chore: Stricter typing in type guards ( #77809 )
...
* Stricter typing in type guards
* create utility isObject fn
* better isAlertStateWithReason
* better name
* restore "data !== undefined"
2023-11-13 16:11:54 +00:00
Galen Kistler
7617a7a3fc
Transformations: Add includeByName to organize fields transformation ( #77797 )
...
* add includeByName inclusion list to transform, update ui to work with either filtering method
2023-11-13 08:59:37 -06:00
Ivana Huckova
c91fc18d31
Loki: Fix escaping in cheatsheet ( #78046 )
2023-11-13 15:13:40 +01:00
ismail simsek
deea9a7243
Prometheus: Fix updating timeRange on builder mode when range is changed ( #78007 )
...
Update languageProvider timeRange when range is changed on builder mode
2023-11-13 14:23:40 +01:00
Torkel Ödegaard
7169bfdb30
DashboardScene: Support templateSrv.getVariables usage ( #77910 )
...
Update
2023-11-13 13:13:27 +01:00
Joey
c9faaf7600
Tempo: Fix missing deep span link ( #77936 )
...
* Fix span deep link not showing
* Update test
2023-11-13 11:10:19 +00:00
Ashley Harrison
bd85d3e25e
PlaylistPage: Skeleton loading state 💀 ( #77992 )
...
* playlist skeleton poc
* refactor into PlaylistCard
* make card actions more responsive, update skeleton color to work on secondary background
* don't loop over array
* fix unit tests
2023-11-13 10:32:42 +00:00
Ieva
eca45f6492
Chore: remove gcomOnlyExternalOrgRoleSync
feature toggle ( #78001 )
...
remove gcomOnlyExternalOrgRoleSync feature toggle
2023-11-13 09:56:02 +00:00
Torkel Ödegaard
4bc322ca1d
DashboardScene: Pass panel id to PanelProps.id ( #77927 )
...
* Panel props id
* Removing panel works
* Update
2023-11-13 09:51:21 +01:00
Gábor Farkas
2d391c1bf5
postgresql: change plugin id ( #77444 )
...
* postgres: change plugin id
* fixed cue file
* codeowners update
* fixed backend test
2023-11-13 08:49:26 +01:00
Nathan Marrs
e9e7e0b628
Stat: Add panel option to control wide layout ( #77018 )
...
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: drew08t <drew08@gmail.com>
2023-11-10 19:42:24 +02:00
siddhikhapare
80b9af3c33
InfluxDB: Remove context menu "remove" option from query builder ( #77102 )
...
* remove menu item from query builder
* files changed
* file fixed
* error fixed
* unit test fixed
2023-11-10 16:45:13 +01:00
Oscar Kilhed
721988e931
Transformations: break add field from calculation transformation UI into sub components ( #77874 )
...
* break out subcomponents
* prettify
* break out editors into separate files
* update betterer since this is only moving around lint issues
* Fix import
2023-11-10 17:12:34 +02:00
Ezequiel Victorero
225614a513
Snapshots: Remove scenes button from snapshot view ( #77997 )
2023-11-10 11:44:04 -03:00
Ivana Huckova
cb711660f1
Logs: Use "labels" data frame field if type "other" in log details ( #77806 )
...
* Logs: Use labels field if time other
* Keep loki test
2023-11-10 12:54:59 +01:00
Hugo Kiyodi Oshiro
e754c5a6c6
Plugins: Change managed plugins installation call ( #77120 )
2023-11-10 12:28:36 +01:00
Ieva
6097ff255c
Dashboards: Fix dashboard listing when user can't list any folders ( #77983 )
...
* return empty list of folder if the user doesn't have the permissions to view folders
* fix the empty folder list initialisation
2023-11-10 11:27:53 +00:00
Giuseppe Guerra
da117aea1c
Plugins: Allow disabling angular deprecation UI for specific plugins ( #77026 )
...
* Plugins:Allow disabling angular deprecation UI for specific plugins
* add backend test
* changed test names
* lint
* Removed angular properties from DataSourceDTO
* Update tests
* Move angularDetected and hideAngularDeprecation in angularMeta property
* Fix angular property name in AppPluginConfig
* Fix reference to angularMeta.detected
* Fix hide_angular_deprecation not working for core plugins
* lint
2023-11-10 11:44:54 +01:00
Aditi Patel
95f5bab39b
i18n: Markup QueryEditorRow Component for translations ( #76312 )
...
* feat: added markup for query operation header
* chore: generated markup files
* feat: markup PostpreSql cheat sheet
* chore: generated markup files
* chore: removed markup from cheatsheet file
* chore: generated markup files
* chore: added i18n for Data source plugin does not export any Query Editor component
* chore: updated i18n markup files.
* fix: added prefix for for drag and drop label
2023-11-10 09:46:32 +01:00
Alexa V
10269cb7f5
Grafana UI: Add description to Menu component ( #77808 )
...
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-11-10 09:32:05 +01:00
Leon Sorokin
ced9fcb94e
StatusHistory/StateTimeline: Re-config plot for tooltip mode in panel edit ( #77954 )
2023-11-09 11:48:39 -06:00
Ashley Harrison
40fd80c46f
Chore: Various type improvements ( #77877 )
...
* more datasource type fixes
* more type updates
2023-11-09 17:39:02 +00:00
Gilles De Mey
323ee7c38c
Alerting: Remove react-enable ( #77955 )
2023-11-09 18:35:03 +01:00
linoman
5bc4f56c79
IAM: Protect external service accounts frontend list page ( #77834 )
...
* Add `isExternal` property to frontend model
* Remove enabled and token buttons for external SA
* Replace trash icon for lock icon for external SA
* Block the role picker for external SA
* Filter SA list using the external filter
* Add only external filter at backend
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-11-09 17:45:46 +01:00
Adela Almasan
fcbc3fb879
Dashboard: Add ability to stop title/description generation ( #77896 )
2023-11-09 09:06:14 -06:00
Julien Duchesne
1ef3ba965c
Regenerate swagger spec following licensing API change ( #77934 )
...
https://github.com/grafana/grafana-enterprise/pull/6015
2023-11-09 09:48:34 -05:00
kay delaney
5f78542366
Dashboards: Prevent shared queries from being unnecessarily re-run ( #77490 )
...
* Dashboards: Prevent shared queries from being unnecessarily re-run
* Minor change
* Set solo panel as being viewed
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-11-09 06:41:47 -08:00
Esteban Beltran
3a4f73338c
Plugins: Show a not found error page when accessing an app for a not-found plugin ( #77922 )
...
* Plugins: Shows a not found error page when accesing an app for a non-found plugin
* Use loadingError in state to verify is a loading error
2023-11-09 15:33:25 +01:00
Andrej Ocenas
494a07b522
Flamegraph: Add collapsing for similar items in the stack ( #77461 )
2023-11-09 15:31:07 +01:00
Agnès Toulet
bb12fe7d82
UsageInsights: Disable frontend features when backend is disabled ( #77772 )
...
* UsageInsights: Disable frontend features when backend is disabled
* Disable DS insights
* Update doc
* fix linter issue
* 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-11-09 11:53:20 +01:00
Andres Martinez Gotor
f7361a2755
Chore: Update TestData README ( #77607 )
...
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
2023-11-09 10:03:00 +01:00
Zoltán Bedi
22035565d2
SQL: Add timeFilter macro to query builder ( #74575 )
...
* Add timeFilter macro to query builder
* Only render SQLWhereRow when fields are there
* Change the default query to timeseries and remove 50 limit
* Add timeFilter macro for the first time when timeSeries
* Add test for timeFilter macro
* Lint fix
* Annotation query format should be table
* Set order by as default
* Revert changes that made time series default
* Fix e2e test
* Fix e2e test
* Make sure to reset the date value when operator is changed
* Add docs
2023-11-09 09:23:26 +01:00
kay delaney
375dcc3813
Chore: Change VariableModel to TypedVariableModel in most places ( #76690 )
2023-11-08 22:15:29 +00:00
Nathan Marrs
d4a0a2ab88
Auto-generate: Update history link to send user to Grafana LLM plugin page ( #77880 )
2023-11-08 13:55:03 -07:00
Galen Kistler
13484928a1
Logs Panel: Table UI - Label names that are too long push out usage percentage in table column multi-select ( #77824 )
...
make checkbox sticky and scroll within label
2023-11-08 13:44:28 -06:00
Ryan McKinley
dc4aa3e0f6
Snapshots: Hide the share button ( #77763 )
2023-11-08 11:23:50 -08:00
Daniel Benjamin
4159f47df0
chore: Remove gh-form and LegacyForms from InfluxInfluxQLConfig ( #76497 )
...
* chore: Remove gh-form and LegacyForms from InfluxInfluxQLConfig
* chore: Refactor InfluxInfluxQLConfig component UI to use Field
2023-11-08 17:45:03 +01:00
Juan Cabanas
fa468fb17c
TimePicker: Close overlay content when toolbar button is clicked for the second time ( #77796 )
...
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-11-08 11:39:37 -03:00
Ezequiel Victorero
5fc3ab801b
PublicDashboards: Add last seen to email sharing users list ( #77660 )
2023-11-08 11:11:02 -03:00
ismail simsek
3cb92e3460
InfluxDB: Template variable support for SQL language ( #77799 )
...
* Only run through with classicQuery if the language is influxql and backend migration is disabled
* Add variable editor
* Simple template variable support
* Show template variables in the drowdowns
* better imports
* unit tests
* it is now 11 just because we add rawSql interpolation in datasource.ts applyVariables method
* fix
2023-11-08 15:00:13 +01:00
Daniel Benjamin
714dd0ec47
Tempo: remove gf-form from TagMappingInput in trace to logs config section ( #77835 )
...
ref: remove gf-form from TagMappingInput
2023-11-08 14:31:01 +01:00
Torkel Ödegaard
848efba0de
DashList: Update links with time range and variables change ( #77850 )
...
* user essentials mob! 🔱
lastFile:public/app/plugins/panel/dashlist/DashList.tsx
* DashList: Update variables in URL when they change
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
* add e2e test to check dashlist variables are always correctly passed
* add comment with link to issue
* Alternative solution
* Minor tweaks
* revert accidental change
* fix
* New solution
* Fix test
* refinement
* Added unit test
* Update devenv/dev-dashboards/panel-dashlist/dashlist.json
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
---------
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-11-08 14:08:59 +01:00
Torkel Ödegaard
88f35fc85f
Revert "DashList: Update variables in links when they change" ( #77868 )
...
Revert "DashList: Update variables in links when they change (#77787 )"
This reverts commit 3e57eacc15
.
2023-11-08 14:05:59 +01:00
Josh Hunt
3e57eacc15
DashList: Update variables in links when they change ( #77787 )
...
* user essentials mob! 🔱
lastFile:public/app/plugins/panel/dashlist/DashList.tsx
* DashList: Update variables in URL when they change
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
* add e2e test to check dashlist variables are always correctly passed
* add comment with link to issue
---------
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-11-08 14:04:30 +01:00
Edward Qian
9e346616d0
Set temperature to 0 for promql builder llm features ( #77520 )
...
set temperature for openai calls
2023-11-07 22:27:05 -05:00
Gerry Boland
08f6abe4ac
PromQail: use metric type when available else use fallback heuristic ( #77702 )
...
* PromQail: query suggester uses metric type if available
* If metadata missing, use heuristic to guess metric type
* Fix linter, fix histogram,summary case
* Fix bug confusing metric with metric family name
* Better method to fetch just metadata from datasource provider
2023-11-07 22:26:39 -05:00
Aaron Sanders
963251b520
Auto-generate: Optimize panel title / description generation ( #77661 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-11-08 01:18:07 +02:00
Brendan O'Handley
1d38edc483
Prometheus: AI assistant add rudderstack events ( #77837 )
...
add rudderstack events
2023-11-07 17:39:00 -05:00
Jev Forsberg
a99485ba33
Transformations: Build help content for all standard transformers ( #74052 )
...
* baldm0mma/transformation_info_modal
* baldm0mma/transformation_info_modal/ add getDisplayContent
* baldm0mma/transformation_info_modal/ reamove OperationRowHelp
* baldm0mma/transformation_info_modal/ update prepMarkdown
* baldm0mma/transformation_help_modal/ add example mkdwn
* baldm0mma/transformation_help_modal/ add examples anno
* baldm0mma/transformation_info_modal/ add calFieldHelper
* baldm0mma/transformation_info_modal/ remove file
* baldm0mma/transformation_info_modal/ add CalculateFieldHelper
* baldm0mma/transformation_info_modal/ add TransformationEditorHelperModal
* baldm0mma/transformation_info_modal/ add getHelperContent
* baldm0mma/transformation_info_modal/ move TransformationEditorHelperModal
* baldm0mma/transformation_info_modal/ add ReactElement
* baldm0mma/transformations_info_modal
* baldm0mma/transformation_info_modal/ update props for TransformationEditorHelperModal
* baldm0mma/transformation_info_modal/ test
* test
* baldm0mma/transformation_info_modal/ reset vscode auth
* baldm0mma/transformation_info_modal/ update getHelperContent
* baldm0mma/transformations_info_modal/ add items for rebuilding markdown to react component
* test
* test
* baldm0mma/transformations_info_modal/ remove comment in TransformationOperationRow
* test
* baldm0mma/transformation_info_modal/ add element to typing
* baldm0mma/transformation_info_modal/ update getHelperContent with help component
* baldm0mma/transformation_info_modal/ update modal title
* baldm0mma/transformation_info_modal/ move logic to tranforms
* baldm0mma/transformation_info_modal/ remove unused comments
* baldm0mma/transformation_info_modal/ update standard reg
* baldm0mma/trfansformation_info_modal/ remove context styling
* baldm0mma/transformation_info_modal/ add content for CalculateFieldHelper
* baldm0mma/transformation_info_modal/ add ConcatenateHelper
* baldm0mma/transformations_info_modal/ add ConcatenateHelper
* baldm0mma/transformation_info_modal/ add ConfigFromQueryHelper
* baldm0mma/transformations/info_modal/ add ConvertFieldTypeHelper
* baldm0mma/transformation_info_modal/ add CreateHeatmapHelp
* baldm0mma/transformation_info_modal/ add ExtractFieldsHelper
* baldm0mma/transformation_info_modal/ add FilterFieldsByNameHelper
* baldm0mma/transformation_info_modal/ add FilterFieldsByNameHelper
* baldm0mma/transformation_info_modal/ add OperationRowHelp to parse markdown
* baldm0mma/transformation_info_modal/ remove commented out markdown
* baldm0mma/transformations_info_modal/ remove comment
* baldm0mma/transformation_info_modal/ update configFromQueryTransformRegistryItem
* baldm0mma/transformation_info_modal/ update ConcatenateHelper
* baldm0mma/transformation_info_modal/ update ConvertFieldTypeHelper
* baldm0mma/transformation_info_modal/ update ExtractFieldsHelper
* baldm0mma/transformation_info_modal/ update FieldLookupHelper
* baldm0mma/transformation_info_modal/ update TransformationEditorHelperModal with determineContentDisplay()
* baldm0mma/transformation_info_modal/ add FilterByRefIdHelper
* baldm0mma/transformation_info_modal/ add FilterByValueHelper
* baldm0mma/transformation_info_modal/ update file ext
* baldm0mma/transformation_info_modal/ add GroupByHelper
* baldm0mma/transformation_info_modal/ add HistogramHelper
* baldm0mma/transformation_info_modal/ add JoinByFieldHelper
* baldm0mma/transformation_info_modal/ add JoinByLabelsHelper
* baldm0mma/transformations_info_modal/ add LabelsToFieldsHelper
* baldm0mma/transformation_info_modal/ add LimitHelper
* baldm0mma/transformation_info_modal/ add MergeHelper
* baldm0mma/transformation_info_modal/ add PartitionByValuesHelper
* baldm0mma/transformation_info_modal/ add ReduceHelper
* baldm0mma/transformation_info_modal/ add RenameByRegexHelper
* baldm0mma/transformation_info_modal/ add SeriesToRowsHelper
* baldm0mma/transformation_info_modal/ add SortByHelper
* baldm0mma/transformations_info_modal/ add spatial
* baldm0mma/transformation_info_modal/ update to markdown
* baldm0mma/transformation_info_modal/ remove comments
* baldm0mma/transformation_info_modal/ update boarder with theme
* baldm0mma/transformation_info_modal/ add test suite
* baldm0mma/transformation_info_modal/ update tests
* baldm0mma/transformation_info_modal/ update test to run on all transformations
* baldm0mma/transformation_info_modaol/ add TimeSeriesTableHelper
* baldm0mma/transformation_info_modal/ update concatenateHelper
* baldm0mma/transformation_info_modal/ update calculateFieldHelper
* baldmomma/transformation_info_modal/ update naming
* baldm0mma/transformation_info_modal/ update getLinkToDocs location
* baldm0mma/transformation_info_modal/ update docs
* baldm0mma/transformation_info_modal/ update language
* baldm0mma/transformation_info_modal/ rename test
* baldm0mma/transformation_info_modal/ update naming 2
* baldm0mma/transformation_info_modal/ update to helper
* baldm0mma/transformation_info_modal/ update docs
* Apply suggestions from @imatwawana
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/transformation_info_modal/ update convertFieldTypeHelper capitalization
* Hack around with generating Markdown from transformations helpers (#75677 )
```console
$ cd docs
$ make sources/panels-visualizations/query-transform-data/transform-data/index.md
$ make docs
```
Browse to http://localhost:3003/docs/grafana/latest/panels-visualizations/query-transform-data/transform-data/
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* baldm0mma/transformation_info_modal/ add calculateFieldHelper
* baldm0mma/transformation_info_modal/ update concatenate
* baldm0mma/transformation_info_modal/ add fieldLookup
* baldm0mma/transformation_info_modal/ add filterFieldsByName
* baldm0mma/transformation_info_modal/ add joinByField
* baldm0mma/transformation_info_modal/ update renameByRegex
* baldm0mma/transformation_info_modal/ update getHelperContent
* baldm0mma/transformation_info_modal/ update calculateFieldTransformRegistryItem
* baldm0mma/transformation_info_modal/ update concatenateTransformRegistryItem
* baldm0mma/transformation_info_modal/ update configFromDataTransformer
* baldm0mma/transformation_info_modal/ update extractFieldsTransformRegistryItem
* baldm0mma/transformation_info_modal/ update formatTimeTransformerRegistryItem
* baldm0mma/transformation_info_modal/ update heatmapTransformRegistryItem
* baldm0mma/transformation_info_modal/ update mergeTransformerRegistryItem
* baldm0mma/transformation_info_modal/ update timeSeriesTableTransformRegistryItem
* baldm0mma/transformation_info_modal/ update doc builder
* baldm0mma/transformation_info_modal/ update docs
* baldm0mma/transformation_info_modal/ remove console log
* baldm0mma/transformation_info_modal/ update console log
* baldm0mma/transformation_info_modal/ update gitignore
* baldm0mma/transformation_info_modal/ update calculateField
* baldm0mma/transformation_info_modal/ add links
* baldm0mma/transformation_info_modal/ update template
* baldm0mma/transformation_info_modal/ update template with images
* baldm0mma/transformation_info_modal/ build markdown
* baldm0mma/transformations_info_modal/update with links
* baldm0mma/transformation_info_modal/ update links
* baldm0mma/transformation_info_modal/ apdate FormatTimeTransfomerEditor
* baldm0mma/transformation_indo_modal/ update HeatmapTransformerEditor
* baldm0mma/transformation_indo_modal/ update ConfigFromQueryTransformerEditor
* baldm0mma/transformation_indo_modal/ update CalculateFieldTransformerEditor
* baldm0mma/transformation_indo_modal/ update ConcatenateTransformerEditor
* baldm0mma/transformation_indo_modal/ update FilterByNameTransformerEditor
* baldm0mma/transformation_indo_modal/ update FilterByRefIdTransformerEditor
* baldm0mma/transformation_indo_modal/ update GroupByTransformerEditor
* baldm0mma/transformation_indo_modal/ update GroupingToMatrixTransformerEditor get helper
* baldm0mma/transformation_indo_modal/ update SeriesToFieldsTransformerEditor get helper
* baldm0mma/transformation_indo_modal/ update LabelsAsFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update MergeTransformerEditor
* baldm0mma/transformation_info_modal/ update OrganizeFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update ReduceTransformerEditor
* baldm0mma/transformation_info_modal/ update RenameByRegexTransformerEditor
* baldm0mma/transformation_info_modal/ update SeriesToRowsTransformerEditor
* baldm0mma/transformation_info_modal/ update SortByTransformerEditor
* baldm0mma/transformation_info_modal/ update extractFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update FilterByValueTransformerEditor
* baldm0mma/transformation_info_modal/ update JoinByLabelsTransformerEditor
* baldm0mma/transformation_info_modal/ update FieldLookupTransformerEditor
* baldm0mma/transformation_info_modal/ update PartitionByValuesEditor
* baldm0mma/transformation_info_modal/ update PrepareTimeSeriesEditor
* baldm0mma/transformation_info_modal/ update RowsToFieldsTransformerEditor
* baldm0mma/transformation_info_modal/ update spatialTransformRegistryItem
* baldm0mma/transformation_info_modal/ update timeSeriesTableTransformRegistryItem
* baldm0mma/transformation_info_modal/ update to helperDocs
* baldm0mma/transformation_info_modal/ update built markdown
* baldm0mma/transformation_info_modal/ run prettier
* baldm0mma/transformation_info_modal/ update comments in getTransformationContent
* baldm0mma/transformation_info_modal/ add removeMarkdownAnchorLinks
* baldm0mma/transformation_info_modal/ update annos in getTransformationContent
* baldm0mma/transformation_info_modal/ add requisite url prefix to markdown images
* baldm0mma/transformation_info_modal/ add cleanMarkdownOfUnwantedSyntax
* baldm0mma/transformation_info_modal/ update annos in content.ts
* baldm0mma/transformation_info_modal/ update e2e tests with always-visiable trabnsformation
* baldm0mma/transformation_info_modal/ remove note
* baldm0mma/transformation_info_modal/ add annotation in getTransformationContent
* baldm0mma/transformation_info_modal/ update e2e test naming
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-11-07 09:29:45 -07:00
Gilles De Mey
30f2ab07f5
Alerting: Attempt to fix flakey selector ( #77780 )
2023-11-07 17:02:32 +01:00
Alex Khomenko
e286a3a652
Grafana/ui: Unify flex shorthand props ( #77768 )
...
* Update flex props
* Make the story external
* Add ResponsiveProp
2023-11-07 17:45:57 +02:00
Galen Kistler
0ae3cd6fa5
Logs Panel: Table UI - Query with few rows renders short table ( #77653 )
...
* remove height calculation based on row count
2023-11-07 17:22:11 +02:00
Laura Fernández
8f49ec91df
BrowseDashboards: Add RadioButtonGroup
to be able to chose between 'Browse' or 'List' view ( #77561 )
2023-11-07 16:16:43 +01:00
Kat Yang
71dd335bf8
Chore: Deprecate FolderID in Hit ( #77623 )
...
* Chore: Deprecate FolderID in Hit
* chore: regen specs
* chore: remove accidental deprecation comment
2023-11-07 09:51:54 -05:00
Oscar Kilhed
59df27cd27
Transformations: Convert calculate field transformer editor to functional component ( #77777 )
...
convert class based transformer editor to functional component
2023-11-07 15:05:05 +01:00
Galen Kistler
9e54012407
Logs Panel: Table UI - Add time and body fields to column selection in logs table visualization ( #77468 )
...
* add the ability to set visibility of time and body fields, set default of time and body fields when no other fields are selected
2023-11-07 16:00:06 +02:00
Esteban Beltran
0b03344baa
Chore: Update to typescript 5 ( #76511 )
...
* Update dependency typescript to v5
* Update yarn.lock
* Fix typescript errors
* Update typescript version sdk
* Revert useDescription.ts
* Fix ts errors
* Fix Typescript errors after Symbol.unscopables type change
* Fix colormanipulator errors
* Update packages/grafana-data/src/vector/FunctionalVector.ts
* Fix ts errors in dashboardmigrator
* Fix sandbox component typescript error
* Update yarn
* Update to typescript 5.2
* Fix typescript error
* update typescript/vscode patch/sdk/whatever
* fix ts errors in elasticsearch
* Fix two errors in alerting
* Fix error in dashboard-scene
* Fix errors in dashboard tests
* Fix errors in explore tests
* Fix error in plugins sandbox
* fix error in DashboardQueryRunner
* fix errors in grafana-data
* fix errors in PanelChrome story
* update betterer
* better fix for cloud monitoring
* fix error in reducer tester
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-11-07 13:20:20 +00:00
Esteban Beltran
9585e2b19c
Plugins: Only track metrics for grafana packages and core packages ( #77785 )
...
* Plugins: Only track metrics for grafana packages and core packages
* Move bind after cache check
* Update tests for metrics tracking
2023-11-07 13:56:26 +01:00
Piotr Jamróz
b7f854a06c
Correlations: Fix incorrect state transitions in transformations editor ( #77434 )
...
* Extract transformations editor row to a seprate component
* Use css object instead of string literals
* Update .betterer.results
* Post merge fixes
* Bring back validation rules
* Switch to css/object
* Post-merge fixes
Ensuring Stack from grafana-ui is used after conflicts with 25779bb6e5
2023-11-07 12:17:02 +01:00
Fabrizio
f19830b543
Tempo: Support comments in TraceQL ( #77646 )
2023-11-07 11:27:03 +01:00
Fabrizio
39014e73f7
Tempo: Fix TraceQL autocompletion with missing }
( #77365 )
2023-11-07 11:10:57 +01:00
Gilles De Mey
be436ec6f6
Alerting: Adds contact point sorting and searching ( #77390 )
2023-11-07 11:05:12 +01:00
Ivana Huckova
d4a257bc8e
Logs: Update logic to process logs dataPlane frame with labels field ( #77708 )
...
* Logs: Update dataplane logic to use labels instead of attributes
* Update Loki logs data plane data frame according to specs
* Remove only in test
2023-11-07 10:53:10 +01:00
kay delaney
4a5b8643ae
ShareModal: Implement panel embed tab for scenes ( #77062 )
...
* ShareModal: Implement panel embed tab for scenes
* Fix url generation
* Locale
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-11-07 01:19:17 -08:00
Joey
de9ee2e127
Tempo: Update tag in span based on Pyroscope API ( #77701 )
...
* Update tags key
* Update link tags
* Update test
2023-11-07 08:45:09 +00:00
Joey
6e929b2b53
Tempo: Update the traces data in the testdata data source ( #77198 )
...
Update the traces data in the testdata data source
2023-11-07 08:24:11 +00:00
Esteban Beltran
7107ba0104
Sandbox: Patch history.replaceState to make it work inside the sandbox ( #76255 )
...
* Patch history.replaceState api instead of doing a live distortion
* Add better patching mechanism
* Remove console log
2023-11-07 09:09:17 +01:00
Ihor Yeromin
4b87f38f66
Bar Gauge: Add max height option ( #76042 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-11-07 07:11:13 +02:00
ismail simsek
581b93c124
InfluxDB: Fix query call with flux and sql when backend migration disbaled ( #77760 )
...
Only run through with classicQuery if the language is influxql and backend migration is disabled
2023-11-07 00:14:27 +02:00
Taewoo K
4fbd9a55b2
Remove feature toggle data source page header ( #77751 )
...
* remove feature toggle:dataSourcePageHeader
* remove feature flag: dataSourcePageHeader
* remove unused prop:alertingSupported
2023-11-06 15:21:15 -05:00
Alex San
b161800551
Geomap: Add more countries ISO 3166 Alpha-3-code to the gazetteer/countries.json ( #75311 )
...
Add more countries ISO 3166 Alpha-3-code to the gazetteer/countries.json
Included in the changes:
1. ALA, reference: https://www.iso.org/obp/ui/#iso:code:3166:AX
2. BLM, reference: https://www.iso.org/obp/ui/#iso:code:3166:BL
3. BES, reference: https://www.iso.org/obp/ui/#iso:code:3166:BQ
4. CUW, reference: https://www.iso.org/obp/ui/#iso:code:3166:CW
5. MAF, reference: https://www.iso.org/obp/ui/#iso:code:3166:MF
6. SXM, reference: https://www.iso.org/obp/ui/#iso:code:3166:SX
2023-11-06 10:08:33 -08:00
ismail simsek
73f25f7ccc
Prometheus: Remove unsupported browser access mode related code ( #77316 )
...
* Remove unused code
* More cleaning
* Delete more
* betterer
* Small import fixes
* Fix unit test
* Fix unit test
* uncomment
* Remove PromLink component since it was removed from Prometheus data source
* Clean the direct/browser access code
* Remove directUrl
* Big cleaning
* unit test fixing
* cleaning
* fix metric_find_query tests
* clean result_transformer tests
* betterer
* Remove unused type
* betterer
2023-11-06 18:03:05 +01:00
Kat Yang
1959f3434b
Chore: Deprecate FolderId in ImportDashboardRequest and ImportDashboardResponse ( #77627 )
...
* Chore: Deprecate FolderId in ImportDashboardRequest
* chore: deprecate FodlerId from ImportDashboardResponse
* chore: add missing nolint comment
* chore: regen specs
2023-11-06 11:32:34 -05:00
Kat Yang
6ed09de47d
Chore: Deprecate FolderId in DashboardMeta ( #77626 )
...
* Chore: Deprecate FolderId in DashboardMeta
* chore: regen specs
2023-11-06 11:31:44 -05:00
Kat Yang
2c7f364067
Chore: Deprecate FolderID in PatchLibraryElementCommand ( #77472 )
...
* Chore: Deprecate FolderID in PatchLibraryElementCommand
* chore: regen specs
2023-11-06 11:31:01 -05:00
Kat Yang
dd5314c6a8
Chore: Deprecate FolderID in LibraryElementDTO ( #77471 )
...
* Chore: Deprecate FolderID in LibraryElementDTO
* chore: fix formatting of deprecation comment
* chore: revert deprecation comment formatting
* chore: regen specs
2023-11-06 11:30:32 -05:00
Andre Pereira
8aa5d470ca
Tempo: Fix streaming query restart after Grafana server reboot ( #77614 )
...
* Fix streaming query restart after Grafana server reboot
* TraceQL Search filter name improvements
* Add flag to enable streaming in tempo docker block
---------
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2023-11-06 18:29:59 +02:00
Alex Khomenko
25779bb6e5
Stack: Use the component from grafana/ui ( #77543 )
...
* grafana/ui: Move Stack out of unstable
* grafana/ui: Replace imports
* Replace the import from experimental
* Cleanup
* Remove invalid prop
* Add flexGrow
* Remove Stack used in Field
* Remove import
2023-11-06 18:15:52 +02:00
Dominik Prokop
dff8dc86d6
PanelInspector: Always use the latest panel data ( #77732 )
...
PanelInspector: Always use the latest panel data
2023-11-06 07:35:20 -08:00
Andrei Golubkov
e6bdf0029d
Loki: Add tests to cover NestedQueryList.tsx ( #77331 )
...
Loki: Add tests to cover NestedQueryList.tsx.
Covered cases: rendering list, shows explanations and call onChange when remove button click.
Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com>
2023-11-06 16:12:46 +01:00
Matias Chomicki
7e1110f1f9
Log Row: memoize row processing ( #77716 )
...
* LogRow: memoize row processing
* Rename method
2023-11-06 16:59:48 +02:00
Ryan McKinley
5e7f6e8699
Snapshots: Do not return internal database ids ( #77672 )
2023-11-06 06:53:52 -08:00
Gilles De Mey
e61ebd4b06
Alerting: Do not show missing integration while loading oncall plugin status ( #77710 )
2023-11-06 15:51:36 +01:00
Gilles De Mey
901a6bfa69
Alerting: Use correct URL for modify export ( #77714 )
2023-11-06 15:50:29 +01:00
Alexander Zobnin
a558d287a7
Role picker: Remove unnecessary table wrapper ( #77707 )
2023-11-06 15:33:58 +01:00
Ashley Harrison
b6e2db7d91
Navigation: Report megamenu state when clicking a navigation item ( #77705 )
...
report megamenu state when clicking a navigation item
2023-11-06 14:32:29 +00:00
Sonia Aguilar
df7b760f37
Alerting: Disable cache in rktq when fetching export data. ( #77678 )
...
* Disable cache in rktq when fecthing export rules group
* Fix export rules data being cached
* Disable cache for the rest of export endpoints
2023-11-06 15:15:53 +01:00
Ashley Harrison
c0afa74876
QueryRows: Fix being able to reorder rows with keyboard ( #77355 )
...
* Revert "Explore: A tooltip for reorder icon in query operation (#75978 )"
This reverts commit 76e102d1a3
.
* update type
* CI driven development
2023-11-06 13:52:50 +00:00
Ashley Harrison
d1e52d4788
Chore: type fixes ( #77618 )
...
* type fixes
* couple more
* just a couple more
* small fixes to prometheus typings
* improve some more datasource types
2023-11-06 11:28:44 +00:00
Ivana Huckova
a1718aafce
Elasticsearch: Add error source for DataQuery ( #77386 )
...
* WIP
* Refactor, plus update source of error in response_parser
* Adjust test
* Use methods and httpclient from errorsource
* Update pkg/tsdb/elasticsearch/data_query.go
Co-authored-by: Scott Lepper <scott.lepper@gmail.com>
* Return nil error
* Fix test
* Fix integration test
---------
Co-authored-by: Scott Lepper <scott.lepper@gmail.com>
2023-11-06 11:36:39 +01:00
Sonia Aguilar
f88a0f36ec
Alerting: Avoid alert list view component being unmounted every time we fetch new data ( #77631 )
...
* Avoid view component being unmounted any time we fetch new data
* Render loading indicator only when loading data for the first time
* Remove unnecessary useRef
2023-11-06 08:35:42 +01:00
Julien Duchesne
c3962acf98
Swagger: Rename annotations model ( #77605 )
...
Currently, in the schema, it's a global definition called `ItemDTO`. It's hard to figure out what that is
Renaming it to `Annotation` should be more helpful
2023-11-03 18:32:06 -04:00
Ashley Harrison
d68d31c63c
Navigation: Hide Undock menu
button when docked ( #76965 )
...
* small dock menu exploration
* fix e2e tests
* revert back to web-section-alt
2023-11-03 17:07:15 +00:00
Gabriel MABILLE
bf363b3234
ServiceAccounts: Use isManaged
in DTO instead of isExternal
( #77634 )
...
* ServiceAccounts: Use IsManaged in DTO instead of isExternal
* Revert omitempty
* Modify the other DTO
* Swagger
2023-11-03 17:49:11 +01:00
kay delaney
c98add6e5a
Dashboards: Fix issue causing crashes when saving new dashboard ( #77620 )
...
Closes #77593
2023-11-03 18:33:59 +02:00
Alyssa Bull
036ec72206
CloudMonitoring: Warn users that query will be lost on switch ( #76836 )
2023-11-03 10:06:18 -06:00
Alyssa Bull
0f4bb73fbc
Azure Monitor: Select all Event Types by default ( #77603 )
2023-11-03 10:04:25 -06:00
Gilles De Mey
3dac37380d
Alerting: Fix export with modifications URL when mounted on subpath ( #77622 )
2023-11-03 16:36:53 +01:00
Andrew Hackmann
dc1b4ceb06
Azure monitor/remove reference to core config ( #77601 )
...
remove app config
2023-11-03 10:18:02 -05:00
Victor Marin
61d63d3034
Transformations: Cumulative and window modes for Add field from calculation
( #77029 )
...
* cumulative sum
* refactor and create new mode
* refactor - use reduceOptions for new mode also
* revert naming
* Add window function, rename statistical to cumulative (#77066 )
* Add window function, rename statistical to cumulative
* Fix merge errors
* fix more merge errors
* refactor + add window funcs
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
* add ff + tests + centered moving avg
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
* make sum and mean cumulative more efficient (#77173 )
* make sum and mean cumulative more efficient
* remove cumulative variance, add window stddev
* refactor window to not use reducer for mean. wip variance stdDev
* fix tests after optimization
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com>
* optimize window func (#77266 )
* make sum and mean cumulative more efficient
* remove cumulative variance, add window stddev
* refactor window to not use reducer for mean. wip variance stdDev
* fix tests after optimization
* fix test lint
* optimize window
* tests are passing
* fix nulls
* fix all nulls
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com>
* change window size to be percentage
* fix tests to use percentage
* fixed/percentage window size (#77369 )
* Add docs for cumulative and window functions of the add field from calculation transform. (#77352 )
add docs
* splling
* change WindowType -> WindowAlignment
* update betterer
* refactor getWindowCreator
* add docs to content.ts
* add feature toggle message
---------
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2023-11-03 16:39:58 +02:00
Jacob Zelek
6bf4d0cbc6
DashboardGrid: Add support to filter panels using variable ( #77112 )
...
* DashboardGrid panel filter
* Missed segment and changes per PR discussion
* Hide feature flag from docs
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-11-03 05:15:54 -07:00
Ashley Harrison
f32bc17422
Navigation: Use LoadingBar
in CommandPalette
( #77506 )
...
try using LoadingBar in CommandPalette
2023-11-03 09:54:25 +00:00
Alexander Zobnin
dcdd334663
RolePicker: Use portal to render menu ( #77499 )
...
* RolePicker: Use portal for menu
* Remove logging
* Fix submenu styles
* Fix ROLE_PICKER_MAX_MENU_WIDTH calculation
* Fix first menu open glitch
* Fix menu closing on ckick
* Fix menu position
2023-11-03 11:06:51 +02:00
Torkel Ödegaard
beb84384da
Theme: Update old css class add-data-source-item to use card styling ( #77487 )
2023-11-03 07:28:45 +01:00
Nathan Marrs
fb2b1c2e13
Canvas: Fix ability to draw arrows ( #77573 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-11-02 22:55:31 +02:00
Kristina
9e0ca0d113
Correlations: Add transformations to Explore Editor ( #75930 )
...
* Add transformation add modal and use it
* Hook up saving
* Add transformation vars to var list, show added transformations
* Form validation
* Remove type assertion, start building out transformation data in helper (WIP)
* Style expression better, add delete logic
* Add ability to edit, additional styling on transformation card in helper
* simplify styling, conditionally run edit set up logic
* Keep more field information in function, integrate it with new editor
* Show default label on collapsed section, use deleteButton for confirmation of deleting transformations
* Change transformation add calculations from function to hook, add label to collapsed header, add transformation tooltip
* Make correlation and editor dirty state distinctive and integrate, WIP
* Track action pane for more detailed messaging/actions
* Better cancel modal logic
* Remove changes to adminsitration transformation editor
* Remove debugging line
* Remove unneeded comment
* Add in logic for closing editor mode
* Add tests for modal logic
* Use state to build vars list for helper
* WIP
* Fix labels and dirty state
* Fix bad message and stop exiting mode if discard action is performed
* Fix tests
* Update to not use unstable component and tweak default label
2023-11-02 15:09:30 -05:00
Dominik Prokop
6e80a3d59b
DashboardScene: Viewer role only support ( #76748 )
...
* Allow starring DashboardScene
* Add feature toggle to enable dashbaord scene for viewers
* Basics for proxying viewers to a dashboard scene
* Removed isHomeDashboard flag
* Don't use proxy for rendering dashboard page
* Revert "Don't use proxy for rendering dashboard page"
This reverts commit 95836bdb2c
.
* Pre-fetch dashboard prior page rendering
* Depend only on dashboard permissions
* Update default home dashboard to proper model...
* Fix breadcrumbs
* Types update
* Dashboards page proxy tests
* Fix missing controls
* URLs generation
* DashboardScenePageStateManager caching test
* Tests updates
* Fix wrong import
* Test update
* Gen
2023-11-02 12:02:25 -07:00
John Martins
03a7c65ead
AzureMonitor: Add Container Insights Syslog Dashboard ( #77229 )
...
* add Syslog dashboard
* Revert "add Syslog dashboard"
This reverts commit b30160afe5
.
* add Syslog Dashboard
* make wording more general to grafana users
* remove azure welcome panel
* run prettier on dashboard
2023-11-02 17:35:04 +00:00
Adela Almasan
087e081c5a
Canvas: Refactor ConnectionSVG utils ( #77578 )
...
Co-authored-by: Krishna Dhakal <7krishna7dhakal7@gmail.com>
2023-11-02 12:09:07 -05:00
Sonia Aguilar
0abfc3b6be
Alerting: Update 'Create alert' to 'New alert rule' in the panel and docs ( #76950 )
...
* Update 'Create alert' to 'New alert rule' in the panel and docs
* Fix test
2023-11-02 17:33:53 +01:00
Ryan McKinley
878235248e
Chore: avoid using deprecated ArrayVector ( #77581 )
2023-11-02 18:24:57 +02:00
Oscar Kilhed
0eda368d32
Transformations: Deduplicate names when using extract fields
transformation. ( #77569 )
...
* dedupe field names
* add test to make sure we don't break normal case
2023-11-02 16:47:42 +01:00
Ryan McKinley
45d59cf31b
Dashboards: Remove dummy trim dashboard api ( #77249 )
...
Co-authored-by: nikimanoledaki <niki.manoledaki@grafana.com>
2023-11-02 08:35:14 -07:00
Kyle Cunningham
e714c9303e
Timeseries to table transformation: Update Output Changes ( #77415 )
...
* Break out labels into separate fields
* More Updates
* Minor test changes
* Use 'A' for transformed refId
* Make sure tests pass
* Add additional test
* Prettier
* Remove dead comment
* Update time field selection options
* remove console.log
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com>
2023-11-02 10:25:48 -05:00
Fabrizio
b13395afbc
Tempo: Handle empty responses in ServiceGraph ( #77539 )
2023-11-02 11:23:18 +01:00
Alex Khomenko
d62170e4ce
Grafana/ui: Move the Stack component out of unstable ( #77495 )
...
* grafana/ui: Move Stack out of unstable
* grafana/ui: Replace imports
2023-11-02 12:22:57 +02:00
Ivana Huckova
1e065580ac
Loki: Remove duplicated methods in languageProvider ( #77456 )
...
Loki: Remove fuplicated methods in languageProvider
2023-11-02 11:02:00 +01:00
Ryan McKinley
c6e27e00b4
Chore: Move internal GraphNG+Timeseries components into core ( #77525 )
...
* move to core where possible
* update imports
* ignore import order for now
* add graveyard files
* update codeowners
2023-11-01 21:59:55 -07:00
Ryan McKinley
fb9732e319
Chore: Prepare to remove <Graph /> from @grafana/ui ( #77522 )
2023-11-01 14:13:48 -07:00
Ryan McKinley
e3641d925c
K8s/Playlist: Support full CRUD from k8s to existing storage ( #75709 )
2023-11-01 12:32:24 -07:00
Drew Slobodnjak
9116043453
Storage: Add maxFiles to list functions ( #76414 )
...
* Storage: Add maxFiles to list functions
* Add maxDataPoints argument to listFiles function
* Add maxFiles to ResourceDimensionEditor
* Update pkg/services/store/http.go
* rename First to Limit
---------
Co-authored-by: jennyfana <110450222+jennyfana@users.noreply.github.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-11-01 09:42:24 -07:00
Nathan Marrs
124bf6bfa9
chore: canvas cleanup betterer styles object notation edition ( #76315 )
...
Co-authored-by: drew08t <drew08@gmail.com>
2023-11-01 18:25:26 +02:00
Ivana Huckova
a38c9d4f44
Loki: Add maxLines option to getParserAndLabelKeys ( #77460 )
...
* Loki: Add logsCount option to getParserAndLabelKeys
* Rename logsCount to maxLines
2023-11-01 17:22:33 +01:00
Andreas Christou
17a24c92e8
AzureMonitor: Add missing namespaces ( #77308 )
...
Add missing namespaces and order
2023-11-01 16:15:08 +00:00
Giordano Ricci
7737226786
Explore: Fix support for angular based datasource editors ( #77486 )
2023-11-01 15:49:45 +00:00
Sofia Papagiannaki
dfc33a70b7
Dashboards: Fix creating dashboard under folder using deprecated API ( #77501 )
...
* Dashboards: Add integration tests for creating a dashboard
* Fix creating dashboard under folder using deprecated API
* Update swagger response
* Fix comments
2023-11-01 17:01:54 +02:00
Josh Hunt
e8f0f6b7c8
Page: Remove Canvas background from primary background pages ( #77008 )
...
* Remove canvas background for primary background pages
* refactor styles
2023-11-01 12:58:18 +00:00
Utkarsh Deepak
20c0fbf92d
ValueFormats: Use plural for time units ( #77337 )
...
* Dashboard: Use plural values for time units
* Cleaned up code a bit and added support for negative values.
---------
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2023-11-01 14:50:33 +02:00
Sven Grossmann
57835c71b1
Loki: Add supportingQueryType
to datasample queries ( #77482 )
...
add `supportingQueryType` to datasamples
2023-11-01 13:42:28 +01:00
Ashley Harrison
2d5e602b2d
Navigation: Minor tweak to dockedMegaMenu
to make it slightly tighter ( #77493 )
...
minor tweak to dockedMegaMenu to make it slightly tighter
2023-11-01 13:56:58 +02:00
Alexander Zobnin
cf7a2ea733
RolePicker: Optimise rendering inside lists of items ( #77297 )
...
* Role picker: Load users roles in batch
* Use orgId in request
* Add roles to OrgUser type
* Improve loading logic
* Improve loading indicator
* Fix org page
* Update service accounts page
* Use bulk roles query for teams
* Use POST requests for search
* Use post request for teams
* Update betterer results
* Review suggestions
* AdminEditOrgPage: move API calls to separate file
2023-11-01 11:57:02 +01:00