blib/lib/IO/K8s/PrometheusOperator/V1/RelabelConfig.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/PrometheusOperator/V1/QueueConfig.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1/RemoteReadSpec.pm »
1 package IO::K8s::PrometheusOperator::V1::RelabelConfig;
2 # ABSTRACT: RelabelConfig allows dynamic rewriting of the label set for targets, alerts, scraped samples and remote write samples.
3 7 our $VERSION = '1.110';
4 7 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 7 k8s action => Str, { enum => [qw(replace Replace keep Keep drop Drop hashmod HashMod labelmap LabelMap labeldrop LabelDrop labelkeep LabelKeep lowercase Lowercase uppercase Uppercase keepequal KeepEqual dropequal DropEqual)], default => 'replace' };
7 7 k8s modulus => Int, { minimum => 0 };
8 7 k8s regex => Str;
9 7 k8s replacement => Str;
10 7 k8s separator => Str;
11 7 k8s sourceLabels => [Str];
12 7 k8s targetLabel => Str;
13  
14  
15  
16  
17  
18  
19  
20  
21 7 1;
22  
23 __END__
« blib/lib/IO/K8s/PrometheusOperator/V1/QueueConfig.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1/RemoteReadSpec.pm »