ismail simsek
ffed779879
InfluxDB: Fix getting empty response when querying fields with retention policy ( #63669 )
...
Revert "InfluxDB: Send retention policy with InfluxQL queries if its been specified. (#62149 )"
This reverts commit a5a85e0398 .
2023-02-23 12:20:20 -05:00
ismail simsek
3d75dbc31e
Prometheus: Handle annotation query with empty fields ( #63560 )
...
Handle annotation query with empty fields
2023-02-22 14:47:50 +01:00
ismail simsek
80292d3d1e
Prometheus: Fix missing abs operation to query builder ( #63139 )
...
Add abs operator to prometheus query builder
2023-02-20 15:49:59 +01:00
ismail simsek
8684fa75c7
Remove explicit user agent definition ( #63019 )
2023-02-07 07:49:20 -08:00
ismail simsek
49258b135a
Prometheus: Refactor error handling logic ( #62254 )
...
* Refactor error handling logic
- Enable query inspector to show error information
- Update naming
* Change fetch method return signature
* update the snapshot
* Revert "update the snapshot"
This reverts commit 28b26ce426 .
2023-01-31 19:26:45 +01:00
ismail simsek
91221bc436
Expressions: Fixes the issue showing expressions editor ( #62510 )
...
* Use suggested value for uid
* update the snapshot
* use __expr__
* replace all -100 with __expr__
* update snapshot
* more changes
* revert redundant change
* Use expr.DatasourceUID where it's possible
* generate files
2023-01-31 18:50:10 +01:00
ismail simsek
65fbbc06fd
InfluxDB: Move database information into jsondata ( #62308 )
...
* Use dbName in jsonData instead of database
* Use dbName in instead of database
* Remove database fields and define dbName instead
* Fix tests
* set database field as empty string
2023-01-31 14:38:02 +01:00
ismail simsek
29c8ce12a0
Prometheus: Fix handling errors in streaming client ( #61643 )
...
* Return errors from data parsing
* Better error handling
* Fix the tests
* When there is no frame add empty frame to get metadata attached to it
* Fix tests
* Update testdata
2023-01-18 22:30:15 +01:00
ismail simsek
6dcc94ecb2
Prometheus: Add default editor configuration ( #61510 )
...
* Add default editor option in Prometheus configuration
* Small readability improvement
2023-01-17 15:39:15 +01:00
ismail simsek
67c02f660a
Influxdb: Remove backend migration feature toggle ( #61308 )
...
* Remove influxdbBackendMigration feature toggle
* Remove code blocks related to influxdbBackendMigration feature toggle
* Fix annotations
* Remove commented lines
* Fix unit tests
2023-01-17 15:11:26 +01:00
ismail simsek
321acca59f
Prometheus: Send separate queries when the query type both selected ( #60928 )
...
Send separate queries when the query type both selected
2023-01-12 11:23:29 +01:00
ismail simsek
6a68fbb495
Influxdb: Improve filtering ( #60994 )
...
* Add createOptionPosition props to SelectBase
* Show create option in the beginning of the list
* Show only matched template variables
* Fix the test
* Remove redundant check
2023-01-09 11:37:25 +01:00
ismail simsek
15d32546ea
Prometheus: Fix Instant query time calculation ( #60815 )
...
* Use single point in time instead of doing time range calculation
* Comment update
2022-12-29 16:32:08 +01:00
ismail simsek
76e822af39
Prometheus: Fix exemplar popover overflow ( #60189 )
...
Add popover modifiers to fix overflow issue
2022-12-23 10:14:46 +01:00
ismail simsek
5424ec4157
Prometheus: Remove buffered client and feature toggle related to it ( #59898 )
...
* Remove prometheus buffered client and feature toggle related to it
* Remove redundant pieces
* Clean the integration test
2022-12-12 18:05:55 +01:00
ismail simsek and nmarrs
29d2f86955
Update heatmap exemplar popover styles ( #59988 )
...
* Put traceID on top
* Update exemplar popover styles
* Remove console.log
* Make exemplar header opt-in via optional prop
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2022-12-08 19:55:39 +01:00
ismail simsek
551a2ac9ec
Prometheus: Tweak query builder select component ( #59749 )
...
* Have consistent color for operators
* Add more operators and reorder them to align with dashboard filters
2022-12-08 18:52:27 +01:00
ismail simsek and Ivana Huckova
ba2e226ba9
Prometheus: Send time range params when requesting labels ( #59648 )
...
* Send time range params when requesting labels
* Update public/app/plugins/datasource/prometheus/datasource.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Send params when calling values too
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-12-02 19:11:34 +01:00
ismail simsek
1c5039085b
Prometheus: Make Prometheus streaming parser as default client ( #58365 )
...
* Introduce a new feature flag for prometheus buffered client
* Use querydata client as default and put buffered client behind the feature flag
* Remove prometheusStreamingJSONParser feature flag as it is not needed anymore
* Update tests
* Fix unit tests
* Update feature flag description
2022-11-11 17:53:12 +01:00
ismail simsek
8edeb1aa22
Prometheus: Handle errors in buffered client ( #58504 )
...
* Handle prometheus errors in buffered client
* Handle prometheus warnings
* Fix tests
* Add unit test for warnings
2022-11-11 15:49:46 +01:00
ismail simsek
93c1fbbe3f
Remove data comparison tool and feature flag ( #58196 )
2022-11-07 19:20:00 +01:00
ismail simsek
0367f61bb3
Share azureauth between prometheus clients ( #58122 )
...
* Move azureauth to upper package
* Refactor http transport options
2022-11-03 19:44:37 +01:00
ismail simsek
4053cbea38
Fix broken image links ( #57480 )
2022-10-22 09:15:45 -07:00
ismail simsek
9c6a6ca487
graphite and opentsdb integration tests ( #54733 )
2022-09-06 17:19:04 +03:00
ismail simsek
3ea9ece16e
Update graphite datasource testing query ( #54635 )
...
* Provide from and to parameters when testing the datasource
* Strongly typed test datasource query
2022-09-05 20:59:44 +02:00
ismail simsek
e912029ad3
influxdb integration tests ( #54700 )
2022-09-05 15:35:53 +02:00
ismail simsek
a230439679
Add monaco-editor section in grafana-toolkit faq ( #54585 )
...
* Add monaco-editor question in faq section
* Fix typo
2022-09-02 08:30:59 -04:00
ismail simsek
435aaf81d2
Chore: update latest.json to 9.0.7 ( #53533 )
2022-08-10 14:28:41 +00:00
ismail simsek
a40c1e227c
Prometheus: Use lezer-promql types instead of hardcoded strings ( #53287 )
...
* Prometheus: Use lezer-promql types instead of hardcoded strings
* Update comment line
* Removing more hardcoded values
2022-08-08 10:14:12 +02:00
ismail simsek and Ivana Huckova
87af08129c
Prometheus: Add tests for new explain section ( #53182 )
...
* Prometheus: Add tests for new explain section
* Update public/app/plugins/datasource/prometheus/querybuilder/components/PromQueryBuilder.test.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Mock MonacoQueryFieldWrapper
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-08-03 15:48:16 +02:00
ismail simsek
920ee16b54
Update LokiQueryCodeEditor test title ( #53181 )
...
* Update LokiQueryCodeEditor test title
* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryCodeEditor.test.tsx
2022-08-03 09:59:02 +02:00
ismail simsek
3701c9a8f5
Update prometheus docs ( #53062 )
2022-08-02 10:38:22 +02:00
ismail simsek
2f9636e698
InfluxDB: move datasource health check to backend ( #52668 )
...
* Move datasource health check to backend
* Introduce healthcheck unit tests
* Remove unused method
2022-07-28 12:06:09 +02:00
ismail simsek
0a664faeeb
Graphite: Introduce new query types in annotation editor ( #52341 )
...
* Fix comment lines
* Introduce graphite variable editor
* Render results differently based on queryType
* Add comments and fallback values
* Unit tests for different type of graphite queries
* Use metrics/expand endpoint to retrieve metric names
2022-07-26 18:30:23 +02:00
ismail simsek
8deb17fdc4
Plugins: InfluxDB update time range query ( #51833 )
2022-07-07 19:55:51 +02:00
ismail simsek
3d68023606
Plugins: InfluxDB datasource - set epoch query param value as "ms" ( #51651 )
2022-07-07 13:02:20 -04:00
ismail simsek
885c517983
Plugins: InfluxDB variable interpolation fix ( #51917 )
...
* Don't use regex on flux mode while applying template variables
2022-07-07 17:16:35 +02:00
ismail simsek
9941e06e22
Plugins: InfluxDB variable interpolation fix for influxdbBackendMigration feature flag ( #51624 )
2022-07-06 19:27:21 +02:00
ismail simsek
0de544f3a2
Handle scalar and string resultType separately ( #51411 )
2022-06-29 16:43:33 +02:00
ismail simsek
c804639b53
Hide datalink button when datasource for exemplar is undefined ( #51236 )
2022-06-24 15:26:52 +02:00
ismail simsek
c309d1876b
Add cypress type support ( #49315 )
2022-05-25 16:16:36 +02:00