From bd13f3d1fd067854786bd6463d011a85c3816128 Mon Sep 17 00:00:00 2001 From: Ben Gridley Date: Fri, 18 Oct 2024 12:52:48 -0600 Subject: [PATCH] Fix metrics default port for prometheus --- .github/workflows/ci.yml | 2 +- src/env.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69c84a81..117b428f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: env: API_HOST: 127.0.0.1 API_PORT: 3000 - PROMETHEUS_PORT: 9154 + PROMETHEUS_PORT: 9153 PGHOST: 127.0.0.1 PGPORT: 5432 PGUSER: postgres diff --git a/src/env.ts b/src/env.ts index decc840d..bb04957f 100644 --- a/src/env.ts +++ b/src/env.ts @@ -28,7 +28,7 @@ const schema = Type.Object({ /** Hostname that will be reported to the chainhook node so it can call us back with events */ EXTERNAL_HOSTNAME: Type.String({ default: '127.0.0.1' }), /** Port in which to serve prometheus metrics */ - PROMETHEUS_PORT: Type.Number({ default: 9154 }), + PROMETHEUS_PORT: Type.Number({ default: 9153 }), /** Port in which to serve the profiler */ PROFILER_PORT: Type.Number({ default: 9119 }),