Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Build Server Monitoring Dashboard #1192

Open
gdbelvin opened this issue Feb 7, 2019 · 3 comments
Open

Build Server Monitoring Dashboard #1192

gdbelvin opened this issue Feb 7, 2019 · 3 comments

Comments

@gdbelvin
Copy link
Contributor

gdbelvin commented Feb 7, 2019

The new metrics in #1185 should be exposed in a nice dashboard somewhere.

@DazWilkin
Copy link
Contributor

DazWilkin commented Feb 8, 2019

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.

@DazWilkin
Copy link
Contributor

DazWilkin commented Feb 10, 2019

image

Something like this?

  1. 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

Alternatively, run the Grafana image outside of the docker-compose services:

  1. Change the prometheus.yml to point to localhost:9090 instead of prometheus:9090
  2. 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

@gdbelvin
Copy link
Contributor Author

gdbelvin commented Feb 18, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants