-
-
Notifications
You must be signed in to change notification settings - Fork 230
feat: add Attributes APIs #4882
Copy link
Copy link
Open
Labels
.NETPull requests that update .net codePull requests that update .net codeFeatureNew feature or requestNew feature or requestLogsMetricspublic APIAdditions/modifications to, or removals from, the public API surface area.Additions/modifications to, or removals from, the public API surface area.
Metadata
Metadata
Assignees
Labels
.NETPull requests that update .net codePull requests that update .net codeFeatureNew feature or requestNew feature or requestLogsMetricspublic APIAdditions/modifications to, or removals from, the public API surface area.Additions/modifications to, or removals from, the public API surface area.
Fields
Give feedbackNo fields configured for issues without a type.
Description
Attributes are searchable Name-Value-Pairs with a Type and an optional Unit
stringandstring[]booleanandboolean[]integerandinteger[](64-bit signed integral number)doubleanddouble[](64-bit floating-point number)noneotherwisePrecedence of Attributes on Logs and Metrics - higher priorities overwrite lower priorities:
SentrySdk.Logger.Log{SentryLogLevel}methodsSentrySdk.Experimental.Metrics.Emit{SentryMetricType}methodsSentryOptions.SetBeforeSendLog(Func<SentryLog, SentryLog?>)SentryOptions.SetBeforeSendMetric<T>(Func<SentryMetric<T>, SentryMetric<T>?>)Add
AttributesAPIs forSee related docs
In the longer term, this (may) act as a replacement / unification of Tags and Extras.