Commit Graph

24 Commits (52f68a96a45b1c60eda9986656f332472babd047)

Author SHA1 Message Date
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
6 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
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
11 months ago
Bryan Boreham 000182e4b8 relabel: check validity of all test cases
11 months ago
Bryan Boreham 2d4c367d87 relabel: stricter check that target labels are valid
11 months ago
Bryan Boreham 9ab7e3b3de relabel: refactor: extract config.Validate method
11 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