ismail simsek
|
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 |
|
Serge Zaitsev
|
f8ec35e643
|
Chore: Fix goimports grouping (#62427)
* fix goimports order
* fix goimports order
|
2023-01-30 09:38:51 +01:00 |
|
Christian Simon
|
a1f2d0e205
|
Prometheus: Reduce allocations parsing exemplars (#58959)
* Prometheus: Reduce allocations parsing exemplars
This reduces allocations for parsing exemplars.
name old time/op new time/op delta
ExemplarJson-8 24.7ms ±15% 17.6ms ± 2% -28.72% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
ExemplarJson-8 4.70MB ± 0% 3.58MB ± 0% -23.79% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
ExemplarJson-8 72.6k ± 0% 69.1k ± 0% -4.81% (p=0.008 n=5+5)
* Ensure pairs is reset
|
2023-01-18 16:42:22 +01:00 |
|
Todd Treece
|
152c7f149a
|
Prometheus: Add Exemplar sampling for streaming parser (#56049)
|
2022-10-04 08:40:01 -04:00 |
|