Skip to content

Commit

Permalink
docs: replace image references
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh committed Jun 27, 2024
1 parent 22601cc commit d3760f4
Showing 1 changed file with 4 additions and 31 deletions.
35 changes: 4 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Prometheus Exporter for [updown.io](https://updown.io)

[![build-containers](https://github.com/DazWilkin/updown-exporter/actions/workflows/build.yml/badge.svg)](https://github.com/DazWilkin/updown-exporter/actions/workflows/build.yml)
[![Go Reference](https://pkg.go.dev/badge/github.com/DazWilkin/updown-exporter.svg)](https://pkg.go.dev/github.com/DazWilkin/updown-exporter)
[![Go Report Card](https://goreportcard.com/badge/github.com/dazwilkin/updown-exporter)](https://goreportcard.com/report/github.com/dazwilkin/updown-exporter)

## Metrics

Metrics names are prefixed `updown_`.
Expand All @@ -16,7 +12,7 @@ Metrics names are prefixed `updown_`.

## Image

`ghcr.io/dazwilkin/updown-exporter:ba2bfa2242aea745c876ef36c6d38f75f1a94709`
`ghcr.io/kastelo/updown-exporter:latest`

## API Key

Expand All @@ -41,7 +37,7 @@ go run . \
```bash
API_KEY="[YOUR-API-KEY]"

IMAGE="ghcr.io/dazwilkin/updown-exporter:ba2bfa2242aea745c876ef36c6d38f75f1a94709"
IMAGE="ghcr.io/kastelo/updown-exporter:latest"

podman run \
--interactive --tty --rm \
Expand Down Expand Up @@ -75,7 +71,7 @@ scrape_configs:
```bash
API_KEY="[YOUR-API-KEY]"

IMAGE="ghcr.io/dazwilkin/updown-exporter:ba2bfa2242aea745c876ef36c6d38f75f1a94709"
IMAGE="ghcr.io/kastelo/updown-exporter:latest"

docker run \
--detach --tty --rm \
Expand Down Expand Up @@ -106,7 +102,7 @@ Then browse:
```bash
API_KEY="[YOUR-API-KEY]"

IMAGE="ghcr.io/dazwilkin/updown-exporter:ba2bfa2242aea745c876ef36c6d38f75f1a94709"
IMAGE="ghcr.io/kastelo/updown-exporter:latest"

POD="updown-exporter"

Expand Down Expand Up @@ -139,29 +135,6 @@ Then browse:
+ [Exporter](http://localhost:8080/metrics)
+ [Prometheus](http://localhost:9090/targets)

## Raspberry Pi

```bash
if [ "$(getconf LONG_BIT)" -eq 64 ]
then
# 64-bit Raspian
ARCH="GOARCH=arm64"
TAG="arm64"
else
# 32-bit Raspian
ARCH="GOARCH=arm GOARM=7"
TAG="arm32v7"
fi

podman build \
--build-arg=GOLANG_OPTIONS="CGO_ENABLED=0 GOOS=linux ${ARCH}" \
--build-arg=COMMIT=$(git rev-parse HEAD) \
--build-arg=VERSION=$(uname --kernel-release) \
--tag=ghcr.io/dazwilkin/updown-exporter:${TAG} \
--file=./Dockerfile \
.
```

<hr/>
<br/>
<a href="https://www.buymeacoffee.com/dazwilkin" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="41" width="174"></a>

0 comments on commit d3760f4

Please sign in to comment.