Skip to content

keyosk/alien-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alien-metrics

Running:

export ROUTER_PASSWORD='SEKRIT'
export ROUTER_HOST='amplifi.lan'
RUST_LOG=info cargo run

Testing

curl -s http://localhost:9898/metrics

Basic Grafana Dashboard

See the included grafana.json for an example dashboard

Optional: Running Prometheus

Example prometheus.yml

global:
  scrape_interval: 20s

scrape_configs:
  - job_name: 'prometheus'
    scrape_interval: 20s
    static_configs:
      - targets: ['host.docker.internal:9898']

Run Prometheus in Docker:

 docker run \
    -p 9090:9090 \
    -v $(pwd)/prometheus.yml:/etc/prometheus/prometheus.yml \
    prom/prometheus

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages