latency_exporter

command module
v0.0.0-...-494be74 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

README

latency_exporter

Latency exporter can be used to collect url connection latency metric from the box it's running on.

Install

There are various ways of installing

Docker image

Docker image is available on dockerhub

docker run -p9101:9101 eyeker/latency_exporter --web.urls-list https://google.com,https://www.facebook.com
Compiling the binary

clone the repository and build manually:

$ mkdir -p $GOPATH/src/github.com/quiet-listener
$ cd $GOPATH/src/github.com/quiet-listener
$ git clone https://github.com/quiet-listener/latency_exporter.git
$ cd latency_exporter
$ go mod download && go mod verify
$ go build -ldflags="-w -s" -o $GOBIN/latency_exporter
$ $GOBIN/latency_exporter --web.urls-list <urlslist>
Arguments Available
Arguments Description Defaults Requirement
web.listen-port webserver listening Port 9101 Optional
web.telemetry-path path at which metrics will be exposed /metrics Optional
web.urls-list list of urls separated by delimiter Required
web.url-delimiter delimiter for web.urls-list , Optional

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