feat(infra): shared dev OTel collector; OTLP proven end to end for all four apps (#13)
- infra/otel-collector/: zb-otel-collector (otelcol-contrib 0.162.0) on 10.100.0.35 — OTLP gRPC :4317 / HTTP :4318, debug + file exporters, Prometheus re-export :8889, health :13133; README runbook + otelsum.py summariser. Deployed. - components/observability/2026-11-12-otlp-end-to-end-evidence.md: metrics + traces received from OtOpcUa, HistorianGateway, ScadaBridge (Site) and MxAccessGateway; OtOpcUa Galaxy driver allowlist defect fixed in lmxopcua#892 (db86b996). - GAPS.md, current-state banners, index row, Telemetry CLAUDE.md: #13 closed; follow-ups #54 (wonder-tier collector), #55 (resource identity + logs over OTLP), ScadaBridge#133 (Central role). Telemetry 0.2.1 deliberately left unpublished (no lib change needed). Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# Observability — current state: OtOpcUa
|
||||
|
||||
> **2026-11-12 update (scadaproj#13):** this is the pre-adoption 2026-06-01 snapshot. OtOpcUa now calls
|
||||
> `AddZbTelemetry` (Resource + OTLP opt-in), and OTLP export of **metrics and traces** is proven end to end
|
||||
> against the dev collector (`otopcua.deploy.apply`, `otopcua.opcua.address_space_rebuild`, `otopcua.deploy.*`
|
||||
> metrics arrived). That ends the "tracing no-op" below once `OtOpcUa:Telemetry:Exporter=Otlp` is set. The
|
||||
> Galaxy driver's `galaxy.*` spans and `galaxy.events.*` counters were missing from the allowlists; fixed in
|
||||
> lmxopcua#892 (`master` `db86b996`). Still absent from the Resource: `service.version`, `site.id`, `node.role`
|
||||
> (scadaproj#55). Evidence: [`2026-11-12-otlp-end-to-end-evidence.md`](../../2026-11-12-otlp-end-to-end-evidence.md).
|
||||
|
||||
Repo: `~/Desktop/OtOpcUa`. Stack: .NET 10, Akka.NET, OPC UA; solution `ZB.MOM.WW.OtOpcUa.slnx`.
|
||||
Telemetry code lives in two places: `src/Server/ZB.MOM.WW.OtOpcUa.Host/Observability/` (host-side
|
||||
bootstrap) and `src/Core/ZB.MOM.WW.OtOpcUa.Commons/Observability/` (instruments + enricher).
|
||||
|
||||
Reference in New Issue
Block a user