-
-
Notifications
You must be signed in to change notification settings - Fork 229
Open
Labels
.NETPull requests that update .net codePull requests that update .net codeLogsMetricspublic APIAdditions/modifications to, or removals from, the public API surface area.Additions/modifications to, or removals from, the public API surface area.
Description
Description
Attributes are searchable Name-Value-Pairs with a Type and an optional Unit
- where currently supported Types for the Values are
stringandstring[]booleanandboolean[]integerandinteger[](64-bit signed integral number)doubleanddouble[](64-bit floating-point number)
- where the optional Units must be supported by Relay
- may be removed or set to
noneotherwise
- may be removed or set to
Precedence of Attributes on Logs and Metrics - higher priorities overwrite lower priorities:
- Default Attributes
- Scope Attributes
- SDK-APIs
- Attributes passed via
SentrySdk.Logger.Log{SentryLogLevel}methods - Attributes passed via
SentrySdk.Experimental.Metrics.Emit{SentryMetricType}methods
- Attributes passed via
- Option-APIs
- Attributes set via
SentryOptions.SetBeforeSendLog(Func<SentryLog, SentryLog?>) - Attributes set via
SentryOptions.SetBeforeSendMetric<T>(Func<SentryMetric<T>, SentryMetric<T>?>)
- Attributes set via
Add Attributes APIs for
- Logs
- Metrics
- Scopes
See related docs
- Logs: https://develop.sentry.dev/sdk/telemetry/logs/
- Metrics: https://develop.sentry.dev/sdk/telemetry/metrics/
- Scopes: https://develop.sentry.dev/sdk/telemetry/scopes/
- Attributes: https://develop.sentry.dev/sdk/telemetry/attributes/
In the longer term, this (may) act as a replacement / unification of Tags and Extras.
Metadata
Metadata
Assignees
Labels
.NETPull requests that update .net codePull requests that update .net codeLogsMetricspublic APIAdditions/modifications to, or removals from, the public API surface area.Additions/modifications to, or removals from, the public API surface area.