nativescript-dynatrace
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Nativescript Dynatrace plugin for Android and iOS

Auto-instrument your application with Dynatrace and to prepare it for monitoring.

Prerequisites / Requirements

You need a Dynatrace account and the credentials of your Dynatrace Application (DTXApplicationID, DTXAgentEnvironment and DTXClusterURL).

Installation

First, you need to add the Nativescript Dynatrace plugin:

tns plugin add nativescript-dynatrace

Then, you need to create a file named dynatrace-service.json or dynatrace-service.js in the project root or in NAME_PROJECT/app/App_Resources/ with the following structure:

module.exports = {
  DTXAgentEnvironment: string,
  DTXAllowAnyCert: boolean,
  DTXApplicationID: string,
  DTXAutoActionMaxDurationMilliseconds: int,
  DTXAutoActionTimeoutMilliseconds: int,
  DTXAutoStart: boolean,
  DTXBKSFileName: string,
  DTXBKSPassword: string,
  DTXClusterURL: boolean,
  DTXCrashReportingEnabled: boolean,
  DTXExcludePackages: string,
  DTXHybridApplication: boolean,
  DTXIncludeAllPackages: boolean,
  DTXIncludePackages: string,
  DTXInstrumentAutoUserAction: boolean,
  DTXInstrumentGPSLocation: boolean,
  DTXInstrumentLifecycleMonitoring: boolean,
  DTXInstrumentWebRequestTagging: boolean,
  DTXInstrumentWebRequestTiming: boolean,
  DTXLogLevel: string,
  DTXManagedCluster: boolean,
  DTXMonitorCookie: string,
  DTXMultiDexKeep: string,
  DTXMultiDexKeepFile: string,
  DTXPrimaryDexLimit: int,
  DTXSecondaryDexLimit: int,
  DTXSetCookiesForDomain: string,
  DTXUserOptIn: boolean,
  DTXVersionCode: int,
  DTXVersionName: string,
};

Here you can find all the auto-instrumentation properties that you can customize.

How this plugin works

Work in progress...

API

Work in progress...

License

Apache License Version 2.0, January 2004

Dependencies (1)

Dev Dependencies (6)

Package Sidebar

Install

npm i nativescript-dynatrace

Weekly Downloads

4

Version

1.0.4

License

Apache-2.0

Unpacked Size

86.8 kB

Total Files

56

Last publish

Collaborators

  • salvadorcoronel