prometheus/scrape
Marc Tudurí f7df3b86ba
histograms: parse float histograms from proto definition (#11149)
* histograms: parse float histograms from proto definition

Signed-off-by: Marc Tuduri <marctc@protonmail.com>

* Improve comment

Signed-off-by: Marc Tuduri <marctc@protonmail.com>

* Ignore float buckets

Signed-off-by: Marc Tuduri <marctc@protonmail.com>

* Refactor Histogram() function

Signed-off-by: Marc Tuduri <marctc@protonmail.com>

* Fix test_float_histogram

Signed-off-by: Marc Tuduri <marctc@protonmail.com>

* Update model/textparse/protobufparse.go

Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
Signed-off-by: Marc Tudurí <marctc@protonmail.com>

* Update protobufparse.go

Signed-off-by: Marc Tudurí <marctc@protonmail.com>

* Update scrape.go

Signed-off-by: Marc Tudurí <marctc@protonmail.com>

* Update scrape/scrape.go

Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
Signed-off-by: Marc Tudurí <marctc@protonmail.com>

Signed-off-by: Marc Tuduri <marctc@protonmail.com>
Signed-off-by: Marc Tudurí <marctc@protonmail.com>
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
2022-08-25 20:37:41 +05:30
..
testdata Re-generate test cert to fix test_windows test failures 2022-03-17 19:37:18 +01:00
helpers_test.go Merge branch 'main' into sparsehistogram 2022-08-10 17:54:37 +02:00
manager.go `no-default-scrape-port` feature flag (#9523) 2022-07-20 13:35:47 +02:00
manager_test.go `no-default-scrape-port` feature flag (#9523) 2022-07-20 13:35:47 +02:00
scrape.go histograms: parse float histograms from proto definition (#11149) 2022-08-25 20:37:41 +05:30
scrape_test.go Merge branch 'main' into sparsehistogram 2022-08-10 17:54:37 +02:00
target.go `no-default-scrape-port` feature flag (#9523) 2022-07-20 13:35:47 +02:00
target_test.go `no-default-scrape-port` feature flag (#9523) 2022-07-20 13:35:47 +02:00