Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0x46616c6b/connectivity_exporter
Connectivity Metrics Exporter for Prometheus, written in Go.
https://github.com/0x46616c6b/connectivity_exporter
golang metrics prometheus prometheus-exporter
Last synced: 24 days ago
JSON representation
Connectivity Metrics Exporter for Prometheus, written in Go.
- Host: GitHub
- URL: https://github.com/0x46616c6b/connectivity_exporter
- Owner: 0x46616c6b
- License: gpl-3.0
- Created: 2016-10-08T19:14:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-27T09:51:18.000Z (about 8 years ago)
- Last Synced: 2024-06-20T17:32:57.690Z (5 months ago)
- Topics: golang, metrics, prometheus, prometheus-exporter
- Language: Go
- Homepage:
- Size: 800 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Connectivity Exporter
Connectivity Metrics Exporter for Prometheus, written in Go.
[![Build Status](https://travis-ci.org/0x46616c6b/connectivity_exporter.svg?branch=master)](https://travis-ci.org/0x46616c6b/connectivity_exporter) [![](https://images.microbadger.com/badges/version/0x46616c6b/connectivity_exporter.svg)](https://microbadger.com/images/0x46616c6b/connectivity_exporter "Get your own version badge on microbadger.com")
## 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