Kyle Brandt
6c6427e63f
Chore: Use latest go-sdk (v0.158.0) ( #66054 )
...
SDK release notes:
* Logs contract: ignore remaining fields by @gabor in #659
* Logs contract: more robust field finding, explicit approach by @gabor in #660
* Tracing: Support multiple OTel propagators by @xnyo in #663
* Tracing: Add more details to HTTP Outgoing Request by @xnyo in #664
* Data: Encode Nanosecond into JSON by @kylebrandt in #647
* Data: cmp tests using FrameTestCompareOptions() will no longer ignore time differences beyond millisecond resolution
2023-04-05 21:00:31 +03:00
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
KonH
4421b31b66
Loki/Prometheus: Change signature - return non-reference from ReadPrometheusStyleResult ( #57209 )
...
* Change signature - return non-reference from ReadPrometheusStyleResult
Related to https://github.com/grafana/grafana/issues/52430
* Fix invalid reference usage
* Potential fix for test data
* Remove additional ref usage
* Revert "Potential fix for test data"
This reverts commit 94ed588ab3 .
* Commit changed test data
* Revert unwanted conflict resolution
* Add additional condition to track empty responses
* Setup valid empty response
* Re-introduce changes reverted by merge
2023-01-13 09:00:39 +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
Gábor Farkas
395e443932
loki: Fix adding refId to rowId ( #53932 )
2022-08-22 13:09:33 +02:00
Gábor Farkas
46eec85b1a
loki: better handle an empty-response ( #52397 )
2022-07-19 08:13:38 +02:00
Gábor Farkas
fd63ed540f
loki: fix bug in labels framing ( #51015 )
2022-06-17 12:50:10 +02:00
Todd Treece
64d93498de
Chore: Update grafana-plugin-sdk-go to v0.136.0 ( #50127 )
2022-06-03 08:25:52 -04:00
Gábor Farkas
683c1c0f40
logs: use explicit frame-type-check ( #48940 )
2022-05-16 13:38:05 +02:00
Gábor Farkas
7b9929fffe
loki: framing_test: more infinity/nan test cases ( #48855 )
2022-05-09 11:47:50 +00:00
Gábor Farkas
7d369a1dea
Loki: backend: use json-field ( #48486 )
...
* fixed strings
* loki: backend: use json-field
2022-05-03 08:03:25 +02:00
Gábor Farkas
62cd722726
Loki: minor backend-dataframe-format changes ( #48320 )
...
* loki: backend: better dataframe field names
* loki: backend: add dataframe-type to metric dataframes
* loki: backend: only add stats to the first metric dataframe
2022-04-29 09:04:37 +02:00
Gábor Farkas
68511e7712
loki: use single-dataframe format on the backend ( #47069 )
2022-04-12 11:58:48 +02:00
Gábor Farkas
96987ac182
loki: add test to handle __name__ ( #47298 )
2022-04-05 11:56:54 +02:00
Gábor Farkas
a246381879
loki: backend-mode: add stats support ( #46526 )
...
* loki: backend-mode: add stats support
* refactor: rename variable
2022-03-31 17:50:27 +02:00
Gábor Farkas
c4404982dc
loki: backend-mode: add nanosecond-timestamps ( #45963 )
2022-03-04 09:42:18 +01:00
Gábor Farkas
1cad35ea67
loki: backend mode: support all query types ( #45619 )
...
* loki: backend mode: support all query types
* loki: backend: adjust vector-parsing field-names
* loki: backend: no interval for streams-dataframes
* loki: backend: enable more query types
* better variable name
* removed unnecessary code
* improve frame-processing
* more unit tests
* improved code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* remove unused code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* simplify code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* lint fix
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-02-25 09:14:17 +01: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
Gábor Farkas
96ae44ee2c
loki: alerting: do not round timestamps to seconds ( #45057 )
2022-02-10 12:53:46 +01:00
Gábor Farkas
d9d1f8520e
loki: backend-queries: set interval-value in dataframe ( #44965 )
...
* loki: backend-queries: set interval-value in dataframe
* fixed unit test
* added interval-specific unit test
2022-02-07 13:02:04 +01:00
Gábor Farkas
b42161a713
Loki: add from JSON to dataframes tests ( #44375 )
...
* Loki: add from JSON to dataframes tests
* fixed wrong content-type
* added -Inf test-case
2022-01-27 12:43:44 +01:00