From 4dc4f4302a318b3f6f361abd64b4f274a9fab915 Mon Sep 17 00:00:00 2001 From: Victor Kyriazakos Date: Wed, 22 Jul 2026 21:40:55 +0000 Subject: [PATCH] chore(monitoring): align smoke and attribution metadata --- contributors/emails/victor@nousresearch.com | 2 ++ scripts/observability/gateway_health_export_probe.py | 2 +- scripts/observability/otel_capture_collector.py | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 contributors/emails/victor@nousresearch.com diff --git a/contributors/emails/victor@nousresearch.com b/contributors/emails/victor@nousresearch.com new file mode 100644 index 00000000000..a899ee021d1 --- /dev/null +++ b/contributors/emails/victor@nousresearch.com @@ -0,0 +1,2 @@ +victor-kyriazakos +# PR #64536 Gateway Health OTLP production hardening diff --git a/scripts/observability/gateway_health_export_probe.py b/scripts/observability/gateway_health_export_probe.py index 1635f464888..e1b3bc0548d 100644 --- a/scripts/observability/gateway_health_export_probe.py +++ b/scripts/observability/gateway_health_export_probe.py @@ -43,7 +43,7 @@ def main() -> None: "logs_export_interval_seconds": 5, "resource_attributes": { "service.name": "hermes-gateway-smoke", - "deployment.environment": "local-smoke", + "deployment.environment.name": "local-smoke", }, }, "export": { diff --git a/scripts/observability/otel_capture_collector.py b/scripts/observability/otel_capture_collector.py index 0071328a4e2..cbfb659cb30 100644 --- a/scripts/observability/otel_capture_collector.py +++ b/scripts/observability/otel_capture_collector.py @@ -1,9 +1,9 @@ #!/usr/bin/env python3 """Tiny local OTLP/HTTP capture collector for Hermes gateway health smoke tests. -This is not a production collector. It accepts OTLP protobuf POSTs on /v1/traces -and /v1/metrics, records request metadata as JSONL, and returns 200 so local -exporters can be exercised without Docker or a vendor backend. +This is not a production collector. It accepts OTLP protobuf POSTs on /v1/traces, +/v1/metrics, and /v1/logs, records request metadata as JSONL, and returns 200 so +local exporters can be exercised without Docker or a vendor backend. """ from __future__ import annotations