AppDynamics C/C++ SDK  21.3
Reference documentation for the C/C++ SDK.
appdynamics_advanced.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define APPD_API   __attribute__((visibility("default")))
 

Typedefs

typedef void * appd_bt_handle
 
typedef void * appd_exitcall_handle
 

Functions

APPD_API void appd_bt_override_time_ms (appd_bt_handle bt, int64_t timeMS)
 
APPD_API void appd_bt_override_start_time_ms (appd_bt_handle bt, int64_t timeMS)
 
APPD_API void appd_exitcall_override_time_ms (appd_exitcall_handle exitCall, int64_t timeMS)
 
APPD_API void appd_exitcall_override_start_time_ms (appd_exitcall_handle exitCall, int64_t timeMS)
 

Macro Definition Documentation

◆ APPD_API

#define APPD_API   __attribute__((visibility("default")))

Typedef Documentation

◆ appd_bt_handle

typedef void* appd_bt_handle

◆ appd_exitcall_handle

typedef void* appd_exitcall_handle

Function Documentation

◆ appd_bt_override_start_time_ms()

APPD_API void appd_bt_override_start_time_ms ( appd_bt_handle  bt,
int64_t  timeMS 
)

Override the start time reported for a BT. The time is the number of millisecond since start of epoch (midnight, Jan 1, 1970 UTC). By overriding the start time with a specific value, the BT's internal start time is disabled The time specified by this function will be reported as the start time to the controller.

This can be useful for reporting BTs that are recorded in external monitoring systems and read into an SDK program.

Parameters
btThe business transaction to override the timing of.
timeMSTime in milliseconds since start of epoch (midnight, Jan 1, 1970 UTC).

◆ appd_bt_override_time_ms()

APPD_API void appd_bt_override_time_ms ( appd_bt_handle  bt,
int64_t  timeMS 
)

Override the time reported for a BT.

The time is specified in milliseconds. By overriding the time with a specific value, the BT's internal timer is disabled. Only the time you specify to this function will be reported for the BT to the controller.

This can be useful for reporting BTs that are recorded in external monitoring systems and read into an SDK program.

IMPORTANT NOTE: When this function is called, the reported BT will be either the time specified here or the sum of all exit call timings, whichever is greatest. This is because you cannot report a BT that takes less time than the exit calls it contains.

Parameters
btThe business transaction to override the timing of.
timeMSThe time the business transaction took, in milliseconds.

◆ appd_exitcall_override_start_time_ms()

APPD_API void appd_exitcall_override_start_time_ms ( appd_exitcall_handle  exitCall,
int64_t  timeMS 
)

Override the start time reported for an exit call.

The time is the number of millisecond since start of epoch (midnight, Jan 1, 1970 UTC). By overriding the start time with a specific value, the exit calls's internal start time is disabled The time specified by this function will be reported as the start time to the controller.

This can be useful for reporting exit calls that are recorded in external monitoring systems and read into an SDK program.

Parameters
exitCallThe exit call to override the timing of.
timeMSTime in milliseconds since start of epoch (midnight, Jan 1, 1970 UTC).

◆ appd_exitcall_override_time_ms()

APPD_API void appd_exitcall_override_time_ms ( appd_exitcall_handle  exitCall,
int64_t  timeMS 
)

Override the time reported for an exit call.

The time is specified in milliseconds. By overriding the time with a specific value, the exit call's internal timer is disabled. Only the time you specify to this function will be reported to the controller.

This can be useful for reporting exit calls that are recorded in external monitoring systems and read into an SDK program.

Parameters
exitCallThe exit call to override the timing of.
timeMSThe time the business transaction took, in milliseconds.