DynatraceAction class abstract
Dynatrace action which has a start- and end-time and can report several values onto it. When finished call leaveAction.
- Implementers
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.
-
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. -
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) -
getRequestTagHeader(
) → String - Returns the header key that needs to be added to the web request for user action/purepath correlation.
-
leaveAction(
) → void - Leaves this action.
-
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
. -
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 0 -
reportEvent(
String? eventName, {Platform? platform}) → void -
Reports an event with a specified
eventName
(but without any value). -
reportIntValue(
String? valueName, int? value, {Platform? platform}) → void -
Reports an int
value
with a specifiedvalueName
. -
reportStringValue(
String? valueName, String? value, {Platform? platform}) → void -
Reports a String
value
with a specifiedvalueName
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited