Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.05 KB

README.md

File metadata and controls

23 lines (15 loc) · 1.05 KB

grafana-docs-exporter

A Prometheus exporter for monitoring & analyzing Grafana Labs' technical documentation.

Here is the public endpoint.

And here is the public dashboard

grafana-docs-exporter dashboard

This exporter uses git to pull the newest versions of Grafana's docs from the official repo. It then programmatically builds all the URLs to scrape those pages, just like Hugo does when it builds the actual docs website. These URLs are then scraped, parsed, analyzed, and exposed in Prometheus format.

To add these metrics to your own Prometheus instance, just add this job to your prometheus.yml:

  - job_name: 'grafana_docs'
    scheme: https
    metrics_path: '/'
    static_configs:
    - targets: ['readability.zuchka.dev']
  • note: this app uses a forked version of py-readability-metrics. That library will not analyze strings with less than 100 words.