Skip to content

Commit

Permalink
Update readme and docker image name
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Jun 2, 2024
1 parent 29f6f51 commit 4e8eff5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
go build -o swarm-batch-exporter

docker:
docker build . -t swarm-batch-exporter
docker build . -t blossomlabs/swarm-batch-prometheus
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,27 @@ make build
3. Scrape

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

### Docker

1a. Build

```
make docker
docker run --rm --network host swarm-batch-exporter
```

1b. Or pull

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

2. Run

```
docker run --rm --network host blossomlabs/swarm-batch-prometheus
```

## Metrics
Expand Down

0 comments on commit 4e8eff5

Please sign in to comment.