AppDynamics Mobile EUM Agent Plugin
- Download the repository this README is in. https://github.com/jeremydavis02/appd-ionic-capacitor-plugin
- In the downloaded repos main folder run 'npm install'
- Then run 'npm run build'
- In the ionic application we then run 'npm install /path/to/plugin/repo'
- In the ionic application then run 'npx cap sync'
- In the IOS application within the ionic application the cocoa pod install of the AppDynamics Agent should be done, referenced here: https://docs.appdynamics.com/appd/22.x/22.5/en/end-user-monitoring/mobile-real-user-monitoring/instrument-ios-applications/install-the-ios-sdk#id-.InstalltheiOSSDKv22.1-cocoapods-install
- In the Android application with the ionic application, there should be an /app/build.gradle file that should have the below added below the apply plugin: 'com.android.application' line:
buildscript { repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.2.1' classpath "com.appdynamics:appdynamics-gradle-plugin:22.2.2" } }
apply plugin: 'adeum'
echo(...)startTimer(...)stopTimer(...)reportMetricWithName(...)leaveBreadcrumb(...)setUserData(...)removeUserData(...)reportError(...)beginCall(...)endCall(...)beginHttpRequest(...)reportDone(...)withResponseCode(...)withResponseContentLength(...)withRequestContentLength(...)withResponseHeaderFields(...)withRequestHeaderFields(...)withInstrumentationSource(...)withErrorMessage(...)getCorrelationHeaders()startNextSession()unblockScreenshots()blockScreenshots()screenshotsBlocked()takeScreenshot()startSessionFrame(...)endSessionFrame(...)updateSessionFrameName(...)getVersion()clear()- Interfaces
- Enums
echo(options: EchoOptions) => Promise<EchoOptions>| Param | Type |
|---|---|
options |
EchoOptions |
Returns: Promise<EchoOptions>
startTimer(options: StartTimerOptions) => Promise<void>| Param | Type |
|---|---|
options |
StartTimerOptions |
stopTimer(options: StopTimerOptions) => Promise<void>| Param | Type |
|---|---|
options |
StopTimerOptions |
reportMetricWithName(options: ReportMetricWithNameOptions) => Promise<void>| Param | Type |
|---|---|
options |
ReportMetricWithNameOptions |
leaveBreadcrumb(options: LeaveBreadcrumbOptions) => Promise<void>| Param | Type |
|---|---|
options |
LeaveBreadcrumbOptions |
setUserData(options: SetUserDataOptions) => Promise<void>| Param | Type |
|---|---|
options |
SetUserDataOptions |
removeUserData(options: RemoveUserDataOptions) => Promise<void>| Param | Type |
|---|---|
options |
RemoveUserDataOptions |
reportError(options: ReportErrorOptions) => Promise<void>| Param | Type |
|---|---|
options |
ReportErrorOptions |
beginCall(options: BeginCallOptions) => Promise<EndCallOptions>| Param | Type |
|---|---|
options |
BeginCallOptions |
Returns: Promise<EndCallOptions>
endCall(options: EndCallOptions) => Promise<void>| Param | Type |
|---|---|
options |
EndCallOptions |
beginHttpRequest(options: BeginHttpRequestOptions) => Promise<{ http_tracker: string; }>| Param | Type |
|---|---|
options |
BeginHttpRequestOptions |
Returns: Promise<{ http_tracker: string; }>
reportDone(options: ReportDoneOptions) => Promise<void>| Param | Type |
|---|---|
options |
ReportDoneOptions |
withResponseCode(options: HttpTrackerResponseCodeOptions) => Promise<void>| Param | Type |
|---|---|
options |
HttpTrackerResponseCodeOptions |
withResponseContentLength(options: HttpTrackerContentLengthOptions) => Promise<void>| Param | Type |
|---|---|
options |
HttpTrackerContentLengthOptions |
withRequestContentLength(options: HttpTrackerContentLengthOptions) => Promise<void>| Param | Type |
|---|---|
options |
HttpTrackerContentLengthOptions |
withResponseHeaderFields(options: HttpTrackerHeaderOptions) => Promise<void>| Param | Type |
|---|---|
options |
HttpTrackerHeaderOptions |
withRequestHeaderFields(options: HttpTrackerHeaderOptions) => Promise<void>| Param | Type |
|---|---|
options |
HttpTrackerHeaderOptions |
withInstrumentationSource(options: HttpTrackerInstrumentationSourceOptions) => Promise<void>| Param | Type |
|---|---|
options |
HttpTrackerInstrumentationSourceOptions |
withErrorMessage(options: HttpTrackerErrorMessageOptions) => Promise<void>| Param | Type |
|---|---|
options |
HttpTrackerErrorMessageOptions |
getCorrelationHeaders() => Promise<{ headers: Map<string, string>; }>Returns: Promise<{ headers: Map<string, string>; }>
startNextSession() => Promise<void>unblockScreenshots() => Promise<void>blockScreenshots() => Promise<void>screenshotsBlocked() => Promise<{ screenshots_blocked: boolean; }>Returns: Promise<{ screenshots_blocked: boolean; }>
takeScreenshot() => Promise<void>startSessionFrame(options: StartSessionFrameOptions) => Promise<{ session_frame: string; }>| Param | Type |
|---|---|
options |
StartSessionFrameOptions |
Returns: Promise<{ session_frame: string; }>
endSessionFrame(options: EndSessionFrameOptions) => Promise<void>| Param | Type |
|---|---|
options |
EndSessionFrameOptions |
updateSessionFrameName(options: UpdateSessionFrameOptions) => Promise<{ session_frame: string; }>| Param | Type |
|---|---|
options |
UpdateSessionFrameOptions |
Returns: Promise<{ session_frame: string; }>
getVersion() => Promise<{ version: string; }>Returns: Promise<{ version: string; }>
clear() => Promise<void>| Prop | Type |
|---|---|
value |
string |
| Prop | Type |
|---|---|
name |
string |
| Prop | Type |
|---|---|
name |
string |
| Prop | Type |
|---|---|
name |
string |
value |
number |
| Prop | Type |
|---|---|
name |
string |
| Prop | Type |
|---|---|
key |
string |
value |
string |
| Prop | Type |
|---|---|
key |
string |
| Prop | Type |
|---|---|
error |
string |
errorDomain |
string |
errorCode |
number |
errorStack |
boolean |
errorSeverity |
ErrorSeverityLevel |
| Prop | Type |
|---|---|
call_tracker |
string |
| Prop | Type |
|---|---|
className |
string |
methodName |
string |
withArguments |
[] |
| Prop | Type |
|---|---|
url |
string |
| Prop | Type |
|---|---|
http_tracker |
string |
| Prop | Type |
|---|---|
http_tracker |
string |
status_code |
string |
| Prop | Type |
|---|---|
http_tracker |
string |
content_length |
number |
| Prop | Type |
|---|---|
http_tracker |
string |
http_headers |
Map<string, string> |
| Prop | Type |
|---|---|
size |
number |
| Method | Signature |
|---|---|
| clear | () => void |
| delete | (key: K) => boolean |
| forEach | (callbackfn: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any) => void |
| get | (key: K) => V | undefined |
| has | (key: K) => boolean |
| set | (key: K, value: V) => this |
| Prop | Type |
|---|---|
http_tracker |
string |
information_source |
string |
| Prop | Type |
|---|---|
http_tracker |
string |
error_message |
string |
| Prop | Type |
|---|---|
session_frame_name |
string |
| Prop | Type |
|---|---|
session_frame |
string |
| Prop | Type |
|---|---|
session_frame_name |
string |
session_frame |
string |
| Members | Value |
|---|---|
errorLevelInfo |
0 |
errorLevelWarn |
|
errorLevelCritical |