github.com/anycable/anycable-go@v1.5.1/etc/HowToDockerPrometheus.md (about)

     1  Run Prometheus with config from `etc` (assuming that you're in `anycable-go` source directory):
     2  
     3  ```
     4  docker run -p 9090:9090 -v $(pwd)/etc:/prometheus-data prom/prometheus --config.file=/prometheus-data/prometheus.yml
     5  ```
     6  
     7  Run Grafana:
     8  
     9  ```
    10  docker run --name=grafana -p 3100:3000 grafana/grafana
    11  ```
    12  
    13  And, finally, run `anycable-go` (locally):
    14  
    15  ```
    16  anycable-go --metrics_http="/metrics"
    17  ```