global: scrape_interval: 15s scrape_timeout: 5s evaluation_interval: 30s external_labels: deployment: dchain-single scrape_configs: - job_name: dchain-node metrics_path: /metrics # When --api-private is set, the node will reject the scrape. # Uncomment the bearer_token line below and set it to the same # value as DCHAIN_API_TOKEN in node.env. # authorization: # type: Bearer # credentials: SAME_AS_DCHAIN_API_TOKEN static_configs: - targets: [node:8080]