Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 1000 Bytes

File metadata and controls

11 lines (10 loc) · 1000 Bytes

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.