Usage of /usr/bin/cloudprober:
-buildinfo
Print build info and exit
-cloud_metadata string
Collect cloud metadata for [auto|gce|ec2|none] (default "auto")
-config_file string
Config file
-configtest
Dry run to test config file
-cpuprof string
Write cpu profile to file
-debug_log
Whether to output debug logs or not. Deprecated: use --min_log_level=DEBUG instead.
-debug_logname_regex string
Enable debug logs for only for log names that match this regex (e.g. --debug_logname_regex=.*probe1.*
-disable_cloud_logging
Disable cloud logging.
-disable_sys_metrics
Disable system metrics probe
-dumpconfig
Dump processed config to stdout
-dumpconfig_fmt string
Dump config format (textpb, json, yaml) (default "textpb")
-gcp_logging_endpoint string
GCP logging endpoint
-log_store_max_mem_mb int
Max memory in MB for in-memory log store. 0 to disable. (default 50)
-log_store_min_level string
Minimum log level for stored logs. Valid values: DEBUG, INFO, WARNING, ERROR (default "INFO")
-logfmt string
Log format. Valid values: text, json (default "text")
-logtostderr
(deprecated) this option doesn't do anything anymore. All logs to stderr by default. (default true)
-memprof string
Write heap profile to file
-min_log_level string
Minimum log level to log. Valid values: DEBUG, INFO, WARNING, ERROR, CRITICAL (default "INFO")
-probes_config_save_path string
Path to save the config to on API triggered config changes. If empty, config saving is disabled.
-prometheus_include_timestamp
Include timestamp in metrics
-prometheus_metrics_prefix string
Metrics prefix
-run_once
Run a single probe and exit
-run_once_output_format string
Run once output format (text, json) (default "text")
-run_once_output_indent string
Run once output indent (default " ")
-run_once_probe_names string
Comma-separated list of probe names to run
-stop_time duration
How long to wait for cleanup before process exits on SIGINT and SIGTERM
-surfacers_config_file string
Surfacers config file
-test_instance_name string
Instance name example to be used in tests (default "ig-us-central1-a-01-0000")
-version
Print version and exit
Options (29)
| Option | Description | Source |
|---|---|---|
-buildinfo | Print build info and exit | help |
-cloud_metadata string | Collect cloud metadata for [auto|gce|ec2|none] (default "auto") | help |
-config_file string | Config file | help |
-configtest | Dry run to test config file | help |
-cpuprof string | Write cpu profile to file | help |
-debug_log | Whether to output debug logs or not. | help |
-debug_logname_regex string | Enable debug logs for only for log names that match this regex (e.g. --debug_logname_regex=.*probe1.* | help |
-disable_cloud_logging | Disable cloud logging. | help |
-disable_sys_metrics | Disable system metrics probe | help |
-dumpconfig | Dump processed config to stdout | help |
-dumpconfig_fmt string | Dump config format (textpb, json, yaml) (default "textpb") | help |
-gcp_logging_endpoint string | GCP logging endpoint | help |
-log_store_max_mem_mb int | Max memory in MB for in-memory log store. | help |
-log_store_min_level string | Minimum log level for stored logs. | help |
-logfmt string | Log format. | help |
-logtostderr | (deprecated) this option doesn't do anything anymore. | help |
-memprof string | Write heap profile to file | help |
-min_log_level string | Minimum log level to log. | help |
-probes_config_save_path string | Path to save the config to on API triggered config changes. | help |
-prometheus_include_timestamp | Include timestamp in metrics | help |
-prometheus_metrics_prefix string | Metrics prefix | help |
-run_once | Run a single probe and exit | help |
-run_once_output_format string | Run once output format (text, json) (default "text") | help |
-run_once_output_indent string | Run once output indent (default " ") | help |
-run_once_probe_names string | Comma-separated list of probe names to run | help |
-stop_time duration | How long to wait for cleanup before process exits on SIGINT and SIGTERM | help |
-surfacers_config_file string | Surfacers config file | help |
-test_instance_name string | Instance name example to be used in tests (default "ig-us-central1-a-01-0000") | help |
-version | Print version and exit | help |