README.md
## First thing
> One thing that I have to mention is that this Gist is a personal test env. Some things can be configured in a way that you don't want it to be.
Add the host information in the host file to your system (or do some DNS config)
Go to http://grafana_http:3000/ and import the grafana_dgraph.json
You have HTTP and GRPC endpoints.
This file has been truncated. show original
dgraph_prometheus.yml
global:
scrape_interval: 2s
scrape_configs:
- job_name: "dgraph"
metrics_path: "/debug/prometheus_metrics"
scrape_interval: "2s"
static_configs:
- targets:
- zero1:6080
- zero2:6080
This file has been truncated. show original
docker-compose.yml
version: "3.5"
services:
nginx:
image: nginx:1.17.7
depends_on:
# Hostnames referenced in nginx.conf need to be available
# before Nginx starts
- zero1
- zero2
- zero3
This file has been truncated. show original
There are more than three files. show original