From ac2e9066882e6e8a8457d63614fb252cd704f2a1 Mon Sep 17 00:00:00 2001 From: Riordan Panayides Date: Mon, 29 May 2023 20:48:53 +0100 Subject: [PATCH] Enable fly metric polling --- cd/server.toml | 4 ++++ cd/worker.toml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/cd/server.toml b/cd/server.toml index 7b9acb4..966d00d 100644 --- a/cd/server.toml +++ b/cd/server.toml @@ -17,3 +17,7 @@ kill_timeout = 30 hard_limit = 1024 soft_limit = 1024 type = "connections" + +[metrics] + port = 9091 + path = "/metrics" diff --git a/cd/worker.toml b/cd/worker.toml index 8f6da45..258785b 100644 --- a/cd/worker.toml +++ b/cd/worker.toml @@ -7,3 +7,7 @@ kill_timeout = 30 [experimental] cmd = ["worker", "markets.json"] + +[metrics] + port = 9091 + path = "/metrics" \ No newline at end of file