Skip to content

Commit

Permalink
prometheus cleanups (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredclausen authored Nov 15, 2024
2 parents c76fd5a + fa97c66 commit 414e1c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ The general principle behind the port numbering, is:
| `31004/tcp` | MLATHUB Beast protocol input |
| `31005/tcp` | MLATHUB Beast protocol output |
| `31006/tcp` | MLATHUB Beast-reduce protocol output |
| `9273/tcp` | Prometheus web interface with data from `readsb` |
| `9274/tcp` | Prometheus web interface with data from `Telegraf` |
| `9273/tcp` | Prometheus http endpoint with data from `telegraf` |
| `9274/tcp` | Prometheus http endpoint with data from `readsb` |
| `80/tcp` | Tar1090 (map) web interface |

Any of these ports can be made available to the host system by using the `ports:` directive in your `docker-compose.yml`. The container's web interface is rendered to port `80` in the container. This can be mapped to a port on the host using the docker-compose `ports` directive. In the example [`docker-compose.yml`](docker-compose.yml) file, the container's Tar1090 interface is mapped to `8080` on the host system, and ports `9273-9274` are exposed as-is:
Expand Down Expand Up @@ -907,7 +907,6 @@ In order for Telegraf to serve a [Prometheus](https://prometheus.io) endpoint, t
| Variable | Description |
| ------------------- | ------------------------------------------------------------------------ |
| `PROMETHEUS_ENABLE` | Set to `true` for a Prometheus endpoint on `http://0.0.0.0:9273/metrics` |
| `PROMETHEUSPORT` | TCP port for the Prometheus endpoint. Default value is `9273` |

### Output from Ultrafeeder to InfluxDBv2

Expand Down
25 changes: 0 additions & 25 deletions rootfs/etc/s6-overlay/startup.d/99-prometheus-conf

This file was deleted.

0 comments on commit 414e1c0

Please sign in to comment.