Repository navigation
Releases: butschster/prometheus-parser
Releases · butschster/prometheus-parser
Release list
1.4.1
What's Changed
- chore: add failing regression tests for bugs found in the 1.4.0 review by @butschster in #11
- chore: add failing regression tests for the second review round by @butschster in #12
New Contributors
- @butschster made their first contribution in #11
Full Changelog: 1.4.0...1.4.1
1.4.0
What's Changed
- Add real-life test data by @thomascorthals in #8
- Fix metrics names et al. getting confused with other tokens by @thomascorthals in #9
- Simplify MetricName handling with \b in token patterns by @thomascorthals in #10
- feat: OpenMetrics 2.0 support by @butschster with @Copilot in #6
New Contributors
- @butschster with @Copilot made their first contribution in #6
Full Changelog: 1.3.0...1.4.0
1.3.2
What's Changed
- Allow all punctuation in # HELP description by @thomascorthals in #7
Full Changelog: 1.2.0...1.3.2
1.3.1
What's Changed
- Allow all punctuation in # HELP description by @thomascorthals in #7
Full Changelog: 1.2.0...1.3.1
1.3.0
What's Changed
- Allow all punctuation in # HELP description by @thomascorthals in #7
Full Changelog: 1.2.0...1.3.0
1.2.0
What's Changed
- Improved OpenMetrics 2.0 compatibility by @thomascorthals in #5
Full Changelog: 1.1.0...1.2.0
1.1.0
What's Changed
- Support OpenMetrics 2.0 by @thomascorthals in #4
New Contributors
- @thomascorthals made their first contribution in #4
Full Changelog: 1.0.1...1.1.0
v1.0.1
Fixed all problems with parsing the schema below
# HELP http_requests_total The total number of HTTP requests.
# TYPE http_requests_total counter
http_requests_total{method="post",code="200"} 1027 1395066363000
http_requests_total{method="post",code="400"} 3 1395066363000
# Escaping in label values:
msdos_file_access_time_seconds{path="C:\\DIR\\FILE.TXT",error="Cannot find file:\n\"FILE.TXT\""} 1.458255915e9
# Minimalistic line:
metric_without_timestamp_and_labels 12.47
# A weird metric from before the epoch:
something_weird{problem="division by zero"} +Inf -3982045
# A histogram, which has a pretty complex representation in the text format:
# HELP http_request_duration_seconds A histogram of the request duration.
# TYPE http_request_duration_seconds histogram
http_request_duration_seconds_bucket{le="0.05"} 24054
http_request_duration_seconds_bucket{le="0.1"} 33444
http_request_duration_seconds_bucket{le="0.2"} 100392
http_request_duration_seconds_bucket{le="0.5"} 129389
http_request_duration_seconds_bucket{le="1"} 133988
http_request_duration_seconds_bucket{le="+Inf"} 144320
http_request_duration_seconds_sum 53423
http_request_duration_seconds_count 144320
# Finally a summary, which has a complex representation, too:
# HELP rpc_duration_seconds A summary of the RPC duration in seconds.
# TYPE rpc_duration_seconds summary
rpc_duration_seconds{quantile="0.01"} 3102
rpc_duration_seconds{quantile="0.05"} 3272
rpc_duration_seconds{quantile="0.5"} 4773
rpc_duration_seconds{quantile="0.9"} 9001
rpc_duration_seconds{quantile="0.99"} 76656
rpc_duration_seconds_sum 1.7560473e+07
rpc_duration_seconds_count 2693
Full Changelog: 1.0.0...1.0.1
v1.0.0
Full Changelog: https://github.com/butschster/prometheus-parser/commits/1.0.0