http-prober

command module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

README

http-prober

A super minimal server that runs HTTP requests against https://google.com and exposes results and duration as Prometheus metrics.

It differs from blackbox-exporter because it is a stateful application. It will increase the same counters and histograms, instead of reseting on every scrape.

Development

Build and run the binary locally with:

make build
./http-prober

Or as a docker image:

make docker-build
docker run -p 8080:8080 ghcr.io/gitpod-io/http-prober:main

Releasing

Create a new tag with

git tag -a <tag number> -m "Tag message"

Push the new tag with

git push origin <tag number>

Github Actions will generate binaries and docker images

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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