https://github.com/gitpod-io/http-prober
https://github.com/gitpod-io/http-prober
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gitpod-io/http-prober
- Owner: gitpod-io
- License: apache-2.0
- Created: 2022-07-14T11:18:43.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-25T18:13:50.000Z (almost 4 years ago)
- Last Synced: 2025-12-25T17:09:34.824Z (6 months ago)
- Language: Go
- Size: 34.2 KB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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](https://github.com/prometheus/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 -m "Tag message"
```
Push the new tag with
```
git push origin
```
Github Actions will [generate binaries](.github/workflows/goreleaser.yml) and [docker images](.github/workflows/container.yml)