Class ApplicationDiagnostics.MetricTags
- Namespace
- Stratara.Diagnostics
- Assembly
- Stratara.Diagnostics.dll
Tag name constants used on metric instruments.
public static class ApplicationDiagnostics.MetricTags
- Inheritance
-
ApplicationDiagnostics.MetricTags
- Inherited Members
Fields
AggregateType
Tag name aggregate.type.
public const string AggregateType = "aggregate.type"
Field Value
BucketId
Tag name bucket.id — bucket-lock bucket index.
public const string BucketId = "bucket.id"
Field Value
EventType
Tag name event.type — the simple name of a domain-event type.
public const string EventType = "event.type"
Field Value
OutboxKind
Tag name outbox.kind — command or event.
public const string OutboxKind = "outbox.kind"
Field Value
Outcome
Tag name outcome — the result of an operation; see ApplicationDiagnostics.Outcomes for values.
public const string Outcome = "outcome"
Field Value
Partition
Tag name partition — the store partition a reader reads.
public const string Partition = "partition"
Field Value
Projection
Tag name projection — the consumer a store reader applies for: a projection's name, or sagas.
public const string Projection = "projection"
Field Value
Reason
Tag name reason — why a message was dead-lettered: conflict or failure.
public const string Reason = "reason"
Field Value
RequestType
Tag name request.type — the simple name of a command/query request type.
public const string RequestType = "request.type"
Field Value
Subscription
Tag name messaging.subscription — the subscription a message was consumed under.
public const string Subscription = "messaging.subscription"
Field Value
Topic
Tag name messaging.topic — the topic a message was published to.
public const string Topic = "messaging.topic"
Field Value
Methods
TypeNameValue(string)
The value an EventType or AggregateType tag carries for a type name: the
type's simple name, as Type.Name returns it, whether typeName is
simple, namespace-qualified or assembly-qualified. Every instrument tags a type with this value, so
series from the write side and the read side join on it.
public static string TypeNameValue(string typeName)
Parameters
typeNamestringA type name in any of those forms.
Returns
- string
The simple name — the part after the last namespace or nesting separator, without the assembly or generic arguments.
Exceptions
- ArgumentNullException
typeNameis null.