« lib/IO/K8s/PrometheusOperator/V1alpha1/ScrapeConfig.pm
↑ Summary
lib/IO/K8s/PrometheusOperator/V1alpha1/SecretOrConfigMap.pm »
| 1 | package IO::K8s::PrometheusOperator::V1alpha1::ScrapeConfigSpec; | ||
| 2 | # ABSTRACT: spec defines the specification of ScrapeConfigSpec. | ||
| 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::V1alpha1::SafeAuthorization'; | |
| 7 | 3 | k8s azureSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::AzureSDConfig']; | |
| 8 | 3 | k8s basicAuth => '+IO::K8s::PrometheusOperator::V1alpha1::BasicAuth'; | |
| 9 | 3 | k8s bodySizeLimit => Str, { pattern => qr/(^0|([0-9]*[.])?[0-9]+((K|M|G|T|E|P)i?)?B)$/ }; | |
| 10 | 3 | k8s consulSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::ConsulSDConfig']; | |
| 11 | 3 | k8s convertClassicHistogramsToNHCB => Bool; | |
| 12 | 3 | k8s digitalOceanSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::DigitalOceanSDConfig']; | |
| 13 | 3 | k8s dnsSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::DNSSDConfig']; | |
| 14 | 3 | k8s dockerSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::DockerSDConfig']; | |
| 15 | 3 | k8s dockerSwarmSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::DockerSwarmSDConfig']; | |
| 16 | 3 | k8s ec2SDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::EC2SDConfig']; | |
| 17 | 3 | k8s enableCompression => Bool; | |
| 18 | 3 | k8s enableHTTP2 => Bool; | |
| 19 | 3 | k8s eurekaSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::EurekaSDConfig']; | |
| 20 | 3 | k8s fallbackScrapeProtocol => Str, { enum => [qw(PrometheusProto OpenMetricsText0.0.1 OpenMetricsText1.0.0 PrometheusText0.0.4 PrometheusText1.0.0)] }; | |
| 21 | 3 | k8s fileSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::FileSDConfig']; | |
| 22 | 3 | k8s gceSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::GCESDConfig']; | |
| 23 | 3 | k8s hetznerSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::HetznerSDConfig']; | |
| 24 | 3 | k8s honorLabels => Bool; | |
| 25 | 3 | k8s honorTimestamps => Bool; | |
| 26 | 3 | k8s httpSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::HTTPSDConfig']; | |
| 27 | 3 | k8s ionosSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::IonosSDConfig']; | |
| 28 | 3 | k8s jobName => Str; | |
| 29 | 3 | k8s keepDroppedTargets => Int, { minimum => 0 }; | |
| 30 | 3 | k8s kubernetesSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::KubernetesSDConfig']; | |
| 31 | 3 | k8s kumaSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::KumaSDConfig']; | |
| 32 | 3 | k8s labelLimit => Int, { minimum => 0 }; | |
| 33 | 3 | k8s labelNameLengthLimit => Int, { minimum => 0 }; | |
| 34 | 3 | k8s labelValueLengthLimit => Int, { minimum => 0 }; | |
| 35 | 3 | k8s lightSailSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::LightSailSDConfig']; | |
| 36 | 3 | k8s linodeSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::LinodeSDConfig']; | |
| 37 | 3 | k8s metricRelabelings => ['+IO::K8s::PrometheusOperator::V1alpha1::RelabelConfig']; | |
| 38 | 3 | k8s metricsPath => Str; | |
| 39 | 3 | k8s nameEscapingScheme => Str, { enum => [qw(AllowUTF8 Underscores Dots Values)] }; | |
| 40 | 3 | k8s nameValidationScheme => Str, { enum => [qw(UTF8 Legacy)] }; | |
| 41 | 3 | k8s nativeHistogramBucketLimit => Int, { minimum => 0 }; | |
| 42 | 3 | k8s nativeHistogramMinBucketFactor => Quantity; | |
| 43 | 3 | k8s noProxy => Str; | |
| 44 | 3 | k8s nomadSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::NomadSDConfig']; | |
| 45 | 3 | k8s oauth2 => '+IO::K8s::PrometheusOperator::V1alpha1::OAuth2'; | |
| 46 | 3 | k8s openstackSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::OpenStackSDConfig']; | |
| 47 | 3 | k8s ovhcloudSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::OVHCloudSDConfig']; | |
| 48 | 3 | k8s params => HashRef[ArrayRef[Str]]; | |
| 49 | 3 | k8s proxyConnectHeader => HashRef[ArrayRef[InstanceOf['IO::K8s::Api::Core::V1::SecretKeySelector']]]; | |
| 50 | 3 | k8s proxyFromEnvironment => Bool; | |
| 51 | 3 | k8s proxyUrl => Str, { pattern => qr/^(http|https|socks5):\/\/.+$/ }; | |
| 52 | 3 | k8s puppetDBSDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::PuppetDBSDConfig']; | |
| 53 | 3 | k8s relabelings => ['+IO::K8s::PrometheusOperator::V1alpha1::RelabelConfig']; | |
| 54 | 3 | k8s sampleLimit => Int, { minimum => 0 }; | |
| 55 | 3 | k8s scalewaySDConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::ScalewaySDConfig']; | |
| 56 | 3 | k8s scheme => Str, { enum => [qw(http https HTTP HTTPS)] }; | |
| 57 | 3 | k8s scrapeClass => Str; | |
| 58 | 3 | k8s scrapeClassicHistograms => Bool; | |
| 59 | 3 | k8s scrapeInterval => 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)?)$/ }; | |
| 60 | 3 | k8s scrapeNativeHistograms => Bool; | |
| 61 | 3 | k8s scrapeProtocols => [Str], { enum => [qw(PrometheusProto OpenMetricsText0.0.1 OpenMetricsText1.0.0 PrometheusText0.0.4 PrometheusText1.0.0)] }; | |
| 62 | 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)?)$/ }; | |
| 63 | 3 | k8s staticConfigs => ['+IO::K8s::PrometheusOperator::V1alpha1::StaticConfig']; | |
| 64 | 3 | k8s targetLimit => Int, { minimum => 0 }; | |
| 65 | 3 | k8s tlsConfig => '+IO::K8s::PrometheusOperator::V1alpha1::SafeTLSConfig'; | |
| 66 | 3 | k8s trackTimestampsStaleness => Bool; | |
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | |||
| 119 | |||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | |||
| 127 | |||
| 128 | |||
| 129 | 3 | 1; | |
| 130 | |||
| 131 | __END__ | ||