Settings API - App Monitoring schema table

App Monitoring (builtin:dt-javascript-runtime.app-monitoring)

Set up the monitoring parameters for your custom Dynatrace applications. These parameters will establish the default behavior for logging and tracing within this environment.

Discover more about App functions and their monitoring..

Schema ID
Schema groups
Scope
builtin:dt-javascript-runtime.app-monitoring
  • group:dt-javascript-runtime
  • group:preferences
environment
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:dt-javascript-runtime.app-monitoring
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:dt-javascript-runtime.app-monitoring
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:dt-javascript-runtime.app-monitoring

Authentication

To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

Property
Type
Description
Required
Default log level
defaultLogLevel
enum
  • off
  • debug
  • info
  • warn
  • error
required
App function traces
defaultTraceLevel
enum
  • off
  • on
required
appMonitoring

You can override the default monitoring setting for each app separately

required
The appMonitoring object
Property
Type
Description
Required
App ID
appId
text
-
required
App specific log level
customLogLevel
enum
  • useDefault
  • off
  • debug
  • info
  • warn
  • error
required
App specific function traces
customTraceLevel
enum
  • off
  • on
  • useDefault
required