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:
Joseph Doherty
2026-11-12 21:28:50 -05:00
parent 2011c8d6b9
commit f05ce80269
10 changed files with 247 additions and 27 deletions
+3 -2
View File
@@ -67,10 +67,11 @@ The OTel `Resource` attached to all three signals is built from `ZbTelemetryOpti
|---|---|---|
| `service.name` | `ServiceName` | Required. Lower-case short identifier (`otopcua`, `mxgateway`, `scadabridge`) |
| `service.namespace` | `ServiceNamespace` | Default `"ZB.MOM.WW"` — constant across the fleet |
| `service.version` | `ServiceVersion` | Optional; recommend populating from `AssemblyInformationalVersion` |
| `service.version` | `ServiceVersion` | Defaults (Telemetry 0.3.0+) to the entry assembly's `AssemblyInformationalVersion` — the git SHA every family app stamps; set a value to override, `""` to omit |
| `service.instance.id` | _(auto)_ | Always populated from `ZbResource.InstanceId` — a deterministic `MachineName:ProcessId`. The OTel SDK's random-GUID default is disabled so every signal from the same process carries an identical, restart-stable instance id for cross-signal correlation |
| `site.id` | `SiteId` | Optional; identifies the physical/logical site |
| `node.role` | `NodeRole` | Optional; e.g. `"central"`, `"site"`, `"hub"` |
| `node.role` | `NodeRole` | Optional; e.g. `"central"`, `"site"`, `"hub"`, `"standalone"` |
| _(any other)_ | `ResourceAttributes` | Optional extra attributes (0.3.0+); the keys above are reserved |
| `host.name` | _(auto)_ | Always populated from `Environment.MachineName` |
The same `SiteId` and `NodeRole` values are passed to the Serilog enrichers (§4) so a