« lib/IO/K8s/PrometheusOperator/V1/ProbeParam.pm
↑ Summary
lib/IO/K8s/PrometheusOperator/V1/ProbeTargetIngress.pm »
| 1 | package IO::K8s::PrometheusOperator::V1::ProbeSpec; | ||
| 2 | # ABSTRACT: spec defines the specification of desired Ingress selection for target discovery by Prometheus. | ||
| 3 | 3 | our $VERSION = '1.112'; | |
| 4 | 3 | ▶ | use IO::K8s::Resource; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | k8s authorization => '+IO::K8s::PrometheusOperator::V1::SafeAuthorization'; | |
| 7 | 3 | k8s basicAuth => '+IO::K8s::PrometheusOperator::V1::BasicAuth'; | |
| 8 | 3 | k8s bearerTokenSecret => 'Core::V1::ConfigMapKeySelector'; | |
| 9 | 3 | k8s convertClassicHistogramsToNHCB => Bool; | |
| 10 | 3 | k8s enableHttp2 => Bool; | |
| 11 | 3 | k8s fallbackScrapeProtocol => Str, { enum => [qw(PrometheusProto OpenMetricsText0.0.1 OpenMetricsText1.0.0 PrometheusText0.0.4 PrometheusText1.0.0)] }; | |
| 12 | 3 | k8s followRedirects => Bool; | |
| 13 | 3 | k8s interval => Str, { pattern => qr/^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ }; | |
| 14 | 3 | k8s jobName => Str; | |
| 15 | 3 | k8s keepDroppedTargets => Int, { minimum => 0 }; | |
| 16 | 3 | k8s labelLimit => Int, { minimum => 0 }; | |
| 17 | 3 | k8s labelNameLengthLimit => Int, { minimum => 0 }; | |
| 18 | 3 | k8s labelValueLengthLimit => Int, { minimum => 0 }; | |
| 19 | 3 | k8s metricRelabelings => ['+IO::K8s::PrometheusOperator::V1::RelabelConfig']; | |
| 20 | 3 | k8s module => Str; | |
| 21 | 3 | k8s nativeHistogramBucketLimit => Int, { minimum => 0 }; | |
| 22 | 3 | k8s nativeHistogramMinBucketFactor => Quantity; | |
| 23 | 3 | k8s oauth2 => '+IO::K8s::PrometheusOperator::V1::OAuth2'; | |
| 24 | 3 | k8s params => ['+IO::K8s::PrometheusOperator::V1::ProbeParam']; | |
| 25 | 3 | k8s prober => '+IO::K8s::PrometheusOperator::V1::ProberSpec'; | |
| 26 | 3 | k8s sampleLimit => Int, { minimum => 0 }; | |
| 27 | 3 | k8s scrapeClass => Str; | |
| 28 | 3 | k8s scrapeClassicHistograms => Bool; | |
| 29 | 3 | k8s scrapeNativeHistograms => Bool; | |
| 30 | 3 | k8s scrapeProtocols => [Str], { enum => [qw(PrometheusProto OpenMetricsText0.0.1 OpenMetricsText1.0.0 PrometheusText0.0.4 PrometheusText1.0.0)] }; | |
| 31 | 3 | k8s scrapeTimeout => Str, { pattern => qr/^(0|(([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?)$/ }; | |
| 32 | 3 | k8s targetLimit => Int, { minimum => 0 }; | |
| 33 | 3 | k8s targets => '+IO::K8s::PrometheusOperator::V1::ProbeTargets'; | |
| 34 | 3 | k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1::SafeTLSConfig'; | |
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | |||
| 39 | |||
| 40 | |||
| 41 | |||
| 42 | |||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | |||
| 47 | |||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | 3 | 1; | |
| 66 | |||
| 67 | __END__ | ||