Class ApplicationDiagnostics
- Namespace
- Stratara.Diagnostics
- Assembly
- Stratara.Diagnostics.dll
Shared observability primitives — ActivitySource + Meter + stable tag-name + metric-name constants used across every Stratara package.
public static class ApplicationDiagnostics
- Inheritance
-
ApplicationDiagnostics
- Inherited Members
Remarks
The source name "Stratara.Application" and meter name "Stratara.Service" are
part of the public observability contract — renaming them breaks downstream
OTel-collector / Grafana / Tempo queries. Treat these constants as a stable surface.
Fields
CausationIdTagName
Tag name causation.id for the immediate-cause request id.
public const string CausationIdTagName = "causation.id"
Field Value
CorrelationIdTagName
Tag name correlation.id for cross-service request correlation.
public const string CorrelationIdTagName = "correlation.id"
Field Value
TenantIdTagName
Tag name tenant.id — the data owner (Subject) tenant id.
public const string TenantIdTagName = "tenant.id"
Field Value
UserIdTagName
Tag name user.id — the Actor user id (who triggered the operation).
public const string UserIdTagName = "user.id"