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. Canceling an action is similar to leaveAction(), except that the data and all unfinished child objects are discarded instead of being sent.
 - 
  createWebRequestTiming(
String url) → Future< WebRequestTiming>  - 
  Returns a webrequest timing object which can be used to measure a web request. Input the 
urlof the web request. - 
  getRequestTag(
String url) → Future< String>  - 
  Returns a unique x-dynatrace header for the web request with a specified 
url, which has to be manually added as http header. The header key can be obtained with the method getRequestTagHeader. The string value can be empty in cases when the agent is not able to send data. E.g. the agent is turned off completly, has not started yet or is not allowed to track web requests because of privacy reasons. The tag value is evaluated by the corresponding web server agent. The Dynatrace server will link the server-side PurePath data with this mobile user action. For more information, see Dynatrace documentation. - 
  getRequestTagHeader(
) → String  - Returns the header key that needs to be added to the web request for user action/purepath correlation. For more information, see Dynatrace documentation.
 - 
  leaveAction(
) → void  - Leaves and completes this action and prepares the data for the next sending interval. When an outer/parent action is exited, all nested/child actions are automatically closed.
 - 
  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 
valuewith a specifiedvalueName. If the action is already closed the event will not be reported. IfvalueNameis null or empty the event will not be reported. Ifvalueis null the event will not be reported. - 
  reportError(
String? errorName, int? errorCode, {Platform? platform}) → void  - 
  Reports an error with a specified 
errorName,errorCode.errorCodeis nullable but within implementation it has default value 0 If the action is already closed the event will not be reported. IferrorNameis null or empty the event will not be reported. - 
  reportEvent(
String? eventName, {Platform? platform}) → void  - 
  Reports an event with a specified 
eventName. If the action is already closed the event will not be reported. IfeventNameis null or empty the event will not be reported. - 
  reportIntValue(
String? valueName, int? value, {Platform? platform}) → void  - 
  Reports an int 
valuewith a specifiedvalueName. If the action is already closed the event will not be reported. IfvalueNameis null or empty the event will not be reported. Ifvalueis null the event will not be reported. - 
  reportStringValue(
String? valueName, String? value, {Platform? platform}) → void  - 
  Reports a String 
valuewith a specifiedvalueName. If the action is already closed the event will not be reported. IfvalueNameis null or empty the event will not be reported. Ifvalueis null or empty the event will not be reported. - 
  toString(
) → String  - 
  A string representation of this object.
  inherited
 
Operators
- 
  operator ==(
Object other) → bool  - 
  The equality operator.
  inherited