23 Commits (df750ef17018dd3f197f9726920ba67328055335)

Author SHA1 Message Date
Marco Pracucci d4f098ae80
Fix relabel.Regexp zero value marshalling (#14517) 4 months ago
Arve Knudsen d699dc3c77
Fix language in docs and comments (#14041) 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 0289dd6157 relabel: blank replacement deletes label post-regexp 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
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 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
DrAuYueng e8be1d0a5c
Check relabel action at yaml unmarshal stage (#9224) 3 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388) 6 years ago
Bartek Płotka 62c8337e77 Moved configuration into `relabel` package. (#4955) 6 years ago
Krasi Georgiev b75428ec19 rename package retrieve to scrape 7 years ago
Fabian Reinartz 86cb0f30fd pkg/relabel: add relabel pkg using new labels 8 years ago
Brian Brazil 6c07453ec1 Only clone the metric in the one place relabelling needs it. (#2292) 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 8f77d271b1 validate the label name 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
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 5fbde88919 Switch config to YAML format. 10 years ago
Fabian Reinartz 945c49a2dd Add relabelling to target management. 10 years ago