Skip to content
This repository was archived by the owner on Apr 30, 2019. It is now read-only.

A Prometheus exporter for monitoring performance of Looker dashboards

License

Notifications You must be signed in to change notification settings

nested-tech/legacy-looker-prometheus-exporter

Repository files navigation

Looker Prometheus Exporter 👀🏥✊🔥🚢

The Looker Prometheus Exporter fetches metrics on dashboard performance from Looker and exports them to Prometheus.

It's highly WIP!

## Usage

Currently, everything is set in env vars (an example .env is provided). The following (hopefully self-explanatory) variables are what you need:

LOOKER_CLIENT_ID
LOOKER_CLIENT_SECRET
LOOKER_DASHBOARD_ID
LOOKER_BASE_URL

N.B. The Looker API runs by default on port 1999 (as mentioned here). If you're getting 403s all over, maybe you need to try this port.

With those variables set, the exporter is simply run with:

python -m looker_prometheus_exporter

TODO

  • Switch to more common container registry (e.g. Docker Hub)
  • Add more accessible deploy script (pushes to above container registry, builds from standard Python image and start versioning)
  • Monitor multiple dashboards
  • Add comprehensive unit tests (for a start...)
  • Bagsy a default port

About

A Prometheus exporter for monitoring performance of Looker dashboards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published