Rds Config (master)
Configs: main | alerting | metrics | oauth | probes | rds | servers | surfacer | targets | tlsconfig | utils | validators
|
Language: |
cloudprober.rds.ClientConf.ServerOptions #
server_address: <string># Optional oauth config for authentication.oauth_config: <cloudprober.oauth.Config># TLS config, it can be used to: # - Specify a CA cert for server cert verification: # tls_config { # ca_cert_file: "...." # } # # - Specify client's TLS cert and key: # tls_config { # tls_cert_file: "..." # tls_key_file: "..." # }tls_config: <cloudprober.tlsconfig.TLSConfig>
cloudprober.rds.Filter #
key: <string> value: <string>
cloudprober.rds.IPConfig #
# NIC indexnic_index: <int32> | default: 0 ip_type: (DEFAULT|PUBLIC|ALIAS): <enum> ip_version: (IP_VERSION_UNSPECIFIED|IPV4|IPV6): <enum>
cloudprober.rds.Provider #
# Provider identifier, e.g. "gcp". Server routes incoming requests to various # providers based on this id.id: <string> [file_config <cloudprober.rds.file.ProviderConfig> | gcp_config <cloudprober.rds.gcp.ProviderConfig> | kubernetes_config <cloudprober.rds.kubernetes.ProviderConfig>]: <oneof>
cloudprober.rds.ServerConf #
# List of providers that server supports.provider: <cloudprober.rds.Provider>
cloudprober.rds.file.FileResources #
# resource format is based on the cloudprober.targets.Endpoint protobuf. You # can specify endpoints in the following formats: TextPB, JSON, or YAML. # # Example in textproto format: # # resource { # name: "web-01" # url: "https://cloudprober.org" # } # resource { # name: "web-02" # ip: "10.1.2.3" # port: 8080 # }resource: <cloudprober.targets.Endpoint>
cloudprober.rds.file.ProviderConfig #
# File that contains resources in either textproto or json format. File can # be local, on GCS, on S3, or any HTTP(S) URL. # e.g.: # - /tmp/resources.textpb # - gs://my-bucket/resources.json # - s3://my-bucket/resources.json # - https://my-public-bucket.s3.amazonaws.com/resources.json # # Example in textproto format: # # resource { # name: "switch-xx-01" # ip: "10.11.112.3" # port: 8080 # labels { # key: "device_type" # value: "switch" # } # } # resource { # name: "switch-yy-01" # ip: "10.16.110.12" # port: 8080 # }file_path: <string> format: (UNSPECIFIED|TEXTPB|JSON|YAML): <enum># If specified, file will be re-read at the given interval.re_eval_sec: <int32># Whenever possible, we reload a file only if it has been modified since the # last load. If following option is set, mod time check is disabled. # Note that mod-time check doesn't work for GCS.disable_modified_time_check: <bool>
cloudprober.rds.gcp.ForwardingRules #
# Optionl region filter regex to limit discovery to specific regions, e.g. # "region_filter:europe-*"region_filter: <string># How often resources should be refreshed.re_eval_sec: <int32> | default: 300
cloudprober.rds.gcp.GCEInstances #
# Optional zone filter regex to limit discovery to the specific zones # For example, zone_filter: "us-east1-*" will limit instances discovery to # only to the zones in the "us-east1" region.zone_filter: <string># How often resources should be refreshed.re_eval_sec: <int32> | default: 300
cloudprober.rds.gcp.ProviderConfig #
# GCP projects. If running on GCE, it defaults to the local project.project: <string># GCE instances discovery options. This field should be declared for the GCE # instances discovery to be enabled.gce_instances: <cloudprober.rds.gcp.GCEInstances># Forwarding rules discovery options. This field should be declared for the # forwarding rules discovery to be enabled. # Note that RDS supports only regional forwarding rules.forwarding_rules: <cloudprober.rds.gcp.ForwardingRules># RTC variables discovery options.rtc_variables: <cloudprober.rds.gcp.RTCVariables># PubSub messages discovery options.pubsub_messages: <cloudprober.rds.gcp.PubSubMessages># Compute API version.api_version: <string> | default: v1# Compute API endpoint. Currently supported only for GCE instances and # forwarding rules.api_endpoint: <string> | default: https://www.googleapis.com/compute/
cloudprober.rds.gcp.PubSubMessages #
subscription: <cloudprober.rds.gcp.PubSubMessages.Subscription># Only for testing.api_endpoint: <string>
cloudprober.rds.gcp.PubSubMessages.Subscription #
# Subscription name. If it doesn't exist already, we try to create one.name: <string># Topic name. This is used to create the subscription if it doesn't exist # already.topic_name: <string># If subscription already exists, how far back to seek back on restart. # Note that duplicate data is fine as we filter by publish time.seek_back_duration_sec: <int32> | default: 3600
cloudprober.rds.gcp.RTCVariables #
rtc_config: <cloudprober.rds.gcp.RTCVariables.RTCConfig>
cloudprober.rds.gcp.RTCVariables.RTCConfig #
name: <string># How often RTC variables should be evaluated/expanded.re_eval_sec: <int32> | default: 10
cloudprober.rds.kubernetes.Endpoints #
cloudprober.rds.kubernetes.Ingresses #
cloudprober.rds.kubernetes.Pods #
cloudprober.rds.kubernetes.ProviderConfig #
# Namespace to list resources for. If not specified, we default to all # namespaces.namespace: <string># Pods discovery options. This field should be declared for the pods # discovery to be enabled.pods: <cloudprober.rds.kubernetes.Pods># Endpoints discovery options. This field should be declared for the # endpoints discovery to be enabled.endpoints: <cloudprober.rds.kubernetes.Endpoints># Services discovery options. This field should be declared for the # services discovery to be enabled.services: <cloudprober.rds.kubernetes.Services># Ingresses discovery options. This field should be declared for the # ingresses discovery to be enabled. # Note: Ingress support is experimental and may change in future.ingresses: <cloudprober.rds.kubernetes.Ingresses># Label selectors to filter resources. This is useful for large clusters. # label_selector: ["app=cloudprober", "env!=dev"]label_selector: <string># Kubernetes API server address. If not specified, we assume in-cluster mode # and get it from the local environment variables.api_server_address: <string># TLS config to authenticate communication with the API server.tls_config: <cloudprober.tlsconfig.TLSConfig># How often resources should be evaluated/expanded.re_eval_sec: <int32> | default: 60
cloudprober.rds.kubernetes.Services #
cloudprober.rds.ClientConf.ServerOptions #
server_address: <string># Optional oauth config for authentication.oauth_config: <cloudprober.oauth.Config># TLS config, it can be used to: # - Specify a CA cert for server cert verification: # tls_config { # ca_cert_file: "...." # } # # - Specify client's TLS cert and key: # tls_config { # tls_cert_file: "..." # tls_key_file: "..." # }tls_config: <cloudprober.tlsconfig.TLSConfig>
cloudprober.rds.Filter #
key: <string> value: <string>
cloudprober.rds.IPConfig #
# NIC indexnic_index: <int32> | default: 0 ip_type: (DEFAULT|PUBLIC|ALIAS): <enum> ip_version: (IP_VERSION_UNSPECIFIED|IPV4|IPV6): <enum>
cloudprober.rds.Provider #
# Provider identifier, e.g. "gcp". Server routes incoming requests to various # providers based on this id.id: <string> [file_config <cloudprober.rds.file.ProviderConfig> | gcp_config <cloudprober.rds.gcp.ProviderConfig> | kubernetes_config <cloudprober.rds.kubernetes.ProviderConfig>]: <oneof>
cloudprober.rds.ServerConf #
# List of providers that server supports.provider: <cloudprober.rds.Provider>
cloudprober.rds.file.FileResources #
# resource format is based on the cloudprober.targets.Endpoint protobuf. You # can specify endpoints in the following formats: TextPB, JSON, or YAML. # # Example in textproto format: # # resource { # name: "web-01" # url: "https://cloudprober.org" # } # resource { # name: "web-02" # ip: "10.1.2.3" # port: 8080 # }resource: <cloudprober.targets.Endpoint>
cloudprober.rds.file.ProviderConfig #
# File that contains resources in either textproto or json format. File can # be local, on GCS, on S3, or any HTTP(S) URL. # e.g.: # - /tmp/resources.textpb # - gs://my-bucket/resources.json # - s3://my-bucket/resources.json # - https://my-public-bucket.s3.amazonaws.com/resources.json # # Example in textproto format: # # resource { # name: "switch-xx-01" # ip: "10.11.112.3" # port: 8080 # labels { # key: "device_type" # value: "switch" # } # } # resource { # name: "switch-yy-01" # ip: "10.16.110.12" # port: 8080 # }file_path: <string> format: (UNSPECIFIED|TEXTPB|JSON|YAML): <enum># If specified, file will be re-read at the given interval.re_eval_sec: <int32># Whenever possible, we reload a file only if it has been modified since the # last load. If following option is set, mod time check is disabled. # Note that mod-time check doesn't work for GCS.disable_modified_time_check: <bool>
cloudprober.rds.gcp.ForwardingRules #
# Optionl region filter regex to limit discovery to specific regions, e.g. # "region_filter:europe-*"region_filter: <string># How often resources should be refreshed.re_eval_sec: <int32> | default: 300
cloudprober.rds.gcp.GCEInstances #
# Optional zone filter regex to limit discovery to the specific zones # For example, zone_filter: "us-east1-*" will limit instances discovery to # only to the zones in the "us-east1" region.zone_filter: <string># How often resources should be refreshed.re_eval_sec: <int32> | default: 300
cloudprober.rds.gcp.ProviderConfig #
# GCP projects. If running on GCE, it defaults to the local project.project: <string># GCE instances discovery options. This field should be declared for the GCE # instances discovery to be enabled.gce_instances: <cloudprober.rds.gcp.GCEInstances># Forwarding rules discovery options. This field should be declared for the # forwarding rules discovery to be enabled. # Note that RDS supports only regional forwarding rules.forwarding_rules: <cloudprober.rds.gcp.ForwardingRules># RTC variables discovery options.rtc_variables: <cloudprober.rds.gcp.RTCVariables># PubSub messages discovery options.pubsub_messages: <cloudprober.rds.gcp.PubSubMessages># Compute API version.api_version: <string> | default: v1# Compute API endpoint. Currently supported only for GCE instances and # forwarding rules.api_endpoint: <string> | default: https://www.googleapis.com/compute/
cloudprober.rds.gcp.PubSubMessages #
subscription: <cloudprober.rds.gcp.PubSubMessages.Subscription># Only for testing.api_endpoint: <string>
cloudprober.rds.gcp.PubSubMessages.Subscription #
# Subscription name. If it doesn't exist already, we try to create one.name: <string># Topic name. This is used to create the subscription if it doesn't exist # already.topic_name: <string># If subscription already exists, how far back to seek back on restart. # Note that duplicate data is fine as we filter by publish time.seek_back_duration_sec: <int32> | default: 3600
cloudprober.rds.gcp.RTCVariables #
rtc_config: <cloudprober.rds.gcp.RTCVariables.RTCConfig>
cloudprober.rds.gcp.RTCVariables.RTCConfig #
name: <string># How often RTC variables should be evaluated/expanded.re_eval_sec: <int32> | default: 10
cloudprober.rds.kubernetes.Endpoints #
cloudprober.rds.kubernetes.Ingresses #
cloudprober.rds.kubernetes.Pods #
cloudprober.rds.kubernetes.ProviderConfig #
# Namespace to list resources for. If not specified, we default to all # namespaces.namespace: <string># Pods discovery options. This field should be declared for the pods # discovery to be enabled.pods: <cloudprober.rds.kubernetes.Pods># Endpoints discovery options. This field should be declared for the # endpoints discovery to be enabled.endpoints: <cloudprober.rds.kubernetes.Endpoints># Services discovery options. This field should be declared for the # services discovery to be enabled.services: <cloudprober.rds.kubernetes.Services># Ingresses discovery options. This field should be declared for the # ingresses discovery to be enabled. # Note: Ingress support is experimental and may change in future.ingresses: <cloudprober.rds.kubernetes.Ingresses># Label selectors to filter resources. This is useful for large clusters. # label_selector: ["app=cloudprober", "env!=dev"]label_selector: <string># Kubernetes API server address. If not specified, we assume in-cluster mode # and get it from the local environment variables.api_server_address: <string># TLS config to authenticate communication with the API server.tls_config: <cloudprober.tlsconfig.TLSConfig># How often resources should be evaluated/expanded.re_eval_sec: <int32> | default: 60