docs(observability): Telemetry 0.3.0 published, adopted by all four apps, logs over OTLP proven (#55)
Evidence doc gains the #55 section (root cause of no logs, 0.3.0 contents + SHA256, per-app commits, collector output per app: service.version, site.id, node.role and log records on OtOpcUa, HistorianGateway, ScadaBridge Site and MxAccessGateway). GAPS, current-state, SPEC, the Telemetry CLAUDE.md and the index row updated; infra/otel-collector gains otelidentity.py (Resource per signal + log samples). Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
This commit is contained in:
@@ -5,6 +5,12 @@
|
||||
> OTLP export of **metrics and traces** is proven end to end (scratch copy of the deployed windev build; the
|
||||
> `mxgateway.*` gauges and ASP.NET Core spans arrived). The gateway still has no `ActivitySource` of its own.
|
||||
> Evidence: [`2026-11-12-otlp-end-to-end-evidence.md`](../../2026-11-12-otlp-end-to-end-evidence.md).
|
||||
>
|
||||
> **2026-11-12 update (scadaproj#55):** closed on `main` `d9d9ff48` (Telemetry `0.3.0`). The Resource now
|
||||
> carries `service.version` (entry-assembly informational version, e.g. `0.1.2+54aa61a0`), `node.role=standalone`
|
||||
> (one gateway per box; `MxGateway:Telemetry:NodeRole` overrides) and `site.id` from
|
||||
> `MxGateway:Telemetry:SiteId` (no natural value in the gateway's config, so it is omitted unless set).
|
||||
> `MxGateway:Telemetry:Exporter=Otlp` now also sends the Serilog logs (proven: 21 log records).
|
||||
|
||||
Repo: `~/Desktop/MxAccessGateway`. Stack: .NET 10 gateway (x64) + .NET 4.8 worker (**x86**);
|
||||
solution `src/MxGateway.sln`. Telemetry code is concentrated in
|
||||
|
||||
@@ -7,6 +7,13 @@
|
||||
> 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).
|
||||
>
|
||||
> **2026-11-12 update (scadaproj#55):** closed on `master` `412da27c` (Telemetry `0.3.0`). The Resource now
|
||||
> carries `service.version` (entry-assembly informational version, e.g. `1.0.0+412da27c…`), `site.id` = the
|
||||
> node's application Cluster id (suffix of its `cluster-<ClusterId>` role; omitted on a legacy node) and
|
||||
> `node.role` = its plain roles (`admin`, `driver`, `admin,driver`). `OtOpcUa:Telemetry:SiteId` / `:NodeRole` /
|
||||
> `:ServiceVersion` / `:ResourceAttributes:*` override them. `OtOpcUa:Telemetry:Exporter=Otlp` now also sends
|
||||
> the Serilog logs to the collector (proven: 73 log records with the same Resource).
|
||||
|
||||
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
|
||||
|
||||
@@ -5,6 +5,12 @@
|
||||
> end to end for a **Site** node (6 `scadabridge.*` instruments, `localdb.oplog.depth`, gRPC-client spans,
|
||||
> with `site.id`/`node.role` on the Resource); the Central role is not yet proven (ScadaBridge#133).
|
||||
> Evidence: [`2026-11-12-otlp-end-to-end-evidence.md`](../../2026-11-12-otlp-end-to-end-evidence.md).
|
||||
>
|
||||
> **2026-11-12 update (scadaproj#55):** closed on `main` `a633005f` (Telemetry `0.3.0`). `service.version` now
|
||||
> on the Resource (entry-assembly informational version); `site.id`/`node.role` unchanged.
|
||||
> `ScadaBridgeTelemetryConfig` fills both the `AddZbTelemetry` registration and the pre-host `AddZbSerilog`
|
||||
> logger, so `ScadaBridge:Telemetry:Exporter=Otlp` also sends logs (proven on a Site node: 78 log records,
|
||||
> including the pre-host startup line). Central still → ScadaBridge#133.
|
||||
|
||||
Repo: `~/Desktop/ScadaBridge`. Stack: .NET 10, Akka.NET, Docker; solution
|
||||
`ZB.MOM.WW.ScadaBridge.slnx`. The telemetry posture is split across a dangling OTel package ref
|
||||
|
||||
Reference in New Issue
Block a user