6d8fc42cdd
Prometheus: (Chore) Remove experimental unshipped prometheusWideSerie… ( #73751 )
2023-08-24 17:47:19 +03:00
68b588b912
Prometheus schematization ( #63878 )
...
* Schematize prometheus
* revert changes
* close response body
* Update report.json
* Update pkg/tsdb/prometheus/models/query.go
Co-authored-by: sam boyer <sdboyer@grafana.com>
* Use without pointers
* remove unused
* Specify query format
* Rename
* Clean up schema
* Update public/app/plugins/datasource/prometheus/dataquery.cue
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
* Update pkg/tsdb/prometheus/models/query.go
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
* Clean up tests
* Update public/app/plugins/datasource/prometheus/dataquery.cue
Co-authored-by: sam boyer <sdboyer@grafana.com>
* make gen-cue
* Add comments
* Make linter happy
* Remove editormode override
* Update
---------
Co-authored-by: sam boyer <sdboyer@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-03-09 11:26:15 +01:00
f8ec35e643
Chore: Fix goimports grouping ( #62427 )
...
* fix goimports order
* fix goimports order
2023-01-30 09:38:51 +01:00
facf2b1ee8
Chore: Update prometheus, loki, graphite and influx plugins to support contextual logs. ( #57708 )
2022-10-27 12:05:06 -04:00
152c7f149a
Prometheus: Add Exemplar sampling for streaming parser ( #56049 )
2022-10-04 08:40:01 -04:00
1c61c81dde
Prometheus: Various buffered and streaming parsing fixes ( #55941 )
2022-10-03 10:26:54 -04:00
b287047052
Chore: Upgrade Go to 1.19.1 ( #54902 )
...
* WIP
* Set public_suffix to a pre Ruby 2.6 version
* we don't need to install python
* Stretch->Buster
* Bump versions in lib.star
* Manually update linter
Sort of messy, but the .mod-file need to contain all dependencies that
use 1.16+ features, otherwise they're assumed to be compiled with
-lang=go1.16 and cannot access generics et al.
Bingo doesn't seem to understand that, but it's possible to manually
update things to get Bingo happy.
* undo reformatting
* Various lint improvements
* More from the linter
* goimports -w ./pkg/
* Disable gocritic
* Add/modify linter exceptions
* lint + flatten nested list
Go 1.19 doesn't support nested lists, and there wasn't an obvious workaround.
https://go.dev/doc/comment#lists
2022-09-12 12:03:49 +02:00
062d255124
Handle ioutil deprecations ( #53526 )
...
* replace ioutil.ReadFile -> os.ReadFile
* replace ioutil.ReadAll -> io.ReadAll
* replace ioutil.TempFile -> os.CreateTemp
* replace ioutil.NopCloser -> io.NopCloser
* replace ioutil.WriteFile -> os.WriteFile
* replace ioutil.TempDir -> os.MkdirTemp
* replace ioutil.Discard -> io.Discard
2022-08-10 15:37:51 +02:00
3df34fe064
Prometheus: Remove cache, pass headers in request, simplify client creation for resource calls and custom client ( #51436 )
...
* Remove cache, pass headers in request, simplify client creation
* Add test for http options creation
2022-07-04 11:18:45 +02:00
64d93498de
Chore: Update grafana-plugin-sdk-go to v0.136.0 ( #50127 )
2022-06-03 08:25:52 -04:00
33d4850c90
Prometheus: Fix sort issue in wide frames ( #49660 )
2022-05-25 23:32:55 -04:00
94b9c524a8
Prometheus: Streaming JSON parser performance improvements ( #48792 )
2022-05-24 16:17:11 -04:00
87e8521591
Prometheus: Implement Streaming JSON Parser ( #48477 )
...
use `prometheusStreamingJSONParser` feature toggle to enable
2022-05-13 20:28:54 +02:00