https://github.com/neotoxic-off/foggler
đ¸ī¸ Foggler keeps a constant watch on Gamelift AWS server connections, peeking through the fog
https://github.com/neotoxic-off/foggler
aws gamelift monitoring servers
Last synced: 4 months ago
JSON representation
đ¸ī¸ Foggler keeps a constant watch on Gamelift AWS server connections, peeking through the fog
- Host: GitHub
- URL: https://github.com/neotoxic-off/foggler
- Owner: Neotoxic-off
- License: mit
- Created: 2025-04-20T22:33:17.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-05-22T07:25:48.000Z (about 1 year ago)
- Last Synced: 2025-05-22T08:44:50.255Z (about 1 year ago)
- Topics: aws, gamelift, monitoring, servers
- Language: Rust
- Homepage:
- Size: 17.3 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
đ¸ī¸ Foggler

Foggler keeps a constant watch on Gamelift AWS server connections, peeking through the fog
---
## âšī¸ About
- This project is intended to be deployed on a server for monitoring via **Loki & Grafana**.
- Running it as a binary on your personal device might be overkill. Check the arguments first.
- Foggler fetches the servers one by one trying to reach them to determinate the latency
---
## Showcase

---
## đŗ Container
### Requirements
- Docker
### Stack
- Grafana
- Loki
- Promtail
- Foggler
### Environment Variables
```ini
GRAFANA_USERNAME=admin
GRAFANA_PASSWORD=i_am_not_stupid_to_set_admin_as_password
PORT=443
TIMEOUT=3
WAIT=600
```
### Auto Deploy
[deploy.sh](./deploy.sh)
```sh
chmod +x deploy.sh
./deploy.sh
```
### Manual Deploy
```sh
sudo chmod 777 grafana
docker compose up --build
```
---
## đ Grafana
### Loki Query
```sh
avg_over_time(
{job="foggler"}
|~ "*"
| json
| unwrap fields_ping
[${__interval}]
) by (fields_server)
```
| | |
|:-------------------------:|:-------------------------:|
|
|
|
---
### Output
```log
2025-04-23T10:11:00.196815850+00:00 INFO foggler::core: server="AP East 1" ping="236ms"
2025-04-23T10:11:00.196931278+00:00 INFO foggler::core: server="AP South 1" ping="121ms"
...
2025-04-23T10:11:00.197740966+00:00 INFO foggler::core: server="US West 2" ping="185ms"
```
---
## đ ī¸ Rebuild
```sh
git clone git@github.com:Neotoxic-off/Foggler.git
cd Flogger/flogger
cargo build
```
---
## đ Servers
[servers.toml](./servers.toml)