connectivity_exporter

command module
v0.0.0-...-e41327b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2016 License: GPL-3.0 Imports: 7 Imported by: 0

README

Connectivity Exporter

Connectivity Metrics Exporter for Prometheus, written in Go.

Build Status

Run

docker run -d -p 9449:9449 0x46616c6b/connectivity_exporter:latest

Configuration

-http.hosts string
    Comma seperated list with hosts to check (default "google.com,facebook.com,github.com")
-http.timeout string
    Timeout for the HTTP Checks (default "5s")
-log.format value
    Set the log target and format. Example: "logger:syslog?appname=bob&local=7" or "logger:stdout?json=true" (default "logger:stderr")
-log.level value
    Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal] (default "info")
-web.listen-address string
    Address to listen on for web interface and telemetry. (default ":9449")
-web.telemetry-path string
    Path under which to expose metrics. (default "/metrics")

Metrics

# Duration of the http request
connectivity_http_request_time_ns
# Boolean value with 1 if the http request was successful
connectivity_http_request_successful
# Duration of the dns request
connectivity_dns_request_time_ns
# Boolean value with 1 if the dns request was successful
connectivity_dns_request_successful

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL