Commit Graph

29 Commits (14e3c05ce80a9e73b8a50e80448274e1fd3ff0ae)

Author SHA1 Message Date
Marco Pracucci d4f098ae80
Fix relabel.Regexp zero value marshalling (#14517)
4 months ago
Björn Rabenstein cb7306155b
Merge pull request #14004 from liam-howe-maersk/implement-config-marshal
5 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
7 months ago
Bryan Boreham dc926527ae
Merge pull request #13669 from aiwhj/optimization
7 months ago
Arve Knudsen d699dc3c77
Fix language in docs and comments (#14041)
7 months ago
Liam Howe 35d897ced4 Add test case for default regex explicitly provided
7 months ago
Liam Howe 5d97f17ff1 Replace MarshalYAML() with IsZero() method for Regexp
7 months ago
Liam Howe 835dfa7eb6 Implement MarshalYAML for relabel.Config so that we do not generate a regex field if it was not provided in the first place
7 months ago
roger.wang 7e8f03663a Code optimization: The relabel operation is used very frequently, and strconv.FormatInt() with better performance should be used.
9 months ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places
10 months ago
Bryan Boreham 0289dd6157 relabel: blank replacement deletes label post-regexp
12 months ago
Bryan Boreham 000182e4b8 relabel: check validity of all test cases
12 months ago
Bryan Boreham 2d4c367d87 relabel: stricter check that target labels are valid
12 months ago
Bryan Boreham 9ab7e3b3de relabel: refactor: extract config.Validate method
12 months ago
Douglas Camata 47819fef01
Merge branch 'main' of github.com:prometheus/prometheus into document-and-test-relabel-memory-reuse
1 year ago
Bryan Boreham 7a48a266b6
labels: respect Set after Del in Builder (#12322)
2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Bryan Boreham 11d019ed5a relabel: keep intermediate results in labels.Builder
2 years ago
Renning Bruns 5ec1b4baaf
make hashmod a lot easier to read and a little faster (#11551)
2 years ago
Bryan Boreham fe9fe0e1e5 Update package model/relabel tests for new labels.Labels type
2 years ago
Bryan Boreham 8ad7b64c0f Update package model/relabel for new labels.Labels type
2 years ago
Julien Pivotto 005ede70de relabel: add keepequal/dropequal relabel action
2 years ago
Douglas Camata 28a66e183d Update relabel.Process comment
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
2 years ago
Matthieu MOREL c2b4de3611
refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10747)
2 years ago
Paschalis Tsilias 4f3791024a
Drop extra string held in relabel.Regexp struct (#10846)
2 years ago
Julien Pivotto 71dbb4d091
Add lowercase and uppercase relabel action (#10641)
3 years ago
Julien Pivotto 9a2e93228e
Switch to grafana/regexp everywhere (#10268)
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago