Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Jun 2, 2024
1 parent d354fe0 commit 7759829
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,25 @@ This is a simple [Prometheus](https://prometheus.io/) exporter to expose stamp b

## Usage

1. Compile

```
# Compile
make build
```
2. Run

```
# Run
./swarm-batch-exporter
```

3. Scrape

```
# Scrape
curl http://localhost:1640/metrics
```

### Docker

1a. Build

```
make docker
```

1b. Or pull
Docker image is available at [Docker Hub](https://hub.docker.com/r/blossomlabs/swarm-batch-prometheus)

```
docker pull blossomlabs/swarm-batch-prometheus
```

2. Run

```
docker run --rm --network host -e BEE_ENDPOINT=http://localhost:1633 blossomlabs/swarm-batch-prometheus
```

Expand Down

0 comments on commit 7759829

Please sign in to comment.