Isabella Siu
268d09affd
CloudWatch Logs: Create monarch language syntax ( #69741 )
2023-06-08 14:45:29 -04:00
Brendan O'Handley
ba97c492f9
Prometheus: Metrics explorer usability test improvements ( #69528 )
...
* remove infer type functionality because usability tests confirmed it was confusing/not helpful
* persist button option to open modal when typing in metric select
* update copy desc for setting that includes type and description in search
* when filtering by type, only return metrics with defined type
* give focused metric row more contrast, consistent with metric select focused option
* allow selection of metrics with unknown types and undefined types
* add highlighting to backend search
* augment counters created from summaries with (summary)
* remove type from search input setting and only search by name and description
* fix test to reflect that type has been removed from the metadata input search as duplicated by the filter
* add button to select metric, change wording, make table hover row consistent with grafana table
* add tooltip icon with docs link for metric types that are augmented, histogram and summary
* remove files slated for future refactoring
* style changes based on catherine's review
* remove border from settings btn, select btn increase to md, change col size in table, fix responsive inputs ui for sm screens
2023-06-08 12:53:17 -04:00
Galen Kistler
a02bf1104c
Prometheus: fix icons that are only visible on hover ( #69731 )
...
always make icons visible instead of only showing on hover to allow users to see outline when interacting with icons via keyboard navigation
2023-06-08 09:30:10 -05:00
Matias Chomicki
4f40c24dfe
Elasticsearch Config: Fix empty settings with expected default values ( #69658 )
...
* Elastic details: add missing htmlFor attributes
* Elasticsearch Config: add regression test
* Elasticsearch Config: run options fixer on every change
* Remove unused import
2023-06-08 15:09:35 +02:00
Ivana Huckova
0245ef63ba
Loki: Fix showing of correct line limit in options ( #69572 )
...
* Loki: Fix showing of line limit
* Refactor tests to not use id
2023-06-08 14:40:39 +02:00
Laura Benz
24502c4c4a
Add tooltip to instances of IconButton ( #68880 )
...
* refactor: tooltip is required
* refactor: add tooltips
* refactor: add tooltips
* refactor: add tooltips
* refactor: add tooltips
* refactor: add tooltips
* refactor: add tooltips
* refactor: adjust tests
* refactor: apply changes from code review
* refactor: adjust component for e2e test
* refactor: adjust fallback
* refactor: apply changes from code review
* refactor: apply changes from code review
* refactor: set IconButton default as type=button and remove from use cases
* refactor: remove aria-labels when duplicated and type=button from use cases
* refactor: clean up
* refactor: fix tests
* refactor: fix type errors
* refactor: remove changes in order in order to add them to a separate PR
* refactor: set IconButton default as type=button
* refactor: remove tooltip
* refactor: apply changes requested in review
2023-06-08 10:23:28 +02:00
Brendan O'Handley
2656c06e0b
Prometheus: variable query editor interpolate variables in label values ( #69735 )
...
update regex for label values query type to support variable interpolation
2023-06-07 13:36:05 -04:00
Ivana Huckova
8322b353f5
Loki: Make stream selector input in variables editor larger ( #69729 )
...
* Loki: Make strem selector input in variables editor larger
* Remove 75%
2023-06-07 18:56:35 +03:00
Matias Chomicki
e31ea1da9d
Query Splitting: Display progress of sub-requests using an annotation frame ( #69574 )
...
* Loki Query Splitting: Add and update loading frame to merged response
* Update unit test
* Loki Query Splitting: use data frame constructor function
2023-06-07 13:52:06 +00:00
Ivana Huckova
14d2f371a4
Loki: Fix including of template variables in variable query editor ( #69698 )
2023-06-07 15:38:45 +02:00
Ryan McKinley
e17ef5e504
Pyroscope: Rename phlare to grafana-pyroscope-datasource ( #68859 )
2023-06-07 06:09:29 +03:00
Adela Almasan
76b05b80a4
Legend: Sort by name ( #69490 )
2023-06-06 15:16:16 -05:00
Jev Forsberg
c0a1fc2cbd
SQL Datasources: Reinstate SQL data source behavior around database selection when default configured databases already exist ( #65659 )
...
* badlm0mma/sql_datasource_update/ initial notes
* baldm0mma/sql_datasource_update/ solution
* baldm0mma/sql_datasource_update/ clean datasetSelector
* baldm0mma/sql_datasource_update/ clean up queryEditor.tsx
* baldm0mma/sql_datasource_update/ clewan up queryHeader.tsx
* baldm0mma/sql_datasource_update/ clean up tableSelector.tsx
* baldm0mma/sql_datasource_update/ clean up mysqlDatasource.ts
* baldm0mma/sql_datasource_update/ clean up configurationEditor.tsx
* baldm0mma/sql_datasource_update/ rem conlog from queryEditor.tsx
* baldm0mma/sql_datasource_update/ rem conlog from queryEditor.tsx
* baldm0mma/sql_datasource_update/ remove conlog in tableSelector.tsx
* baldm0mma/sql_datasource_update/ rem conlog in sqlDatasource.ts
* baldm0mma/sql_datasource_update/ update deafult database value in sqlDatasource.ts
* baldm0mma/sql_datasource_update/ update logic to accomidate no preconfig
* baldm0mma/sql_datasource_update/ update props
* baldm0mma/sql_datasource_update/ update prop names
* baldm0mma/sql_datasource_update/ update prop names in tableSelector
* baldm0mma/sql_datasource_update/ update annos in datasetSelector
* baldm0mma/sql_datasource_update/ update naming
* baldm0mma/sql_datasource_update/ update to standard langauae
* baldm0mma/sql_datasource_update/ update prop names
* baldm0mma/sql_datasource_update/ update annos in datasetSelector
* baldm0mma/sql_datasource_update/ remove unused import in tableSelector.tsx
* baldm0mma/sql_datasource_update/ remove addDefaultdataset
* baldm0mma/sql_datasource_update/ reset query when needed
* baldm0mma/sql_datasource_update/ update asymc return val
* baldm0mma/sql_datasource_update/ remove psql query editor
* baldm0mma/sql_datasource_update/ remove con logs in defaults.ts
* baldm0mma/sql_datasource_update/ revert postgres changes
* baldm0mma/sql_datasource_update/ update postgres naming
* baldm0mma/sql_datasource_update/ add altert
* baldm0mma/sql_datasource_update/ update annos and add alerts and alert logic
* baldm0mma/sql_datasource_update/ update postgres nomenclature
* baldm0mma/sql_datasource_update/ update annos and remove con logs
* baldm0mma/sql_datasource_update/ update nomenclature
* baldm0mma/sql_datasource_update/ drone fix
* baldm0mma/sql_datasource_update/ export and format
* baldm0mma/sql_datasource_update/ update docs for mysql datasource with dataset dropdown disable info
* baldm0mma/sql_datasource_update/ update mssql docs
* baldm0mma/sql_datasource_update/ update postgres docs and alert logic
* baldm0mma/sql_datasource_update/ add tests
* baldm0mma/sql_datasource_update/ update docs
* baldm0mma/sql_datasource_update/ update test names
* baldm0mma/sql_datasource_update/ update alert language
* baldm0mma/sql_datasource_update/ correct spelling
* baldm0mma/sql_datasource_update/ update postgres query builder image
* baldm0mma/sql_datasource_update/ update annos
* baldm0mma/sql_datasource_update/ update tests
* baldm0mma/sql_datasource_update/ docs updated
* baldm0mma/sql_datsource_update/ refactor determinePlaceholder
* Update public/app/features/plugins/sql/components/QueryEditor.tsx
spelling
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* Update public/app/features/plugins/sql/components/QueryEditor.tsx
spelling
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* baldm0mma/sql_datasource_update/ remove superfluous cleanup data from tests
* baldm0mma/sql_datasource_update/ update spelling
* Update public/app/features/plugins/sql/components/SqlComponents.test.tsx
spelling
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* baldm0mma/sql_datasource_update/ add logic to prevent db call for tables if dataset it nullish
* baldm0mma/sql_datasource_update/ update alert tests
* baldm0mma/sql_datasource_update/ update button text
* baldm0mma/sql_datasource_update/ update tests to preferred standard
* baldm0mma/sql_datasource_update/add feature flag
* baldm0mma/sql_datasource_update/ update mssql docs
* baldm0mma/sql_datasource_update/ add feature flag to registry
* baldm0mma/sql_datasource_update/ adjust table and dataset dropdown logic
* baldm0mma/sql_datasource_update/ update testing to deal with feature flag
* baldm0mma/sql_datasource_update/ update wioth cascadeDisable
* baldm0mma/sql_datasource_update/ update naming
* baldm0mma/sql_datasource_update/ update tests to reflect enabled feature flag
* baldm0mma/sql_datasource_update/ update annotations
* baldm0mma/sql_datasource_update/ update annos in queryEd
* baldm0mma/sql_datasource_update/ update test names
* baldm0mma/sql_datasource_update/ update anno issues
* baldm0mma/slq_datasource_update/ add query to sqlDatasource with error
* baldm0mma/sql_datasource_update/ update docs language
* baldm0mma/sql_datasource_update/ remove notes to self
* baldm0mma/sql_datasource_update/ add QueryEditorFeatureFlag.utils.ts
* baldm0mma/sql_datasource_update/ update database into json
* baldm0mma/sql_datasource_update/ found file
* Update docs/sources/datasources/mssql/query-editor/index.md
Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
* baldm0mma/sql_datasource_update/ update feature flag and toggles
* baldm0mma/sql_datasource_update/ add hasConfigIssue, update annos, rethink disable logic
* baldm0mma/sql_datasource_update/ update warning language
* baldm0mma/sql_datasource_update/ update button content
* baldm0mma/sql_datasource_update/ update jsonData logic in frontendsettings.go
* baldm0mma/sql_datasource_update/ update jsonData logic
* baldm0mma/sql_datasource_update/ update annos in frontendsettings.go
* baldm0mma/sql_datasource_update/ update sql editor docs
* baldm0mma/sql_datasource_update/ update mysql docs
* baldm0mma/sql_datasource_update/ update postgres docs
* baldm0mma/sql_datasource_update/ remove unused code in datasetSelector.tsx
* baldm0mma/sql_datasource_update/ update syntax conventions
* baldm0mma/sql_datasource_update/ add logs
* baldm0mma/sql_datasource_update/ remove unused code
* baldm0mma/sql_datasource_update/ remove conlogs
* baldm0mma/sql_datasource_update/ update tests
* baldm0mma/sql_datasource_update/ add second error to query
* baldm0mma/sql_datasource_update/ run make gen-cue
* baldm0mma/sql_database_update/ lint registry
* baldm0mma/sql_datasource_update/ update registry
* baldm0mma/sql_datasource_update/ upate datasource logic
* baldm0mma/sql_datasource_update/ add logs
* baldm0mma/sql_datasource_update/ add comms to self
* baldm0mma/sql_datasource_update/ comment out false pos tests, and add investigatory comments
* baldm0mma/sql_database_update/ update query error to only test for config change if query was made in "builder" mode
* baldm0mma/sql_datasource_update/ update annos in frontendsettings.go
* baldm0mma/sql_datasource_update/ update error logic to datasource
* baldm0mma/sql_datasource_update/ remove alerts from query editor
* baldm0mma/sql_datasource_update/ remove unused imports
* baldm0mma/sql_datasource_update/ update tests
* baldm0mma/sql_datasource_update/ remove comments
* baldm0mma/sql_datasource_update/ remove logs in queryGroup.tsx
* baldm0mma/sql_datasource_update/ remove outdated annotation in datasetSelector.tsx
* baldm0mma/sql_datasource_update/ remove superfluous test and update test description
* baldm0mma/sql_datasource_update/ remove feature flag
* baldm0mma/sql_datasource_update/ add back feature flag
* baldm0mma/sql_datasource_update/ update to enums
* baldm0mma/sql_datasource_update/ update panel caps
* baldm0mma/sql_datasource_update/ update dataset selector to default update the database correctly
* baldm0mma/sql_datasource_update/ move onChange into conditional
* baldm0mma/sql_datasource_update/ add logic for previous datasets choice
* baldm0mma/sql_datasource_update/ add back previous logic for assigning default datasets
* baldm0mma/sql_datasource_update/ update useEffect dep array
* baldm0mma/sql_datasource_update/ remove feature toggle
* baldm0mma/sql_datasource_update/ add feature toggle
---------
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
2023-06-06 10:28:52 -06:00
ismail simsek
e770bd6cd1
Chore: InfluxDB - Restructure the folders ( #69554 )
...
* Move useUniqueId to a general place
* Use new built-in useId hook
* Rename query builder and metadata query
* Move and rename the query builder tests
* Refactor query_builder and metadata_query
* Fix test
* Fix test
* Restructure folders
* update texts
* Update the mock
* Fix test
* update imports
* update imports again
2023-06-06 14:28:59 +02:00
ismail simsek
ae0f94e616
InfluxDB: Refactor query_builder and metadata_query ( #69550 )
...
* Move useUniqueId to a general place
* Use new built-in useId hook
* Rename query builder and metadata query
* Move and rename the query builder tests
* Refactor query_builder and metadata_query
* Fix test
* Fix test
2023-06-06 13:58:51 +02:00
Ivana Huckova
49c940de23
Loki: Add step parameter to Loki query ( #69558 )
2023-06-06 13:20:27 +02:00
Sven Grossmann
a81cee1d05
Loki: Fix parsing of escaped quotes in LogQL ( #69584 )
...
* fix parsing issue
* replace escaped quotes
2023-06-06 11:07:21 +02:00
Ida Štambuk
f6d3a5cc94
GrafanaUI: Set default value for QueryField onBlur prop ( #69487 )
2023-06-06 10:44:27 +02:00
ismail simsek
a0dd981f85
Chore: Rename influxql query builder and metadata request files ( #69549 )
...
* Move useUniqueId to a general place
* Use new built-in useId hook
* Rename query builder and metadata query
* Move and rename the query builder tests
2023-06-05 21:57:21 +02:00
Galen Kistler
fa2e27e175
Prometheus: Query Cache refactor ( #66891 )
...
* Pull out datasource specific implementation into calling context to make query cache generic
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-06-05 11:42:15 -05:00
Andreas Christou
7bd85faa7f
CloudMonitoring: Correctly set new query on type change ( #69573 )
...
Correctly set new query on type change
2023-06-05 10:40:58 -06:00
Ivana Huckova
3150d80428
Loki: Fix error when empty template variables response ( #69373 )
...
* Loki: Fix error when empty template variables
* Update
* Add test
* Add test for statsMetadataRequest
2023-06-05 15:16:12 +02:00
ismail simsek
97221595c1
Chore: Move useUniqueId to a general place ( #69542 )
...
* Move useUniqueId to a general place
* Use new built-in useId hook
2023-06-05 14:38:54 +02:00
Zoltán Bedi
8914b8b96f
Elasticsearch: Fix Typescript errors ( #69535 )
2023-06-05 13:58:09 +02:00
Ivana Huckova
4c794fe8b9
Loki: Add comment explaining interpolation of some variables at backend ( #69460 )
...
* Loki: Add comment explaining interpolation of some variables at backend
* Update content
2023-06-05 11:28:04 +02:00
ismail simsek
6c7b17b59f
InfluxDB: Strong types and backend migration preparation ( #69469 )
...
* Type definitions
* Move non-backend-migration code into unified place
* Update public/app/plugins/datasource/influxdb/datasource.ts
2023-06-03 12:39:01 +02:00
Brendan O'Handley
4fdccef7b3
Prometheus: Fix bug when adding a query in mixed datasource ( #69424 )
...
default query needs to not be a function separate from ds
2023-06-02 12:24:42 -04:00
Soham
8165d9934b
MSSQL: Change encrypt default value to false ( #69351 )
...
change encrypt default value to false
2023-06-02 13:31:43 +02:00
Ivana Huckova
21021502b5
Loki: Remove unused datasource prop from LokiQueryBuilderOptions ( #69445 )
...
Loki: Remove unused props from LokiQueryBuilderOptions
2023-06-02 13:26:20 +02:00
Ivana Huckova
06003c98c8
Loki: Add predefined operations functionality behind feature flag ( #69379 )
...
* Add feature toggle for lokiPredefinedOperations
* Add config editor for predefined operations
* Add predefined patterns to editor
* Update content in tooltip
* Update public/app/plugins/datasource/loki/configuration/QuerySettings.tsx
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
* Update public/app/plugins/datasource/loki/components/LokiQueryEditor.tsx
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
* Add experimental badge
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2023-06-02 12:52:36 +02:00
Matias Chomicki
ee0ee70aa1
Loki: Exclude queries using DISTINCT from query splitting ( #69377 )
...
* Query utils: add function to identify distinct queries
* Chore: return false when the expected node is found
* Query splitting: exclude distinct queries from splitting
* Group queries excluded from splitting
2023-06-02 12:50:23 +02:00
Joey
0e90dfcc9c
Tracing: Upgrade tracing data source configuration editors ( #68764 )
...
* Add tracing config sub sections
* Export common sections and update divider in additional settings section
* Max width and margin bottom
* Add feature name to config link
* Update SpanBarSettings
* remove import
2023-06-01 15:52:40 +01:00
Andrej Ocenas
fb904852af
Pyroscope: Fix wrong defaults when importing query from different datasource ( #69307 )
2023-06-01 12:14:19 +02:00
Domas
aa6f16878f
TempoQueryEDitor: Respect onRunQuery updates ( #69362 )
...
make tempo query editor respect onRunQuery changes
2023-06-01 13:10:00 +03:00
Domas
c8e20bff8b
NodeGraph: Add "key" prop to context menu items ( #69360 )
...
add key to context menu items
2023-06-01 13:01:48 +03:00
Nathan Marrs
186cd96447
Canvas: Fix exit panel edit mode issue ( #69315 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-06-01 01:31:10 +03:00
Brendan O'Handley
0c85327bed
Prometheus: Make config header tags consistent ( #69275 )
...
change config header tags to h3
2023-05-31 13:57:57 -04:00
ismail simsek
f610e37aec
InfluxDB: Interpolate retention policies ( #69202 )
...
Interpolate retention policies
2023-05-31 12:04:12 +02:00
Nathan Marrs
0bdf52e3f4
Canvas: Allow all element types by default ( #69279 )
2023-05-30 13:58:51 -07:00
Brendan O'Handley
27c18b8c0c
Prometheus: Bug fix to check default expr is empty string to set legend format as auto ( #69255 )
...
* check default query.expr is empty string to set default legend format
* fix tests with default base query
* fix tests
2023-05-30 12:25:53 -04:00
Ivana Huckova
3e46720a96
Loki: Fix creating correct context query when preserved labels used ( #69252 )
2023-05-30 17:12:40 +02:00
Ivana Huckova
0d54a8858b
Flux: Improve styling of sample query button and use sentence case ( #69222 )
2023-05-30 15:04:31 +02:00
sam boyer
09895c26b6
Chore: Hacky first pass on generating composable kinds within grafana/schema ( #64723 )
...
* Super hacky first pass on gen types
* First sketchy pass at generated compo kinds in TS, grok-style
* Merge fix
* Create jenny for MajorsOrX for plugins
* Re-generate files with imports
* Delete invalid generated file
* Fix cue
* Update go.mod
* Update schemas
* Fix go-imports
* Regenerate cue files
---------
Co-authored-by: spinillos <selenepinillos@gmail.com>
2023-05-30 05:56:18 -07:00
Ivan Ortega Alba
cb83861630
Improve Dashboards schema docs ( #68904 )
...
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com>
2023-05-29 15:15:28 +03:00
Levente Balogh
fa6afc7ea4
ZoomPlugin: Remove the timeRange
prop ( #69148 )
...
* fix: remove a breaking change
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-05-26 11:52:09 -05:00
Brendan O'Handley
2e6c71fd39
Prometheus: Metric encyclopedia ux collab design ( #68421 )
...
* add class for full story click event on open modal
* move feedback link to modal top under header
* move results amount to bottom left
* move settings into modal, change language from exclude to include
* add metadata to backend search, use toggletip for settings, clean code
* style input row, remove labels and update settings button design
* remove alphabet search as requested by design
* display selected metric
* update style warning message for labels filtered metrics
* organize results footer
* update table design w fixed width and sticky header
* allow focus row on tab and use key Enter to select metric on keydown
* add rudderstack event for disable text wrap
* add messages for no metrics found, labels, search and none in data source.
* filter by type placeholder
* add min width to custom select option
* add text wrap for long metric names
* Have 4px margin b/w the search row and the 'currently selected' text. 16px between 'currently selected text' and the table
* Add some padding inside the first table header row (8 pixels on all sides)
* font-size of 12px for additional settings text
* 4px padding between additional settings text
* 24px margin between the last table cell and the pagination row
* # of Results per page font size 0.85rem
* 8px margin b/w the '# of results per page' and the dropdown
* fix test
* add infer type setting for testing
* use title on icon instead of wrapping in tooltip to fix test
* fix icon issue
* italicize inferred types, update setting text and add icon
* add space for label filters alert message
* make open button style consistent with advanced datasource picker
* keep copy for open modal button
* refactor rudderstack interactions and add inferType
* add event tracking for opening the modal
* galen's feedback, fix select horizontal scroll and results perpg bug
* ismail's feedback for metric types
* revert button in option for accessibility(galen) and style button with ghost mode
* change name to Metrics explorer
* fix hover/focus styles
* ismail's feedbcak, refactor hints, return empty string, remove @return
* Fix icon hovering: put tooltips back in over titles on icon
* make results not expand to fill table space and fix width for modal open option button
2023-05-26 12:39:34 -04:00
Andreas Christou
6b67bade55
AzureMonitor: Frontend cleanup ( #66871 )
...
* Remove unused mocks
* Remove time grain converter anys
* Improve mocks
- Add context mock
- Update datasource mock
- Add util functions
* Remove anys from log_analytics_test
* Improve response typing
* Remove redundant angular code
* Remove more anys
- Add Resource type
* More type updates
* Remove unused code and update arg ds test
* Remove old annotations test
* Remove unused code and update some more types
* Fix lint
* Fix lint
2023-05-26 16:30:46 +01:00
Jean-Philippe Quéméner
22d47d6b96
Alerting: Add info to enable alert forwarding when using an external alertmanager ( #69150 )
2023-05-26 15:30:51 +02:00
Domas
283c1c7dbe
SparklineCell: Allow specifying time range ( #69130 )
...
add timeRange optional prop to Table and TablePanel
2023-05-26 13:50:42 +03:00
enginecan
6758fd4888
MySQL: Add option to allow cleartext passwords ( #63232 )
...
* Add "Allow Cleartext Passwords" checkbox to MySQL connection settings
* Fix lint issues
* Add docs
* Add line break and bold text
---------
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2023-05-26 12:33:55 +02:00
Tobias Skarhed
0b4c790e55
News Panel: Improve error message ( #69060 )
...
Add alert with link to documentation
2023-05-26 10:31:32 +02:00
Ashley Harrison
c55c091145
Query Editor: Ensure dropdown menus position correctly ( #69062 )
...
prevent showing menu until options have loaded
2023-05-26 09:30:46 +01:00
Simon Podlipsky
a69ff6c311
TimeSeries: Add zoom-out functionality on double click ( #68936 )
2023-05-25 21:04:02 -05:00
Andrew Hackmann
56812def50
Azuremonitor: Multi resource fix ( #68759 )
...
* multi resource groups query for different resoucres
* expand resources from multi var
2023-05-25 13:32:19 -05:00
Andrej Ocenas
4908045fc3
FlameGraph: Simplify the data needed for context menu and item focusing ( #69006 )
2023-05-25 18:26:14 +02:00
Drew Slobodnjak
0fa991a4b9
Prometheus: Heatmap Format with No Data ( #68938 )
...
* Prometheus: Heatmap Format with No Data
* Simplify conditional logic
2023-05-25 09:08:56 -07:00
Matias Chomicki
2bfd415c07
Loki Query Splitting: Enable tracking for split queries ( #68645 )
...
* Loki datasource: move tracking out of runQuery
* Types: move LokiGroupedRequest to types file
* Tracking: add function to track grouped queries
* Query splitting: add tracking to split queries runner
* Remove unnecessary types
* Add unit test
* Tracking: include test case with hidden query
* Update public/app/plugins/datasource/loki/tracking.ts
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Update public/app/plugins/datasource/loki/tracking.ts
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Update public/app/plugins/datasource/loki/tracking.ts
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Update public/app/plugins/datasource/loki/tracking.ts
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Tracking: add is_split dimension
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-05-25 18:39:16 +03:00
Gilles De Mey
721d51a497
Alerting: Adds support for timezones in mute timings ( #68813 )
2023-05-25 16:19:33 +02:00
SatVeer Singh
c045fcbf69
CloudWatch: Wrap VariableEditor dimension fields ( #68967 )
...
CloudWatch: VariableEditor dimension fields
2023-05-25 05:58:19 -07:00
Matias Chomicki
9abf8140c7
Loki: Add support for distinct operation in autocomplete and query builder ( #69003 )
...
* Loki Autocomplete: add support for suggesting distinct
* Loki query builder: add distinct as format operation
* Remove unused import
* Loki visual query: add support to parse distinct filters
* Query builder: use label param editor for distinct
* Loki Autocomplete: Improve distinct label suggestions
* Query Builder: improve distinct parsing
* Fix tests
* Update tests
2023-05-25 14:22:16 +02:00
Andrej Ocenas
55bba165b1
FlameGraph: Add option to align text left or right ( #68893 )
2023-05-25 11:08:03 +02:00
Nathan Marrs
f49b9b89cf
chore: high level restructure of canvas panel files ( #69004 )
2023-05-24 18:32:36 +02:00
Ivana Huckova
ca44164bea
Loki: Implement decolorize
logql operation ( #68972 )
...
* Loki: Implement decolorize operation
* Fix tests
2023-05-24 15:23:54 +02:00
Ivana Huckova
eff90809a6
Loki: Update LokiOperationOrder
( #68905 )
...
Loki: Rename and update order of operations
2023-05-24 13:46:49 +02:00
sam boyer
323cbe1997
kindsys: Adapt to new flattened lineage syntax in Thema ( #68034 )
...
* Update all core kinds to flattened lineages
* Regen Go types, without any
* Regen Go types, s/interface{}/any/
* Update generated core typescript
* Update generate docs
* Fix defaults gen in veneer index jenny
* Flatten plugindef lineage
* Convert all plugin kinds to flattened form
* Switch back to interface{} for now
* Switch to fs.Sub in plugin DeclParser
* Mostly undesirable codegen changes, to be fixed
* Update mod and sum
* Update pfs tests to flattened lineages
* Update thema to latest, regen docs
2023-05-24 10:47:25 +02:00
Ashley Harrison
2ceed6a169
Preferences: Can reset timezone preference back to default correctly ( #68881 )
...
* user essentials mob! 🔱
lastFile:public/app/core/components/SharedPreferences/SharedPreferences.tsx
* invert menuShouldPortal logic on TimeZonePicker and fix unit test
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
---------
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-05-24 09:28:14 +01:00
Nathan Marrs
364bd930dc
chore: Move data hover out of Geomap panel code (refactor part 1 of 2) ( #68863 )
2023-05-23 17:53:36 -06:00
Andreas Christou
108acee08e
CloudMonitoring: Initial GCM Schema ( #67739 )
...
* Initial GCM schema work
- Split types for convenience
- Update conditionals where needed
- Update type references
* Add additional supporting types
* Add some more accessory and legacy types
* Add missing type
* Rename backend folder
* Add missing generated file
* Review
2023-05-22 17:19:54 +01:00
Ashley Harrison
2cbd7f1be6
OpenTSDB: use an effect to get aggregators and filters ( #68785 )
...
* only update state if it's different
* use an effect
2023-05-22 15:43:22 +01:00
ismail simsek
670c987409
Prometheus: Update schema with legendFormat and intervalFactor ( #68687 )
...
add legendFormat and intervalFactor to the schema
2023-05-22 16:20:15 +02:00
Ashley Harrison
0b6c5722a5
Graph: Fix bug with showing/hiding the legend ( #68774 )
...
* don't unmount the root when hiding the legend
* update comment
2023-05-22 14:57:56 +01:00
Ashley Harrison
e8ca3c0409
Chore: More typescript improvements 💪 ( #68699 )
...
* fix some anys
* some canvas/geomap improvements
* some more panel type fixes
* just omit the type in TagOption
2023-05-22 11:53:58 +01:00
Andreas Christou
0be29b4c78
AzureMonitor: Ensure legacy properties containing template variables are correctly migrated ( #68697 )
...
* Update migration ordering
- Update migration in applyTemplateVariables to account for interpolation from expression datasource
- Update mock to ensure overrides are passed through correctly
- Update tests
- Update migrateQuery function name for clarity
* Fix tests
* Remove comment
2023-05-22 12:12:48 +02:00
Gilles De Mey
a44ac0ed63
Alerting: Add additional contact points for external AM ( #67920 )
2023-05-22 11:43:12 +02:00
Ivana Huckova
7c7e021ccd
Loki: Preserve pre-selected labels in the log context UI ( #68700 )
...
* WIP
* Refactor and add tests
* Update
2023-05-22 10:41:35 +02:00
Domas
e1c2eb8c10
Service graph: Fix error when service graph metrics are aggregated ( #68613 )
...
make service graph work with aggregated metrics
2023-05-18 13:06:14 +03:00
Joey
fb3437586e
Accessibility: Make QueryOptions in Phlare and Parca accessible ( #68515 )
...
Fix accessibility issues for QueryOptions in Phlare and Parca
2023-05-18 09:39:18 +01:00
Ivana Huckova
ee9620e4e0
Logs: Fix unresponsive log lines if duplicate ids in Elasticsearch ( #68569 )
...
* Logs: Fix duplicate uids by appending series refIds
* Fix id generation in loki live streams to be consistent
* Update public/app/core/logsModel.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
* Fix test
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2023-05-17 16:28:25 +03:00
Andrej Ocenas
14936f85df
NodeGraph: Fix overlaps preventing opening an edge context menu when nodes were too close ( #68571 )
2023-05-17 15:22:21 +02:00
Ivana Huckova
dbbbc46351
Elasticsearch: Fix passing of limit and datalinks to logs data frame ( #68554 )
...
* Elasticsearch: Fix passing of limit and datalinks to logs data frame
* Update public/app/core/logsModel.ts
Co-authored-by: François Massot <francois.massot@gmail.com>
---------
Co-authored-by: François Massot <francois.massot@gmail.com>
2023-05-17 14:28:32 +02:00
Ivana Huckova
e74bbadecd
Elasticsearch: Implement filter query to not run hidden queries trough backend ( #68563 )
...
Elasticsearch: Implement filter query
2023-05-17 13:32:41 +02:00
Joey
caba156488
Tempo: Integrate scoped tags API ( #68106 )
...
* Support scoped tags API
* Tests
* Updates
* Updated components and language provider to certralize tag retrieval
* Update tests and add new tests for language provider
* Minor update
* Update test
2023-05-17 07:50:27 +01:00
Ryan McKinley
2e7b77a94a
StateTimeline: Support hideFrom field config ( #68586 )
2023-05-16 12:18:35 -07:00
Drew Slobodnjak
160e207e47
Barchart: Apply field visibility to traceID ( #68524 )
2023-05-16 11:19:40 -07:00
Nathan Marrs
8390fcc80f
Chore: Remove alpha icon panel ( #68573 )
2023-05-16 10:32:25 -07:00
Ivana Huckova
1462ae91da
Loki: Add functionality to revert to initial query in log context ( #68484 )
...
* Loki: Add functionality to revert to initial query
* Add tests and fix button in button
* Use usereven instead of fireEvent
* Shortern onClick
* Add feature tracking
* Use testid instead of title
* Always show revert button
* Remove unused imports
2023-05-16 18:58:25 +02:00
Alyssa Bull
f9601f8f27
Azure Monitor: Fix bug that did not show alert rule preview ( #68339 )
2023-05-16 09:08:33 -06:00
Domas
43df362aed
Node graph: Fix req/s in value ( #68441 )
...
fix req/s in node graph
2023-05-16 17:49:29 +03:00
sam boyer
33fd83f7e3
kindsys: Adapt to new PanelCfg schema interface ( #65297 )
...
* kindsys: Adapt to new PanelCfg schema interface
* building locally
* Remove Panel prefix in cue files
* Regenerate
* Update imports
* fixup! Merge branch 'remove-panel-prefix' into sdboyer/redundant-panelcfg-prefixes
* Fix formatting
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Tania B <yalyna.ts@gmail.com>
2023-05-15 23:07:54 -04:00
Nathan Marrs
5a5860256f
Trend: Filter out time fields ( #68504 )
2023-05-15 15:59:45 -07:00
Yuri Tseretyan
d3ae8df357
Chore: Test datasource to support template $seriesIndex in label values ( #68497 )
...
* update test datasource to support template $seriesIndex in label values
* prettier
---------
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2023-05-15 17:47:40 -04:00
Adela Almasan
e0d8f3b4a7
Timeseries: Graph series override stack migration ( #68491 )
2023-05-15 14:19:16 -05:00
Joey
a1f76af15a
Tempo: Fix get label values based on CoreApp type ( #68463 )
...
Fix and update test
2023-05-15 14:27:27 +01:00
Andrej Ocenas
47b7b05591
FlameGraph: Add user interaction reporting ( #68458 )
2023-05-15 15:02:37 +02:00
Andrej Ocenas
a0942bd1df
FlameGraph: Fix table sort being reset when search changes ( #68409 )
2023-05-15 14:25:06 +02:00
Andrej Ocenas
e6db01dcbe
FlameGraph: Debounce search update preventing too frequent rerenders ( #68405 )
2023-05-15 14:24:54 +02:00
Matias Chomicki
9441692fe9
Loki Derived Fields: Refactor legacy form components and add validation ( #68015 )
...
* Derived fields: validate duplicated names
* Derived fields: rename prop
* Update tests
* Derived fields: do not validate empty names as repeated
* Derived Field: use non-legacy Field and Input
* Derived Field: integrate name validation
* Derived field: align delete button
* Derived Field: add tooltips
* Derived Field: migrate and style internal link field
* Update tests
* Derived Field: ask user to select data source
Otherwise it's bugged
* Remove unnecessary onchange handler
* Initialize all derived fields attributes
Otherwise we trigger controlled-to-uncontrolled React errors
* Update public/app/plugins/datasource/loki/configuration/DerivedField.tsx
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
---------
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2023-05-15 13:48:50 +03:00
Leon Sorokin
ea0bf989cb
XYChart: Use fixed opacity, reduce memory pressure ( #68423 )
2023-05-12 18:56:12 -05:00
Adam Simpson
9503f22f53
CloudMonitor: Show template variables by default ( #68331 )
...
CloudMonitor: show template variables by default
2023-05-12 13:49:12 +00:00
Torkel Ödegaard
debf04eb2c
Modals: Be more consistent with Modal cancel button styling ( #68302 )
...
* Modals: Be more consistent with Modal cancel button styling
* Update docs
* Fix tests
* fixing tests
2023-05-12 09:21:07 +02:00