prometheus/model
Bartlomiej Plotka 00b69efabb
model/textparse: Change parser interface Metric(...) string to Labels(...) (#16012)
* model/textparse: Change parser interface Metric(...) string to Labels(...)

Simplified the interface given no one is using the return argument.
Renamed for clarity too.

Found and discussed https://github.com/prometheus/prometheus/pull/15731#discussion_r1950916842

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

* Fixed comments; optimized not needed copy for om and text.

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

---------

Signed-off-by: bwplotka <bwplotka@gmail.com>
2025-02-12 15:47:56 +00:00
..
exemplar update links to openmetrics to reference the v1.0.0 release 2024-12-13 21:32:27 +00:00
histogram fix TestCuttingNewHeadChunks/really_large_histograms on 32-bit 2024-12-16 10:45:01 -05:00
labels [ENHANCEMENT] TSDB: Improve calculation of space used by labels (#13880) 2024-12-16 09:42:52 +00:00
metadata Fix: metadata API using wrong field names (#13633) 2024-02-26 09:53:39 +00:00
relabel Addressed comments. 2025-01-27 09:54:13 +00:00
rulefmt Addressed comments. 2025-01-27 09:54:13 +00:00
textparse model/textparse: Change parser interface Metric(...) string to Labels(...) (#16012) 2025-02-12 15:47:56 +00:00
timestamp Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
value Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00