From 8a435e83b2e37bb3a8a2e413d6f66442471c5a83 Mon Sep 17 00:00:00 2001 From: Tobias Persson Date: Wed, 27 Nov 2024 13:25:44 +0100 Subject: [PATCH] Fix the path on ping --- manifests/base/deployment.yaml | 4 ++-- python/src/etos_api/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/base/deployment.yaml b/manifests/base/deployment.yaml index 98d22c1..e8ee586 100644 --- a/manifests/base/deployment.yaml +++ b/manifests/base/deployment.yaml @@ -28,9 +28,9 @@ spec: protocol: TCP livenessProbe: httpGet: - path: /api/etos/ping + path: /api/ping port: http readinessProbe: httpGet: - path: /api/etos/ping + path: /api/ping port: http diff --git a/python/src/etos_api/__init__.py b/python/src/etos_api/__init__.py index 9a02b66..771c32b 100644 --- a/python/src/etos_api/__init__.py +++ b/python/src/etos_api/__init__.py @@ -55,7 +55,7 @@ trace.set_tracer_provider(PROVIDER) FastAPIInstrumentor().instrument_app( - APP, tracer_provider=PROVIDER, excluded_urls=".*/etos/ping" + APP, tracer_provider=PROVIDER, excluded_urls=".*/ping" ) RegisterProviders()