keytransparency
keytransparency copied to clipboard
Build Server Monitoring Dashboard
The new metrics in #1185 should be exposed in a nice dashboard somewhere.
I'd like to give this a whirl this weekend if we don't lose power :-(
Propose using Grafana to visualize the metrics available through the Prometheus-compliant exporter(s). Is that what's expected?
I'm not an expert in Grafana nor PromQL but this would provide a good opportunity to learn.

Something like this?
-
Revise
docker-compose.ymlto include Grafana: https://gist.github.com/DazWilkin/4db7fd5de71ae029afdacd57d1189a97#file-docker-compose-yml -
Create
./deploy/grafana/datasources/prometheus.yml: https://gist.github.com/DazWilkin/4db7fd5de71ae029afdacd57d1189a97#file-prometheus-yml -
Import (!?) the dashboard: https://gist.github.com/DazWilkin/4db7fd5de71ae029afdacd57d1189a97#file-keytransparency-json
Alternatively, run the Grafana image outside of the docker-compose services:
- Change the
prometheus.ymlto point tolocalhost:9090instead ofprometheus:9090 - Run the Grafana image from the keytransparency directory:
docker run \
--interactive \
--tty \
--net=host \
--env=GF_SECURITY_ADMIN_PASSWORD=secret \
--volume=$PWD/deploy/grafana/datasources:/etc/grafana/provisioning/datasources \
grafana/grafana
That looks beautiful!
On Sun, Feb 10, 2019 at 8:37 PM Daz Wilkin [email protected] wrote:
[image: image] https://user-images.githubusercontent.com/1022400/52539145-a6672080-2d2f-11e9-96c8-134e089c04b4.png
Something like this?
Revise docker-compose.yml to include Grafana:
https://gist.github.com/DazWilkin/4db7fd5de71ae029afdacd57d1189a97#file-docker-compose-yml 2.
Create ./deploy/grafana/datasources/prometheus.yml:
https://gist.github.com/DazWilkin/4db7fd5de71ae029afdacd57d1189a97#file-prometheus-yml 3.
Import (!?) the dashboard:
https://gist.github.com/DazWilkin/4db7fd5de71ae029afdacd57d1189a97#file-keytransparency-json
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/google/keytransparency/issues/1192#issuecomment-462169768, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMHTkl2AwLz6Rd93vMCMAJfBRrNZAkuks5vMIL0gaJpZM4anZ7Y .