From ec866f2d05ec53335d697a8ade16cd0c1b8d2bef Mon Sep 17 00:00:00 2001 From: icurfer Date: Fri, 5 Dec 2025 16:16:32 +0900 Subject: [PATCH] update --- auth_prj/settings.py | 1 + auth_prj/wsgi.py | 1 + version | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/auth_prj/settings.py b/auth_prj/settings.py index f133692..2e4c47b 100644 --- a/auth_prj/settings.py +++ b/auth_prj/settings.py @@ -34,6 +34,7 @@ else: # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = os.environ.get('SECRET_KEY', 'django-insecure-ec9me^z%x7-2vwee5#qq(kvn@^cs!!22_*f-im(320_k5-=0j5') +SERVICE_PLATFORM = os.getenv("SERVICE_PLATFORM", "none") TRACE_SERVICE_NAME = os.getenv("TRACE_SERVICE_NAME", "msa-django-auth") TRACE_ENDPOINT = os.getenv("TRACE_ENDPOINT", "none") diff --git a/auth_prj/wsgi.py b/auth_prj/wsgi.py index fd7346b..7c2c9cd 100644 --- a/auth_prj/wsgi.py +++ b/auth_prj/wsgi.py @@ -27,6 +27,7 @@ if not settings.DEBUG: trace.set_tracer_provider( TracerProvider( resource=Resource.create({ + "service.platform": settings.SERVICE_PLATFORM, # "service.name": "msa-django-auth", "service.name": settings.TRACE_SERVICE_NAME, }) diff --git a/version b/version index d946dbe..8da573f 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.0.15_r1 \ No newline at end of file +v0.0.16 \ No newline at end of file