e7d8d48407
Canvas: Tweak inline editor border styling ( #70099 )
2023-06-14 21:39:59 +03:00
5c45b8724b
Tracing: Use new DataSourceDescription component ( #69443 )
...
Use new DataSourceDescription component
2023-06-14 10:45:36 +01:00
1e75c9c514
DS Picker: Use new built-in DS icons ( #69797 )
2023-06-14 12:36:21 +03:00
9e198ba745
Barchart: Fix tooltip for normal/percentage stacking(2) ( #69956 )
2023-06-13 14:16:41 -05:00
feb2b5878b
Geomap: Optimize panel rendering behavior ( #69827 )
2023-06-13 10:15:51 -07:00
073c961330
Datagrid usage tracking ( #69826 )
...
datagrid usage tracking
2023-06-13 16:48:11 +03:00
fb290235fd
Prometheus: Fix empty query string (expr) breaking dashboard panel ( #69938 )
...
* empty string if query.expr is undefined or null
2023-06-12 14:42:59 -05:00
a4d8049999
Barchart: Fix tooltip for normal/percentage stacking ( #69931 )
2023-06-12 13:56:20 -05:00
8bb8b9b29a
Canvas: Update inline edit to use theme shadow ( #69926 )
2023-06-12 08:11:42 -07:00
5a831d877a
CloudWatch Logs: add monaco editor feature flag and types ( #69871 )
2023-06-12 09:49:52 -04:00
15d55c371c
Loki: Add feature tracking to reduce repetition ( #69900 )
...
add tracking to predefined queries
2023-06-12 13:03:47 +02:00
38fc22538a
Loki: Don't split queries if they use $__range variables ( #69852 )
...
* Loki: Don't split queries if they use variables
* Update public/app/plugins/datasource/loki/querySplitting.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com>
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com>
2023-06-12 11:22:04 +02:00
3f6d55b041
Geomap: Fix tooltip bug ( #69773 )
2023-06-11 04:17:27 -07:00
cc8bedc173
Heatmap: Sort fields by numeric names when single frame ( #69879 )
2023-06-10 23:12:29 -05:00
38863844e7
LogsPanel: Remove top margin ( #69847 )
...
* LogsPanel: Remove top margin
* Fixing
2023-06-09 14:22:35 +02:00
3341229bc2
Chore: InfluxDB - Reformatting and restructuring ( #69669 )
...
* Reformatting and restructuring
* Update unit test
* Export as function
2023-06-09 12:57:46 +02:00
1696bc201e
Tempo/ServiceGraph: Specify explicit field types ( #69759 )
...
Assign field types to service graph fields
2023-06-09 12:17:05 +03:00
268d09affd
CloudWatch Logs: Create monarch language syntax ( #69741 )
2023-06-08 14:45:29 -04:00
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
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
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
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
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
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
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
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
14d2f371a4
Loki: Fix including of template variables in variable query editor ( #69698 )
2023-06-07 15:38:45 +02:00
e17ef5e504
Pyroscope: Rename phlare to grafana-pyroscope-datasource ( #68859 )
2023-06-07 06:09:29 +03:00
76b05b80a4
Legend: Sort by name ( #69490 )
2023-06-06 15:16:16 -05:00
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
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
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
49c940de23
Loki: Add step parameter to Loki query ( #69558 )
2023-06-06 13:20:27 +02:00
a81cee1d05
Loki: Fix parsing of escaped quotes in LogQL ( #69584 )
...
* fix parsing issue
* replace escaped quotes
2023-06-06 11:07:21 +02:00
f6d3a5cc94
GrafanaUI: Set default value for QueryField onBlur prop ( #69487 )
2023-06-06 10:44:27 +02:00
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
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
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
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
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
8914b8b96f
Elasticsearch: Fix Typescript errors ( #69535 )
2023-06-05 13:58:09 +02:00
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
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
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
8165d9934b
MSSQL: Change encrypt default value to false ( #69351 )
...
change encrypt default value to false
2023-06-02 13:31:43 +02:00
21021502b5
Loki: Remove unused datasource prop from LokiQueryBuilderOptions ( #69445 )
...
Loki: Remove unused props from LokiQueryBuilderOptions
2023-06-02 13:26:20 +02:00
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
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
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
fb904852af
Pyroscope: Fix wrong defaults when importing query from different datasource ( #69307 )
2023-06-01 12:14:19 +02:00