SandeepSamba / hasura-prometheus-integration-boilerplate

Boilerplate docker-compose and Prometheus configs to scrape data from Hasura Cloud/Pro Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hasura-prometheus-integration-boilerplate

Boilerplate docker-compose and Prometheus configs to scrape data from Hasura Cloud/Pro Project

Steps to run

  • Setup Prometheus Integration for your Project in Hasura cloud.
  • Add the project id and access key to the prometheus.yml file as username and password respectively.
  • Run docker-compose -f docker-compose.yml up -d to start Prometheus and Grafana.
  • Access Grafana dashboard at http://localhost:3000. Login username and password are admin and admin by default.
  • Add prometheus data source (The URL is http://prometheus:9090)
  • Import the Hasura Metrics Dashboard using the Hasura Metrics.json file.
  • As we make requests to the Hasura Project, the metrics get updated in the Dashboard.

About

Boilerplate docker-compose and Prometheus configs to scrape data from Hasura Cloud/Pro Project

License:MIT License