Class WellKnownTelemetryNames
- Namespace
- Cratis.Arc
- Assembly
- Cratis.Arc.Core.dll
The span, attribute, event and metric names Arc's telemetry uses, for building queries, dashboards and alerts.
public static class WellKnownTelemetryNames
- Inheritance
-
WellKnownTelemetryNames
- Inherited Members
Remarks
Every attribute carries a type, a name, an identifier or an outcome - never a value taken from a command, query or event payload. A payload value can be personal data, and a telemetry backend keeps it long after the application has forgotten it.
Fields
AuthorizationDeniedEvent
The event raised when authorization denied an operation.
public const string AuthorizationDeniedEvent = "cratis.arc.authorization.denied"
Field Value
CommandAuthorizeSpan
The span raised when an authorization filter decides on a command.
public const string CommandAuthorizeSpan = "cratis.arc.command.authorize"
Field Value
CommandDurationMetric
The histogram recording how long a command took, in seconds.
public const string CommandDurationMetric = "cratis.arc.command.duration"
Field Value
CommandExecuteSpan
The span raised when a command runs through the pipeline.
public const string CommandExecuteSpan = "cratis.arc.command.execute"
Field Value
CommandFilterSpan
The span raised when the command filters run.
public const string CommandFilterSpan = "cratis.arc.command.filter"
Field Value
CommandHandleSpan
The span raised when a command handler runs.
public const string CommandHandleSpan = "cratis.arc.command.handle"
Field Value
CommandKeyType
The attribute holding the type the command declares its key as, such as its event source id.
public const string CommandKeyType = "cratis.arc.command.key.type"
Field Value
CommandOutcome
The attribute holding the outcome of a command, one of WellKnownOperationOutcomes.
public const string CommandOutcome = "cratis.arc.command.outcome"
Field Value
CommandOutcomesMetric
The counter recording command outcomes.
public const string CommandOutcomesMetric = "cratis.arc.command.outcomes"
Field Value
CommandProvideSpan
The span raised when a model-bound command's Provide() method runs.
public const string CommandProvideSpan = "cratis.arc.command.provide"
Field Value
CommandType
The attribute holding the full name of the command type.
public const string CommandType = "cratis.arc.command.type"
Field Value
CommandValidateSpan
The span raised when a command is validated without being run.
public const string CommandValidateSpan = "cratis.arc.command.validate"
Field Value
CorrelationId
The attribute holding the correlation id.
public const string CorrelationId = "cratis.correlation_id"
Field Value
ExceptionEvent
The OpenTelemetry semantic convention event for an exception.
public const string ExceptionEvent = "exception"
Field Value
ExceptionType
The OpenTelemetry semantic convention attribute for the type of an exception.
public const string ExceptionType = "exception.type"
Field Value
ObservableTransport
The transport of a query that keeps pushing changes.
public const string ObservableTransport = "observable"
Field Value
Other
The value recorded for a command type or query name past the cardinality limit, or for a query that is not known.
public const string Other = "_other"
Field Value
QueryDurationMetric
The histogram recording how long a query took, in seconds.
public const string QueryDurationMetric = "cratis.arc.query.duration"
Field Value
QueryName
The attribute holding the fully qualified name of the query.
public const string QueryName = "cratis.arc.query.name"
Field Value
QueryOutcome
The attribute holding the outcome of a query, one of WellKnownOperationOutcomes.
public const string QueryOutcome = "cratis.arc.query.outcome"
Field Value
QueryPerformSpan
The span raised when a query runs through the pipeline.
public const string QueryPerformSpan = "cratis.arc.query.perform"
Field Value
QueryPushSpan
The span raised when a changed result of an observable query is pushed to a subscriber.
public const string QueryPushSpan = "cratis.arc.query.push"
Field Value
QueryPushesMetric
The counter recording the results pushed to observable query subscribers.
public const string QueryPushesMetric = "cratis.arc.query.pushes"
Field Value
QuerySubscriptionsMetric
The up-down counter recording the observable query subscriptions that are active.
public const string QuerySubscriptionsMetric = "cratis.arc.query.subscriptions"
Field Value
QueryTransport
The attribute holding the transport a query result is delivered over.
public const string QueryTransport = "cratis.arc.query.transport"
Field Value
ServerSentEventsTransport
The transport of an observable query delivered as Server-Sent Events.
public const string ServerSentEventsTransport = "sse"
Field Value
SnapshotTransport
The transport of a query answered once.
public const string SnapshotTransport = "snapshot"
Field Value
Tenant
The attribute holding the resolved tenant.
public const string Tenant = "cratis.tenant"
Field Value
UnknownTransport
The transport recorded for a query that failed before it ran.
public const string UnknownTransport = "unknown"
Field Value
ValidationFailedEvent
The event raised for each validation result that blocked an operation.
public const string ValidationFailedEvent = "cratis.arc.validation.failed"
Field Value
ValidationMembers
The event attribute holding the members a validation result is for.
public const string ValidationMembers = "cratis.arc.validation.members"
Field Value
ValidationReason
The event attribute holding what composed a validation result.
public const string ValidationReason = "cratis.arc.validation.reason"
Field Value
ValidationReasonDetail
The event attribute holding the identity of what composed a validation result, such as a constraint name.
public const string ValidationReasonDetail = "cratis.arc.validation.reason_detail"
Field Value
ValidationResultCount
The attribute holding the number of results a validator produced.
public const string ValidationResultCount = "cratis.arc.validation.result_count"
Field Value
ValidationSeverity
The event attribute holding the severity of a validation result.
public const string ValidationSeverity = "cratis.arc.validation.severity"
Field Value
ValidatorInvokeSpan
The span raised when a validator runs.
public const string ValidatorInvokeSpan = "cratis.arc.validator.invoke"
Field Value
ValidatorType
The attribute holding the full name of a validator type.
public const string ValidatorType = "cratis.arc.validator.type"
Field Value
WebSocketTransport
The transport of an observable query delivered over a WebSocket.
public const string WebSocketTransport = "websocket"