16 Commits (3a82cd5a7ed4c5e9b530fafcb779c2e9c81e2aab)

Author SHA1 Message Date
Marco Pracucci d4f098ae80
Fix relabel.Regexp zero value marshalling (#14517) 4 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code 6 months ago
Liam Howe 35d897ced4 Add test case for default regex explicitly provided 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
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 9ab7e3b3de relabel: refactor: extract config.Validate method 11 months ago
Bryan Boreham e278195e39
Cherry-pick bugfix #12322 and create v2.43.1 (#12324) 2 years ago
Bryan Boreham 7a48a266b6
labels: respect Set after Del in Builder (#12322) 2 years ago
Bryan Boreham fe9fe0e1e5 Update package model/relabel tests for new labels.Labels type 2 years ago
Julien Pivotto 005ede70de relabel: add keepequal/dropequal relabel action 2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147) 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
beorn7 c954cd9d1d Move packages out of deprecated pkg directory 3 years ago
Julien Pivotto 22cfa10685 Add hashmod relabeling test with hasmod and a newline 4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110) 4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 4 years ago
Bartek Płotka 62c8337e77 Moved configuration into `relabel` package. (#4955) 6 years ago
Elif T. Kuş 57dcdfb15f Rewrote tests with testutil for several test files (#4086) 7 years ago
Fabian Reinartz 86cb0f30fd pkg/relabel: add relabel pkg using new labels 8 years ago
Tristan Colgate-McFarlane 4d9134e6d8 Add labeldrop and labelkeep actions. (#2279) 8 years ago
Matti Savolainen 5a1e909b5d Make TargetLabel in RelabelConfig a string 8 years ago
Matti Savolainen bdaf0ec6a2 simplify regex 8 years ago
Matti Savolainen 23be3dab53 test label name validation 8 years ago
Matti Savolainen 56e8e7cac3 Allow target_label to be expanded in replace label 8 years ago
Frederic Branczyk 7714b9c781 move relabeling functionality to its own package 8 years ago
Matt Bostock 329a00e44f Relabel: Document whole label set is dropped 9 years ago
Julius Volz f63a899744 Change config regexes to full-string matches. 9 years ago
Fabian Reinartz d6d88f8950 Add missing license headers 9 years ago
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model 9 years ago
Brian Brazil e1d5eb52f2 retrieval: Don't include unmatched source of regex in replacement. 9 years ago
Brian Brazil 4e70a0a14e Retrieval: Add relabel action to map label names with a regex. 9 years ago
Miek Gieben caaa3de4ff Make HashMod use MD5 instead of FNV 9 years ago
Brian Brazil 682f949ab1 Add 'hashmod' relabel action. 10 years ago
Fabian Reinartz 0af1cff8af config: simplify default config handling. 10 years ago
Fabian Reinartz 5fbde88919 Switch config to YAML format. 10 years ago
Fabian Reinartz 945c49a2dd Add relabelling to target management. 10 years ago