Servers Config
Configs: main | alerting | metrics | oauth | probes | rds | servers | surfacer | targets | tlsconfig | utils | validators
|
Language: |
cloudprober.servers.ServerDef #
type: (HTTP|UDP|GRPC|EXTERNAL): <enum> [http_server <cloudprober.servers.http.ServerConf> | udp_server <cloudprober.servers.udp.ServerConf> | grpc_server <cloudprober.servers.grpc.ServerConf> | external_server <cloudprober.servers.external.ServerConf>]: <oneof>
cloudprober.servers.external.ServerConf #
command: <string>
cloudprober.servers.grpc.ServerConf #
port: <int32> | default: 3142# Enables gRPC reflection for publicly visible services, allowing grpc_cli to # work. See https://grpc.io/grpc/core/md_doc_server_reflection_tutorial.html.enable_reflection: <bool> | default: false# If use_dedicated_server is set to true, then create a new gRPC server # to handle probes. Otherwise, attempt to reuse gRPC server from runconfig # if that was set.use_dedicated_server: <bool> | default: true
cloudprober.servers.http.ServerConf #
port: <int32> | default: 3141 protocol: (HTTP|HTTPS): <enum># Maximum duration for reading the entire request, including the body.read_timeout_ms: <int32> | default: 10000# Maximum duration before timing out writes of the response.write_timeout_ms: <int32> | default: 10000# Maximum amount of time to wait for the next request when keep-alives are # enabled.idle_timeout_ms: <int32> | default: 60000# Certificate file to use for HTTPS servers.tls_cert_file: <string># Private key file corresponding to the certificate above.tls_key_file: <string># Disable HTTP/2 for HTTPS servers.disable_http2: <bool># Pattern data handler returns pattern data at the url /data_<size_in_bytes>, # e.g. "/data_2048".pattern_data_handler: <cloudprober.servers.http.ServerConf.PatternDataHandler>
cloudprober.servers.http.ServerConf.PatternDataHandler #
# Response sizes to server, e.g. 1024.response_size: <int32># Pattern is repeated to build the response, with "response_size mod # pattern_size" filled by '0' bytes.pattern: <string> | default: cloudprober
cloudprober.servers.udp.ServerConf #
port: <int32> type: (ECHO|DISCARD): <enum>
cloudprober.servers.ServerDef #
type: (HTTP|UDP|GRPC|EXTERNAL): <enum> [http_server <cloudprober.servers.http.ServerConf> | udp_server <cloudprober.servers.udp.ServerConf> | grpc_server <cloudprober.servers.grpc.ServerConf> | external_server <cloudprober.servers.external.ServerConf>]: <oneof>
cloudprober.servers.external.ServerConf #
command: <string>
cloudprober.servers.grpc.ServerConf #
port: <int32> | default: 3142# Enables gRPC reflection for publicly visible services, allowing grpc_cli to # work. See https://grpc.io/grpc/core/md_doc_server_reflection_tutorial.html.enable_reflection: <bool> | default: false# If use_dedicated_server is set to true, then create a new gRPC server # to handle probes. Otherwise, attempt to reuse gRPC server from runconfig # if that was set.use_dedicated_server: <bool> | default: true
cloudprober.servers.http.ServerConf #
port: <int32> | default: 3141 protocol: (HTTP|HTTPS): <enum># Maximum duration for reading the entire request, including the body.read_timeout_ms: <int32> | default: 10000# Maximum duration before timing out writes of the response.write_timeout_ms: <int32> | default: 10000# Maximum amount of time to wait for the next request when keep-alives are # enabled.idle_timeout_ms: <int32> | default: 60000# Certificate file to use for HTTPS servers.tls_cert_file: <string># Private key file corresponding to the certificate above.tls_key_file: <string># Disable HTTP/2 for HTTPS servers.disable_http2: <bool># Pattern data handler returns pattern data at the url /data_<size_in_bytes>, # e.g. "/data_2048".pattern_data_handler: <cloudprober.servers.http.ServerConf.PatternDataHandler>
cloudprober.servers.http.ServerConf.PatternDataHandler #
# Response sizes to server, e.g. 1024.response_size: <int32># Pattern is repeated to build the response, with "response_size mod # pattern_size" filled by '0' bytes.pattern: <string> | default: cloudprober
cloudprober.servers.udp.ServerConf #
port: <int32> type: (ECHO|DISCARD): <enum>