DynatraceNullRootAction class
Represents an root action which has no effect. It will be returned instead of null in cases of errors
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
) → void -
Cancel this action.
override
-
createWebRequestTiming(
String url) → Future< WebRequestTiming> -
Returns a webrequest timing object which can be used to measure a web request. Input the
url
of the web request.override -
enterAction(
String? actionName, {Platform? platform}) → DynatraceAction -
Enters a (child) Action with a specified
actionName
on this Action. If the givenactionName
is null or an empty string, no reporting will happen on that RootAction.override -
getRequestTag(
String url) → Future< String> -
Returns a unique x-dynatrace header for the web request with a specified
url
. The string value can be empty in cases when the agent is not able to send data. (e.g turned off)override -
getRequestTagHeader(
) → String -
Returns the header key that needs to be added to the web request for user action/purepath correlation.
override
-
leaveAction(
) → void -
Leaves this action.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reportDoubleValue(
String? valueName, double? value, {Platform? platform}) → void -
Reports a double
value
with a specifiedvalueName
.override -
reportError(
String? errorName, int? errorCode, {Platform? platform}) → void -
Reports an error with a specified
errorName
,errorCode
.errorCode
is nullable but within implementation it has default value 0override -
reportEvent(
String? eventName, {Platform? platform}) → void -
Reports an event with a specified
eventName
(but without any value).override -
reportIntValue(
String? valueName, int? value, {Platform? platform}) → void -
Reports an int
value
with a specifiedvalueName
.override -
reportStringValue(
String? valueName, String? value, {Platform? platform}) → void -
Reports a String
value
with a specifiedvalueName
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited