Class StackTraceSourceInfo
java.lang.Object
io.opentelemetry.sdk.metrics.internal.debug.StackTraceSourceInfo
- All Implemented Interfaces:
SourceInfo
Diagnostic information derived from stack traces.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
Returns a multi-line debugging string to report where a given metric was registered.Returns a debugging string to report where a given metric was registered.
-
Field Details
-
stackTraceElements
-
-
Constructor Details
-
StackTraceSourceInfo
StackTraceSourceInfo(StackTraceElement[] stackTraceElements)
-
-
Method Details
-
shortDebugString
Description copied from interface:SourceInfo
Returns a debugging string to report where a given metric was registered.Example:
MyFile.java:15
- Specified by:
shortDebugString
in interfaceSourceInfo
-
multiLineDebugString
Description copied from interface:SourceInfo
Returns a multi-line debugging string to report where a given metric was registered.Example:
at full.package.name.method MyFile.java:15 at full.packae.name.otherMethod MyOtherFile.java:10
- Specified by:
multiLineDebugString
in interfaceSourceInfo
-
isInterestingStackTrace
-