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

filter: Statementstmt 100% 27 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/IO/K8s/PrometheusOperator/V1/PodMonitor.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1/Probe.pm »
1 package IO::K8s::PrometheusOperator::V1::PodMonitorSpec;
2 # ABSTRACT: spec defines the specification of desired Pod selection for target discovery by Prometheus.
3 8 our $VERSION = '1.110';
4 8 ▶use IO::K8s::Resource;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 8 k8s attachMetadata => '+IO::K8s::PrometheusOperator::V1::AttachMetadata';
7 8 k8s bodySizeLimit => Str, { pattern => qr/(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$/ };
8 8 k8s convertClassicHistogramsToNHCB => Bool;
9 8 k8s fallbackScrapeProtocol => Str, { enum => [qw(PrometheusProto OpenMetricsText0.0.1 OpenMetricsText1.0.0 PrometheusText0.0.4 PrometheusText1.0.0)] };
10 8 k8s jobLabel => Str;
11 8 k8s keepDroppedTargets => Int, { minimum => 0 };
12 8 k8s labelLimit => Int, { minimum => 0 };
13 8 k8s labelNameLengthLimit => Int, { minimum => 0 };
14 8 k8s labelValueLengthLimit => Int, { minimum => 0 };
15 8 k8s namespaceSelector => '+IO::K8s::PrometheusOperator::V1::NamespaceSelector';
16 8 k8s nativeHistogramBucketLimit => Int, { minimum => 0 };
17 8 k8s nativeHistogramMinBucketFactor => Quantity;
18 8 k8s podMetricsEndpoints => ['+IO::K8s::PrometheusOperator::V1::PodMetricsEndpoint'];
19 8 k8s podTargetLabels => [Str];
20 8 k8s sampleLimit => Int, { minimum => 0 };
21 8 k8s scrapeClass => Str;
22 8 k8s scrapeClassicHistograms => Bool;
23 8 k8s scrapeNativeHistograms => Bool;
24 8 k8s scrapeProtocols => [Str], { enum => [qw(PrometheusProto OpenMetricsText0.0.1 OpenMetricsText1.0.0 PrometheusText0.0.4 PrometheusText1.0.0)] };
25 8 k8s selector => 'Meta::V1::LabelSelector', { required => 'schema' };
26 8 k8s selectorMechanism => Str, { enum => [qw(RelabelConfig RoleSelector)] };
27 8 k8s targetLimit => Int, { minimum => 0 };
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
50  
51 8 1;
52  
53 __END__
« blib/lib/IO/K8s/PrometheusOperator/V1/PodMonitor.pm ↑ Summary blib/lib/IO/K8s/PrometheusOperator/V1/Probe.pm »