prometheus/model/textparse
Bartlomiej Plotka 7427753922
scrape: Add realistic data case for scrape loop append bench. (#15966)
* scrape: Add realistic data case for scrape loop append bench.

Signed-off-by: bwplotka <bwplotka@gmail.com>

* Update scrape/scrape_test.go

Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

---------

Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
2025-02-03 14:46:39 +00:00
..
testdata Remove omcounterdata.txt as redundant 2024-10-21 13:45:33 +02:00
benchmark_test.go scrape: Add realistic data case for scrape loop append bench. (#15966) 2025-02-03 14:46:39 +00:00
interface.go Merge pull request #15164 from machine424/quantile 2024-10-19 21:13:03 +02:00
interface_test.go feat(nhcb): implement created timestamp handling (#15198) 2024-10-24 07:38:58 +02:00
nhcbparse.go perf(nhcbparse): unroll recursion (#15776) 2025-01-02 15:51:52 +01:00
nhcbparse_test.go perf(nhcb): optimize away most allocations in convertnhcb 2024-10-28 08:34:54 +01:00
openmetricslex.l bugfix: allow quoted exemplar keys in openmetrics text format 2024-11-12 15:29:44 +00:00
openmetricslex.l.go bugfix: allow quoted exemplar keys in openmetrics text format 2024-11-12 15:29:44 +00:00
openmetricsparse.go update links to openmetrics to reference the v1.0.0 release 2024-12-13 21:32:27 +00:00
openmetricsparse_test.go bugfix: allow quoted exemplar keys in openmetrics text format 2024-11-12 15:29:44 +00:00
promlex.l UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
promlex.l.go UTF-8: Add support for parsing UTF8 metric and label names 2024-02-15 14:34:37 -05:00
promparse.go enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00
promparse_test.go feat: normalize "le" and "quantile" labels values upon ingestion 2024-10-18 17:37:29 +02:00
protobufparse.go feat: ProtobufParse.formatOpenMetricsFloat: improve float formatting by using strconv.AppendFloat instead of fmt.Sprint 2024-10-18 15:19:55 +02:00
protobufparse_test.go feat: ProtobufParse.formatOpenMetricsFloat: improve float formatting by using strconv.AppendFloat instead of fmt.Sprint 2024-10-18 15:19:55 +02:00
README.md

Making changes to textparse lexers

In the rare case that you need to update the textparse lexers, edit promlex.l or openmetricslex.l and then run the following command: golex -o=promlex.l.go promlex.l

Note that you need golex installed: go get -u modernc.org/golex