From 40e47c418634b7383d8718834037ab90b7dadfa9 Mon Sep 17 00:00:00 2001 From: Richard Bullington-McGuire Date: Tue, 3 Dec 2024 22:31:02 -0500 Subject: [PATCH] Fix default host for datadog, docker ignore .cfg --- .dockerignore | 1 + freezing/sync/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 5b83fdb..da79431 100644 --- a/.dockerignore +++ b/.dockerignore @@ -16,4 +16,5 @@ eggs/ .eggs/ *.egg-info/ *.egg +*.cfg diff --git a/freezing/sync/config.py b/freezing/sync/config.py index 4ac0413..cc66e92 100644 --- a/freezing/sync/config.py +++ b/freezing/sync/config.py @@ -59,7 +59,7 @@ class Config: DATADOG_API_KEY = env("DATADOG_API_KEY", default=None) DATADOG_APP_KEY = env("DATADOG_APP_KEY", default=None) - DATADOG_HOST = env("DATADOG_HOST", default="datadog.container") + DATADOG_HOST = env("DATADOG_HOST", default="localhost") DATADOG_PORT = env("DATADOG_PORT", cast=int, default=8125) REQUEUE_DELAY = env("REQUEUE_DELAY", cast=int, default=300)