-
public class DatadogTracingConstants.LogAttributesDefines a set of constant log attributes used for tracing and error reporting within the Datadog tracing library.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringERROR_KINDprivate final StringERROR_OBJECTprivate final StringEVENTprivate final StringMESSAGEprivate final StringSTACKprivate final StringSTATUSpublic final static DatadogTracingConstants.LogAttributesINSTANCE
-
Method Summary
Modifier and Type Method Description final StringgetERROR_KIND()The type or "kind" of an error (only for event="error" logs). final StringgetERROR_OBJECT()The actual Throwable/Exception/Error object instance itself. final StringgetEVENT()A stable identifier for some notable moment in the lifetime of a Span. final StringgetMESSAGE()A concise, human-readable, one-line message explaining the event. final StringgetSTACK()A stack trace in platform-conventional format; may or may not pertain to an error. final StringgetSTATUS()Represents the key for a log attribute used to specify the status of a log entry. -
-
Method Detail
-
getERROR_KIND
final String getERROR_KIND()
The type or "kind" of an error (only for event="error" logs). E.g., "Exception", "OSError"
-
getERROR_OBJECT
final String getERROR_OBJECT()
The actual Throwable/Exception/Error object instance itself. E.g., a UnsupportedOperationException instance.
-
getEVENT
final String getEVENT()
A stable identifier for some notable moment in the lifetime of a Span. For instance, a mutex lock acquisition or release or the sorts of lifetime events in a browser page load described in the Performance.timing specification. E.g., from Zipkin, "cs", "sr", "ss", or "cr". Or, more generally, "initialized" or "timed out". For errors, "error"
-
getMESSAGE
final String getMESSAGE()
A concise, human-readable, one-line message explaining the event. E.g., "Could not connect to backend", "Cache invalidation succeeded"
-
getSTACK
final String getSTACK()
A stack trace in platform-conventional format; may or may not pertain to an error.
-
-
-
-