github.com/google/cloudprober@v0.11.3/examples/surfacers/default_surfacers.cfg (about) 1 # This config file doesn't specify any surfacers. In this case, following two 2 # surfacers are added automatically: 3 # 4 # surfacer { 5 # type: FILE 6 # } 7 # 8 # sufacer { 9 # type: PROMETHEUS 10 # } 11 # 12 # Note: If any surfacer is configured explicitly, default surfacers will not be 13 # added automatically. 14 # 15 # File surfacer writes metrics to stdout (you can specify a file as well) in 16 # the following format: 17 # https://github.com/google/cloudprober/blob/ffb22ec61142a65180c42dce9b78c635e596e73f/metrics/eventmetrics.go#L192 18 # 19 # Prometheus surfacer exports metrics in prometheus-compatible format at the 20 # URL: http://<cloudprober-host>:<cloudprober-port|default:9313>/metrics 21 # 22 probe { 23 name: "http_google" 24 type: HTTP 25 targets { 26 host_names: "www.google.com" 27 } 28 interval_msec: 10000 # Probe every 10s 29 timeout_msec: 1000 30 }