Kyle Brandt
52ed297ed5
Backend: Use latest plugin-sdk-go v0.149.1 ( #63498 )
...
Use latest github.com/grafana/grafana-plugin-sdk-go which includes changes to the TypeVersion property (always present in JSON).
Also included is squtil changes: SQL util - allow using the database scan type for converters
2023-02-21 09:06:15 -05:00
Kyle Brandt
5bb38293d2
SSE/Prom: Undo empty frame change that triggers 500s in SSE ( #61871 )
...
added in https://github.com/grafana/grafana/pull/61643
2023-01-20 17:32:14 +00: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
Kyle Brandt
4e0f95dc31
Chore: Update SDK to v0.145.0 with TimeSeriesMulti Constant ( #59729 )
2022-12-05 12:48:10 -05:00
Giuseppe Guerra
7996a1c8ad
Chore: Update grafana-plugin-sdk-go to v0.142.0 ( #58115 )
...
* Chore: Update grafana-plugin-sdk-go to v0.142.0
* Update tests and golden files for 207 status code
* Chore: Move update flag definition at the top in response_parser_test.go
* retrigger
Co-authored-by: Will Browne <will.browne@grafana.com>
2022-11-03 18:34:27 +01:00
Kyle Brandt
2cd9cbd359
Prometheus: Chore - Remove incorrect FrameType from exemplar frame ( #57695 )
2022-10-28 09:15:01 -04:00
Todd Treece
152c7f149a
Prometheus: Add Exemplar sampling for streaming parser ( #56049 )
2022-10-04 08:40:01 -04:00
Todd Treece
1c61c81dde
Prometheus: Various buffered and streaming parsing fixes ( #55941 )
2022-10-03 10:26:54 -04:00
Andrej Ocenas
d0e548c3e5
Prometheus: Add flag to compare streaming and buffered responses ( #51711 )
...
* Add flag to compare streaming and buffered
* Move log
* Fix lint
* Fix tests
* Remove debug logs
2022-07-28 14:26:51 +02:00
Todd Treece
64d93498de
Chore: Update grafana-plugin-sdk-go to v0.136.0 ( #50127 )
2022-06-03 08:25:52 -04:00
Todd Treece
33d4850c90
Prometheus: Fix sort issue in wide frames ( #49660 )
2022-05-25 23:32:55 -04:00
Todd Treece
94b9c524a8
Prometheus: Streaming JSON parser performance improvements ( #48792 )
2022-05-24 16:17:11 -04:00
Todd Treece
87e8521591
Prometheus: Implement Streaming JSON Parser ( #48477 )
...
use `prometheusStreamingJSONParser` feature toggle to enable
2022-05-13 20:28:54 +02:00
Todd Treece
6cbaa18cf6
Prometheus: Add golden JSON tests ( #48941 )
2022-05-12 17:09:58 +02:00
Todd Treece
db5f480a8f
Prometheus: Fix timestamp truncation ( #46302 )
...
* avoid truncation to seconding by using time.Time directly
* update test coverage
2022-03-08 10:55:25 -05:00
Torkel Ödegaard
a757a57c6e
Prometheus: Show executed query in inspector ( #45362 )
...
* Prometheus: Show executed query in inspector
* Loki: Improving test
2022-02-15 15:02:03 +01:00
Todd Treece
c8bb4c733e
Prometheus: Set interval on time field ( #44802 )
2022-02-03 08:15:55 -05:00
Gábor Farkas
bedc5cccaa
prometheus: fix auto-inserting null-timestamps at the end ( #44022 )
2022-01-14 09:25:15 +01:00
Gábor Farkas
4a88b8f66c
Prometheus: add tests covering the prometheus-response to dataframes conversion ( #43892 )
...
* prometheus: add tests covering prometheus_response to grafana_dataframes
* fixed variable name
* added comment
* removed not-helping function call
2022-01-13 11:52:50 +01:00