Classic Environment V1
Documentation of the Dynatrace Classic Environment API v1. To read about use cases and examples, see Dynatrace Documentation.
Notes about compatibility:
- Operations marked as early adopter or preview may be changed in non-compatible ways, although we try to avoid this.
- We may add new enum constants without incrementing the API version; thus, clients need to handle unknown enum constants gracefully.
npm install @dynatrace-sdk/client-classic-environment-v1
clusterVersionClient
import { clusterVersionClient } from '@dynatrace-sdk/client-classic-environment-v1';
getVersion
Gets the current version of the Dynatrace server
Required scope: environment-api:cluster-version:read Required permission: environment:roles:viewer
Returns
Return type | Status code | Description |
---|---|---|
ClusterVersion | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { clusterVersionClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data = await clusterVersionClient.getVersion();
deploymentClient
import { deploymentClient } from '@dynatrace-sdk/client-classic-environment-v1';
downloadAgentInstallerWithVersion
Downloads OneAgent installer of the specified version
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
For the paas
or paas-sh
installer types you can get a configuring installer, by passing additional parameters.
Parameters
Name | Type | Description |
---|---|---|
config.arch | DownloadAgentInstallerWithVersionQueryArch | The architecture of your OS:
Only applicable to the |
config.bitness | DownloadAgentInstallerWithVersionQueryBitness | The bitness of your OS. Must be supported by the OS. Only applicable to the |
config.flavor | DownloadAgentInstallerWithVersionQueryFlavor | The flavor of your Linux distribution:
Only applicable to the |
config.ifNoneMatch | string | The ETag of the previous request. Do not download if it matches the ETag of the installer. |
config.include | Array<DownloadAgentInstallerWithVersionQueryIncludeItem> | The code modules to be included to the installer. You can specify several modules in the following format: Only applicable to the |
config.installerType*required | DownloadAgentInstallerWithVersionPathInstallerType | The type of the installer:
|
config.networkZone | string | The network zone you want the result to be configured with. |
config.osType*required | DownloadAgentInstallerWithVersionPathOsType | The operating system of the installer. |
config.skipMetadata | boolean | Set Only applicable to the |
config.version*required | string | The required version of the OneAgent in You can retrieve the list of available versions with the GET available versions of OneAgent call. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success. The payload contains the installer file. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.downloadAgentInstallerWithVersion({
osType:
DownloadAgentInstallerWithVersionPathOsType.Windows,
installerType:
DownloadAgentInstallerWithVersionPathInstallerType.Default,
version: "...",
});
downloadAgentOrchestrationSignatureWithVersion
Downloads the requested version matching OneAgent deployment orchestration tarball's signature
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Downloading the requested version matching deployment orchestration tarball's signature matching the requested Orchestration Type (ansible, puppet).
Parameters
Name | Type | Description |
---|---|---|
config.orchestrationType*required | DownloadAgentOrchestrationSignatureWithVersionPathOrchestrationType | The Orchestration Type of the orchestration deployment script. |
config.version*required | string | The requested version of the OneAgent deployment orchestration tarball in 0.1.0.20200925-120822 format. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success. The payload contains the installer file. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.downloadAgentOrchestrationSignatureWithVersion(
{
orchestrationType:
DownloadAgentOrchestrationSignatureWithVersionPathOrchestrationType.Ansible,
version: "...",
},
);
downloadAgentOrchestrationWithVersion
Downloads the requested version matching OneAgent deployment orchestration tarball
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Downloading the requested version matching deployment orchestration tarball matching the requested Orchestration Type (ansible, puppet).
Parameters
Name | Type | Description |
---|---|---|
config.orchestrationType*required | DownloadAgentOrchestrationWithVersionPathOrchestrationType | The Orchestration Type of the orchestration deployment script. |
config.version*required | string | The requested version of the OneAgent orchestration deployment tarball in 0.1.0.20200925-120822 format. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success. The payload contains the installer file. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.downloadAgentOrchestrationWithVersion(
{
orchestrationType:
DownloadAgentOrchestrationWithVersionPathOrchestrationType.Ansible,
version: "...",
},
);
downloadBoshReleaseWithVersion
Downloads BOSH release tarballs of the specified version, OneAgent included
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
For SaaS, the call is executed on an Environment ActiveGate. Be sure to use the base of an ActiveGate, not the environment.
Parameters
Name | Type | Description |
---|---|---|
config.networkZone | string | The network zone you want the result to be configured with. |
config.osType*required | DownloadBoshReleaseWithVersionPathOsType | The operating system of the installer. |
config.skipMetadata | boolean | Set If not set, |
config.version*required | string | The required version of the OneAgent in the You can retrieve the list of available versions with the GET available versions of BOSH tarballs call. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success. The payload contains the BOSH release tarball file. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.downloadBoshReleaseWithVersion({
osType:
DownloadBoshReleaseWithVersionPathOsType.Windows,
version: "...",
});
downloadGatewayInstallerWithVersion
Downloads the ActiveGate installer of the specified version
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Parameters
Name | Type | Description |
---|---|---|
config.arch | DownloadGatewayInstallerWithVersionQueryArch | The architecture of your OS:
|
config.ifNoneMatch | string | The ETag of the previous request. Do not download if it matches the ETag of the installer. |
config.networkZone | string | The network zone you want the result to be configured with. Provided network zone must exist, otherwise the request will fail. Requires at least ActiveGate version 1.247. |
config.osType*required | DownloadGatewayInstallerWithVersionPathOsType | The operating system of the installer. |
config.version*required | string | The required version of the ActiveGate installer, in You can retrieve the list of available versions with the GET available versions of ActiveGate call. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success. The payload contains the installer file. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.downloadGatewayInstallerWithVersion(
{
osType:
DownloadGatewayInstallerWithVersionPathOsType.Windows,
version: "...",
},
);
downloadLatestAgentInstaller
Downloads the latest OneAgent installer
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
For the paas
or paas-sh
installer types you can get a configuring installer, by passing additional parameters.
Parameters
Name | Type | Description |
---|---|---|
config.arch | DownloadLatestAgentInstallerQueryArch | The architecture of your OS:
Only applicable to the |
config.bitness | DownloadLatestAgentInstallerQueryBitness | The bitness of your OS. Must be supported by the OS. Only applicable to the |
config.flavor | DownloadLatestAgentInstallerQueryFlavor | The flavor of your Linux distribution:
Only applicable to the |
config.ifNoneMatch | string | The ETag of the previous request. Do not download if it matches the ETag of the installer. |
config.include | Array<DownloadLatestAgentInstallerQueryIncludeItem> | The code modules to be included to the installer. You can specify several modules in the following format: Only applicable to the |
config.installerType*required | DownloadLatestAgentInstallerPathInstallerType | The type of the installer:
|
config.networkZone | string | The network zone you want the result to be configured with. |
config.osType*required | DownloadLatestAgentInstallerPathOsType | The operating system of the installer. |
config.skipMetadata | boolean | Set Only applicable to the |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success. The payload contains the installer file. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.downloadLatestAgentInstaller({
osType: DownloadLatestAgentInstallerPathOsType.Windows,
installerType:
DownloadLatestAgentInstallerPathInstallerType.Default,
});
downloadLatestAgentOrchestration
Downloads the latest OneAgent deployment orchestration tarball
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Downloading the latest available deployment orchestration script tarball matching the requested Orchestration Type (ansible, puppet).
Parameters
Name | Type | Description |
---|---|---|
config.orchestrationType*required | DownloadLatestAgentOrchestrationPathOrchestrationType | The Orchestration Type of the orchestration deployment script. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success. The payload contains the installer file. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.downloadLatestAgentOrchestration({
orchestrationType:
DownloadLatestAgentOrchestrationPathOrchestrationType.Ansible,
});
downloadLatestAgentOrchestrationSignature
Downloads the latest OneAgent deployment orchestration tarball's signature
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Downloading the latest available deployment orchestration tarball's sigature matching the requested Orchestration Type (ansible, puppet).
Parameters
Name | Type | Description |
---|---|---|
config.orchestrationType*required | DownloadLatestAgentOrchestrationSignaturePathOrchestrationType | The Orchestration Type of the orchestration deployment script. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success. The payload contains the installer file. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.downloadLatestAgentOrchestrationSignature(
{
orchestrationType:
DownloadLatestAgentOrchestrationSignaturePathOrchestrationType.Ansible,
},
);
downloadLatestGatewayInstaller
Downloads the configured standard ActiveGate installer of the latest version for the specified OS
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Parameters
Name | Type | Description |
---|---|---|
config.arch | DownloadLatestGatewayInstallerQueryArch | The architecture of your OS:
|
config.ifNoneMatch | string | The ETag of the previous request. Do not download if it matches the ETag of the installer. |
config.networkZone | string | The network zone you want the result to be configured with. Provided network zone must exist, otherwise the request will fail. Requires at least ActiveGate version 1.247. |
config.osType*required | DownloadLatestGatewayInstallerPathOsType | The operating system of the installer. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success. The payload contains the installer file. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.downloadLatestGatewayInstaller({
osType:
DownloadLatestGatewayInstallerPathOsType.Windows,
});
getActiveGateInstallerAvailableVersions
Lists all available versions of ActiveGate installer
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Parameters
Name | Type | Description |
---|---|---|
config.arch | GetActiveGateInstallerAvailableVersionsQueryArch | The architecture of your OS:
|
config.osType*required | GetActiveGateInstallerAvailableVersionsPathOsType | The operating system of the installer. |
Returns
Return type | Status code | Description |
---|---|---|
ActiveGateInstallerVersions | 200 | Success. The payload contains the available versions. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getActiveGateInstallerAvailableVersions(
{
osType:
GetActiveGateInstallerAvailableVersionsPathOsType.Windows,
},
);
getActiveGateInstallerConnectionInfo
Gets the connectivity information for Environment ActiveGate
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Parameters
Name | Type | Description |
---|---|---|
config.defaultZoneFallback | boolean | Set true to perform a fallback to the default network zone if the provided network zone does not exist. |
config.networkZone | string | The network zone you want the result to be configured with. |
Returns
Return type | Status code | Description |
---|---|---|
ActiveGateConnectionInfo | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getActiveGateInstallerConnectionInfo();
getAgentInstallerAvailableVersions
Lists all available versions of OneAgent installer
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Parameters
Name | Type | Description |
---|---|---|
config.arch | GetAgentInstallerAvailableVersionsQueryArch | The architecture of your OS:
Only applicable to the |
config.flavor | GetAgentInstallerAvailableVersionsQueryFlavor | The flavor of your Linux distribution:
Only applicable to the |
config.installerType*required | GetAgentInstallerAvailableVersionsPathInstallerType | The type of the installer:
|
config.osType*required | GetAgentInstallerAvailableVersionsPathOsType | The operating system of the installer. |
Returns
Return type | Status code | Description |
---|---|---|
AgentInstallerVersions | 200 | Success. The payload contains the available versions. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getAgentInstallerAvailableVersions(
{
osType:
GetAgentInstallerAvailableVersionsPathOsType.Windows,
installerType:
GetAgentInstallerAvailableVersionsPathInstallerType.Default,
},
);
getAgentInstallerConnectionInfo
Gets the connectivity information for OneAgent
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Parameters
Name | Type | Description |
---|---|---|
config.defaultZoneFallback | boolean | Set true to perform a fallback to the default network zone if the provided network zone does not exist. |
config.networkZone | string | The network zone you want the result to be configured with. |
config.version | string | The version of the OneAgent for which you're requesting connectivity information, in the Set this parameter to get the best format of endpoint list for optimal performance. |
Returns
Return type | Status code | Description |
---|---|---|
ConnectionInfo | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getAgentInstallerConnectionInfo();
getAgentInstallerConnectionInfoEndpoints
Gets the list of the ActiveGate-Endpoints to be used for Agents ordered by networkzone-priorities.
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Highest priority first, separated by a semicolon.If no network zone provided the default zone is used. Responds with 404 if network zone is not known.
Parameters
Name | Type | Description |
---|---|---|
config.defaultZoneFallback | boolean | Set true to perform a fallback to the default network zone if the provided network zone does not exist. |
config.networkZone | string |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getAgentInstallerConnectionInfoEndpoints();
getAgentInstallerMetaInfo
Gets the latest available version of a OneAgent installer
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
If a standard version is configured, then this is the downloaded version.
Non-required parameters are only applicable to the paas
and paas-sh
installer types.
Parameters
Name | Type | Description |
---|---|---|
config.arch | GetAgentInstallerMetaInfoQueryArch | The architecture of your OS:
Only applicable to the |
config.bitness | GetAgentInstallerMetaInfoQueryBitness | The bitness of your OS. Must be supported by the OS. Only applicable to the |
config.flavor | GetAgentInstallerMetaInfoQueryFlavor | The flavor of your Linux distribution:
Only applicable to the |
config.installerType*required | GetAgentInstallerMetaInfoPathInstallerType | The type of the installer:
|
config.osType*required | GetAgentInstallerMetaInfoPathOsType | The operating system of the installer. |
Returns
Return type | Status code | Description |
---|---|---|
AgentInstallerMetaInfoDto | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getAgentInstallerMetaInfo({
osType: GetAgentInstallerMetaInfoPathOsType.Windows,
installerType:
GetAgentInstallerMetaInfoPathInstallerType.Default,
});
getAgentInstallerWithVersionChecksum
Gets the checksum of a non-customized OneAgent installer
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
The checksum is the sha256 hash of the installer file.
Compare this checksum only with a non-customized OneAgent installer.
To get a non-customized installer, set the skipMetadata query parameter of the download endpoint to true
.
Parameters
Name | Type | Description |
---|---|---|
config.arch | GetAgentInstallerWithVersionChecksumQueryArch | The architecture of your OS:
Only applicable to the |
config.bitness | GetAgentInstallerWithVersionChecksumQueryBitness | The bitness of your OS. Must be supported by the OS. Only applicable to the |
config.flavor | GetAgentInstallerWithVersionChecksumQueryFlavor | The flavor of your Linux distribution:
Only applicable to the |
config.ifNoneMatch | string | The ETag of the previous request. Do not download if it matches the ETag of the installer. |
config.include | Array<GetAgentInstallerWithVersionChecksumQueryIncludeItem> | The code modules to be included to the installer. You can specify several modules in the following format: Only applicable to the |
config.installerType*required | Paas | The type of the installer. |
config.networkZone | string | The network zone you want the result to be configured with. |
config.osType*required | GetAgentInstallerWithVersionChecksumPathOsType | The operating system of the installer. |
config.version*required | string | The required version of the OneAgent in You can retrieve the list of available versions with the GET available versions of OneAgent call. |
Returns
Return type | Status code | Description |
---|---|---|
OneAgentInstallerChecksum | 200 | Success. The payload contains the installer file. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getAgentInstallerWithVersionChecksum(
{
osType:
GetAgentInstallerWithVersionChecksumPathOsType.Windows,
installerType:
GetAgentInstallerWithVersionChecksumPathInstallerType.Paas,
version: "...",
},
);
getAgentProcessModuleConfig
Gets the latest process module config | maturity=EARLY_ADOPTER
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Returns the latest process module config. Passing a previously gotten revision will first do a revision check, and return a 304 response if no changes were detected.
Parameters
Name | Type | Description |
---|---|---|
config.hostgroup | string | The name of the host group the process is part of. |
config.revision | number | The previously received revision to compare against. |
config.sections | string | A list of comma-separated section identifiers to retrieve values for. Supported sections are 'general' and 'agentType'. Defaults to 'general'. |
Returns
Return type | Status code | Description |
---|---|---|
AgentProcessModuleConfigResponse | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getAgentProcessModuleConfig();
getBoshReleaseAvailableVersions
Gets the list of available OneAgent versions for BOSH release tarballs
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Parameters
Name | Type | Description |
---|---|---|
config.osType*required | GetBoshReleaseAvailableVersionsPathOsType | The operating system of the installer. |
Returns
Return type | Status code | Description |
---|---|---|
BoshReleaseAvailableVersions | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getBoshReleaseAvailableVersions({
osType:
GetBoshReleaseAvailableVersionsPathOsType.Windows,
});
getBoshReleaseChecksum
Gets the checksum of the specified BOSH release tarball
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
The checksum is the sha256 hash of the installer file.
Result is not stable if skipMetadata is set to false
.
For SaaS only works on environment ActiveGates version 1.176 or higher
Parameters
Name | Type | Description |
---|---|---|
config.networkZone | string | The network zone you want the result to be configured with. |
config.osType*required | GetBoshReleaseChecksumPathOsType | The operating system of the installer. |
config.skipMetadata | boolean | Set If not set, |
config.version*required | string | The required version of the OneAgent in the You can retrieve the list of available versions with the GET available versions of BOSH tarballs call. |
Returns
Return type | Status code | Description |
---|---|---|
BoshReleaseChecksum | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data = await deploymentClient.getBoshReleaseChecksum({
osType: GetBoshReleaseChecksumPathOsType.Windows,
version: "...",
});
getGatewayInstallerMetaInfo
Gets the latest available version of an ActiveGate installer
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Parameters
Name | Type | Description |
---|---|---|
config.arch | GetGatewayInstallerMetaInfoQueryArch | The architecture of your OS:
|
config.osType*required | GetGatewayInstallerMetaInfoPathOsType | The operating system of the installer. |
Returns
Return type | Status code | Description |
---|---|---|
GatewayInstallerMetaInfoDto | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getGatewayInstallerMetaInfo({
osType: GetGatewayInstallerMetaInfoPathOsType.Windows,
});
getLatestActiveGateImage
Gets the latest available ActiveGate image
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Returns the latest available ActiveGate image
Returns
Return type | Status code | Description |
---|---|---|
ImageDto | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getLatestActiveGateImage();
getLatestAgentImage
Gets the latest available Agent image
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Returns the latest available Agent image while considering default and minimal agent version
Parameters
Name | Type | Description |
---|---|---|
config.agentImageType*required | GetLatestAgentImagePathAgentImageType | Agent Type |
Returns
Return type | Status code | Description |
---|---|---|
ImageDto | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data = await deploymentClient.getLatestAgentImage({
agentImageType:
GetLatestAgentImagePathAgentImageType.OneAgent,
});
getLatestLambdaBuildUnits
Get the latest version names of the OneAgent for AWS Lambda
Required scope: environment-api:deployment:download Required permission: environment:roles:agent-install
Get the latest version names of the OneAgent for the Java, Node.js, and Python AWS Lambda runtimes, also including names for layers that are combined with the log collector, as well as for the standalone log collector layer.
Returns
Return type | Status code | Description |
---|---|---|
LatestLambdaLayerNames | 200 | Success. The payload contains the available versions. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { deploymentClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await deploymentClient.getLatestLambdaBuildUnits();
oneAgentOnAHostClient
import { oneAgentOnAHostClient } from '@dynatrace-sdk/client-classic-environment-v1';
deleteAgentPersistedPotentialProblems
Deletes all detected auto-update blocking problems for this environment. | maturity=EARLY_ADOPTER
Required scope: environment-api:oneagents:read Required permission: environment:roles:manage-settings
Returns
Return type | Status code | Description |
---|---|---|
void | 204 | Success. Response doesn't have a body. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { oneAgentOnAHostClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await oneAgentOnAHostClient.deleteAgentPersistedPotentialProblems();
getAgentPersistedPotentialProblems
Gets a list of cluster-side detected auto-update problems that may block further rollout of a OneAgent version on a particular OS. | maturity=EARLY_ADOPTER
Required scope: environment-api:oneagents:read Required permission: environment:roles:manage-settings
Returns
Return type | Status code | Description |
---|---|---|
AgentPotentialProblemsState | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { oneAgentOnAHostClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await oneAgentOnAHostClient.getAgentPersistedPotentialProblems();
getHostsWithSpecificAgents
Gets the list of hosts with OneAgent deployment information for each host
Required scope: environment-api:oneagents:read Required permission: environment:roles:manage-settings
You can narrow down the output by specifying filtering parameters for the request.
The response is limited to 500 items. Use the nextPageKey cursor to obtain subsequent results.
Parameters
Name | Type | Description |
---|---|---|
config.activeGateId | string | Filters the resulting set of hosts to those that are currently connected to the ActiveGate with the specified ID. Use DIRECT_COMMUNICATION keyword to find the hosts not connected to any ActiveGate. |
config.agentVersionIs | GetHostsWithSpecificAgentsQueryAgentVersionIs | Filters the resulting set of hosts to those that have a certain OneAgent version deployed on the host. Specify the comparison operator here. |
config.agentVersionNumber | string | Filters the resulting set of hosts to those that have a certain OneAgent version deployed on the host. Specify the version in the |
config.autoInjection | GetHostsWithSpecificAgentsQueryAutoInjection | Filters the resulting set of hosts by the auto-injection status. |
config.autoUpdateSetting | GetHostsWithSpecificAgentsQueryAutoUpdateSetting | Filters the resulting set of hosts by the actual state of the auto-update setting of deployed OneAgents. |
config.availabilityState | GetHostsWithSpecificAgentsQueryAvailabilityState | Filters the resulting set of hosts by the availability state of OneAgent.
|
config.cloudType | GetHostsWithSpecificAgentsQueryCloudType | Filters the resulting set of hosts by the cloud type. |
config.detailedAvailabilityState | GetHostsWithSpecificAgentsQueryDetailedAvailabilityState | Filters the resulting set of hosts by the detailed availability state of OneAgent.
|
config.endTimestamp | number | The end timestamp of the requested timeframe, in milliseconds (UTC). If not set, then the current timestamp is used. The timeframe must not exceed 7 months (214 days). |
config.entity | Array<string> | Filters result to the specified hosts only. To specify several hosts use the following format: |
config.faultyVersion | boolean | Filters the resulting set of hosts to those that run OneAgent version that is marked as faulty. |
config.hostGroupId | string | Filters the resulting set of hosts by the specified host group. Specify the Dynatrace entity ID of the required host group. |
config.hostGroupName | string | Filters the resulting set of hosts by the specified host group. Specify the name of the required host group. |
config.includeDetails | boolean | Includes ( Excluding details may make queries faster. If not set, then |
config.managementZone | string | Only return hosts that are part of the specified management zone. Specify the management zone name here. If the managementZoneId parameter is set, this parameter is ignored. |
config.managementZoneId | number | Only return hosts that are part of the specified management zone. Specify the management zone ID here. |
config.monitoringType | GetHostsWithSpecificAgentsQueryMonitoringType | Filters the resulting set of hosts by monitoring mode of OneAgent deployed on the host. |
config.networkZoneId | string | Filters the resulting set of hosts by the specified network zone. Specify the Dynatrace entity ID of the required network zone. You can fetch the list of available network zones with the GET all network zones call. |
config.nextPageKey | string | The cursor for the next page of results, if results do not fit on one page. You can find the cursor value on the current page of the response, in the nextPageKey field. To obtain subsequent pages, you must specify this cursor value in your query, and keep all other query parameters as they were in the original request. If you don't specify the cursor, the first page will always be returned. |
config.osType | GetHostsWithSpecificAgentsQueryOsType | Filters the resulting set of hosts by the OS type. |
config.pluginName | string | Filters the resulting set of hosts to those that run the plugin with the specified name. The CONTAINS operator is applied to the specified value. If several plugin filters are specified, the plugin has to match all the filters. |
config.pluginState | GetHostsWithSpecificAgentsQueryPluginState | Filters the resulting set of hosts to those that run the plugin with the specified state. |
config.pluginVersionIs | GetHostsWithSpecificAgentsQueryPluginVersionIs | Filters the resulting set of hosts to those that have a certain plugin version deployed on the host. Specify the comparison operator here. If several plugin filters are specified, the plugin has to match all the filters. |
config.pluginVersionNumber | string | Filters the resulting set of hosts to those that have a certain plugin version deployed on the host. Specify the version in the
If several plugin filters are specified, the plugin has to match all the filters. |
config.relativeTime | GetHostsWithSpecificAgentsQueryRelativeTime | The relative timeframe, back from now. If you need to specify relative timeframe that is not presented in the list of possible values, specify the startTimestamp (up to 214 days back from now) and leave endTimestamp and relativeTime empty. |
config.startTimestamp | number | The start timestamp of the requested timeframe, in milliseconds (UTC). If not set, then 72 hours behind from now is used. |
config.tag | Array<string> | Filters the resulting set of hosts by the specified tag. You can specify several tags in the following format: In case of key-value tags, such as imported AWS or CloudFoundry tags, use the following format: |
config.technologyModuleFaultyVersion | boolean | Filters the resulting set of hosts to those that run the code module version that is marked as faulty. If several code module filters are specified, the code module has to match all the filters. |
config.technologyModuleType | GetHostsWithSpecificAgentsQueryTechnologyModuleType | Filters the resulting set of hosts to those that run the specified OneAgent code module. If several code module filters are specified, the code module has to match all the filters. |
config.technologyModuleVersionIs | GetHostsWithSpecificAgentsQueryTechnologyModuleVersionIs | Filters the resulting set of hosts to those that have a certain code module version deployed on the host. Specify the comparison operator here. If several code module filters are specified, the code module has to match all the filters. |
config.technologyModuleVersionNumber | string | Filters the resulting set of hosts to those that have a certain code module version deployed on the host. Specify the version in the If several code module filters are specified, the code module has to match all the filters. |
config.unlicensed | boolean | Filters the resulting set of hosts to those that run OneAgent that are unlicensed. Example: Your Dynatrace license is missing the required "Foundation & Discovery" DPS capability for Discovery mode. |
config.updateStatus | GetHostsWithSpecificAgentsQueryUpdateStatus | Filters the resulting set of hosts by the update status of OneAgent deployed on the host. |
Returns
Return type | Status code | Description |
---|---|---|
HostsListPage | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { oneAgentOnAHostClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await oneAgentOnAHostClient.getHostsWithSpecificAgents();
rumJavaScriptTagManagementClient
import { rumJavaScriptTagManagementClient } from '@dynatrace-sdk/client-classic-environment-v1';
getAppRevision
Gets the version of the RUM JavaScript code injected into specified application
Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings
Parameters
Name | Type | Description |
---|---|---|
config.entity*required | string | The Dynatrace entity ID of the application. You can obtain it from the response of the GET the list of manually injected applications call. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumJavaScriptTagManagementClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumJavaScriptTagManagementClient.getAppRevision({
entity: "...",
});
getAsyncCodeSnippet
Downloads the asynchronous code snippet
Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings
This code provides configuration and basic code to be manually inserted into your web application code.
The full functionality of the monitoring code is loaded asynchronously.
Parameters
Name | Type | Description |
---|---|---|
config.entity*required | string | The Dynatrace entity ID of the application. You can obtain it from the response of the GET the list of manually injected applications call. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumJavaScriptTagManagementClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumJavaScriptTagManagementClient.getAsyncCodeSnippet(
{ entity: "..." },
);
getJsAllAvailableVersions
Gets all available RUM JavaScript versions
Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings
Returns
Return type | Status code | Description |
---|---|---|
AllAvailableVersions | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumJavaScriptTagManagementClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumJavaScriptTagManagementClient.getJsAllAvailableVersions();
getJsConfiguredVersions
Gets the configured Latest stable, Previous stable and Custom RUM JavaScript versions
Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings
Returns
Return type | Status code | Description |
---|---|---|
ConfiguredVersions | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumJavaScriptTagManagementClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumJavaScriptTagManagementClient.getJsConfiguredVersions();
getJsInlineScript
Downloads inline code
Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings
Returns the inline code of the most recent OneAgent JavaScript. This is a complete configuration and monitoring code to be manually inserted into your web application code.
Parameters
Name | Type | Description |
---|---|---|
config.entity*required | string | The Dynatrace entity ID of the application. You can obtain it from the response of the GET the list of manually injected applications call. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumJavaScriptTagManagementClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumJavaScriptTagManagementClient.getJsInlineScript({
entity: "...",
});
getJsLatestVersion
Gets the latest version of OneAgent JavaScript library
Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumJavaScriptTagManagementClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumJavaScriptTagManagementClient.getJsLatestVersion();
getJsScript
Downloads OneAgent JavaScript tag
Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings
Returns the OneAgent JavaScript tag. This is a complete configuration and monitoring code to be manually inserted into your web application code.
The monitoring code is loaded as a separate file from a CDN.
Parameters
Name | Type | Description |
---|---|---|
config.entity*required | string | The Dynatrace entity ID of the application. You can obtain it from the response of the GET the list of manually injected applications call. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumJavaScriptTagManagementClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumJavaScriptTagManagementClient.getJsScript({
entity: "...",
});
getJsTagComplete
Downloads JavaScript tag
Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings
Returns a JavaScript tag to be manually inserted into your web application code. The tag references a JavaScript file with full configuration and monitoring code, which causes a lower possible caching duration.
Parameters
Name | Type | Description |
---|---|---|
config.entity*required | string | The Dynatrace entity ID of the application. You can obtain it from the response of the GET the list of manually injected applications call. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumJavaScriptTagManagementClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumJavaScriptTagManagementClient.getJsTagComplete({
entity: "...",
});
getManualApps
Lists all manually injected applications
Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings
Returns
Return type | Status code | Description |
---|---|---|
ManualApplication | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumJavaScriptTagManagementClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumJavaScriptTagManagementClient.getManualApps();
getSyncCodeSnippet
Downloads the synchronous code snippet
Required scope: environment-api:rum:read Required permission: environment:roles:manage-settings
This code provides configuration and basic code to be manually inserted into your web application code.
The full functionality of the monitoring code is loaded synchronously.
Parameters
Name | Type | Description |
---|---|---|
config.entity*required | string | The Dynatrace entity ID of the application. You can obtain it from the response of the GET the list of manually injected applications call. |
Returns
Return type | Status code | Description |
---|---|---|
void | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumJavaScriptTagManagementClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumJavaScriptTagManagementClient.getSyncCodeSnippet(
{ entity: "..." },
);
rumUserSessionsClient
import { rumUserSessionsClient } from '@dynatrace-sdk/client-classic-environment-v1';
getUsqlResultAsTable
Returns the result of the query as a table structure
Required scope: environment-api:usersessionquerylanguage:read Required permission: environment:roles:viewer
The result is a flat list of rows containing the requested columns.
Parameters
Name | Type | Description |
---|---|---|
config.addDeepLinkFields | boolean | Add ( If not set, then |
config.endTimestamp | number | The end timestamp of the query, in UTC milliseconds. If not set or set as If the exact times are important, set the timeframe in the query itself (query parameter). |
config.explain | boolean | Add ( It helps to understand the query and how the result was calculated. If not set, then |
config.offsetUtc | number | Optional offset of local time to UTC time in minutes. Offset will be applied to Date fields encountered in the query. Can be positive or negative. E.g. if the local time is UTC+02:00, the timeOffset is 120. If it is UTC-05:00, timeOffset is -300. |
config.pageOffset | number | Optional offset of the requested results from the start of tabular results. Relates to pageSize. E.g. on a query that might return 500 results, you might want to receive results in chunks of 50 rows. this can be achieved by using pageSize=50, and setting pageOffset in subsequent calls.In the example adding pageOffset=50 returns result rows 51-100. |
config.pageSize | number | Optional limit on how many of the actual query results should be returned in the tabular result. |
config.query*required | string | The user session query to be executed. See USQL documentation page for syntax details. You can find the available columns of the usersession table in the Here is an example of the query: |
config.startTimestamp | number | The start timestamp of the query, in UTC milliseconds. If not set or set as If the exact times are important, set the timeframe in the query itself (query parameter). |
Returns
Return type | Status code | Description |
---|---|---|
UsqlResultAsTable | 200 | Success. The response contains the result of the query. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumUserSessionsClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumUserSessionsClient.getUsqlResultAsTable({
query: "...",
});
getUsqlResultAsTree
Returns the result of the query as a tree structure
Required scope: environment-api:usersessionquerylanguage:read Required permission: environment:roles:viewer
To get a proper tree structure, you need to specify grouping in the query.
Parameters
Name | Type | Description |
---|---|---|
config.addDeepLinkFields | boolean | Add ( If not set, then |
config.endTimestamp | number | The end timestamp of the query, in UTC milliseconds. If not set or set as If the exact times are important, set the timeframe in the query itself (query parameter). |
config.explain | boolean | Add ( It helps to understand the query and how the result was calculated. If not set, then |
config.offsetUtc | number | Optional offset of local time to UTC time in minutes. Offset will be applied to Date fields encountered in the query. Can be positive or negative. E.g. if the local time is UTC+02:00, the timeOffset is 120. If it is UTC-05:00, timeOffset is -300. |
config.query*required | string | The user session query to be executed. See USQL documentation page for syntax details. You can find the available columns of the usersession table in the Here is an example of the query: |
config.startTimestamp | number | The start timestamp of the query, in UTC milliseconds. If not set or set as If the exact times are important, set the timeframe in the query itself (query parameter). |
Returns
Return type | Status code | Description |
---|---|---|
UsqlResultAsTree | 200 | Success. The response contains the result of the query. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { rumUserSessionsClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await rumUserSessionsClient.getUsqlResultAsTree({
query: "...",
});
syntheticLocationsNodesAndConfigurationClient
import { syntheticLocationsNodesAndConfigurationClient } from '@dynatrace-sdk/client-classic-environment-v1';
getNode
Lists properties of the specified synthetic node
Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings
Parameters
Name | Type | Description |
---|---|---|
config.nodeId*required | string | The ID of the required synthetic node. |
Returns
Return type | Status code | Description |
---|---|---|
Node | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await syntheticLocationsNodesAndConfigurationClient.getNode(
{ nodeId: "..." },
);
getNodes
Lists all synthetic nodes available in your environment
Required scope: environment-api:synthetic:read Required permission: environment:roles:manage-settings
Returns
Return type | Status code | Description |
---|---|---|
Nodes | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { syntheticLocationsNodesAndConfigurationClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await syntheticLocationsNodesAndConfigurationClient.getNodes();
syntheticMonitorsClient
import { syntheticMonitorsClient } from '@dynatrace-sdk/client-classic-environment-v1';
addMonitor
Creates a new synthetic monitor
Required scope: environment-api:synthetic-monitors:write Required permission: environment:roles:manage-settings
Parameters
Name | Type |
---|---|
config.body*required | SyntheticMonitorUpdate |
Returns
Return type | Status code | Description |
---|---|---|
EntityIdDto | 200 | Success. The new synthetic monitor has been created. The response contains the Dynatrace entity ID of the new monitor. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { syntheticMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data = await syntheticMonitorsClient.addMonitor({
body: {
enabled: false,
frequencyMin: 10,
locations: ["..."],
manuallyAssignedApps: ["..."],
name: "...",
script: {},
tags: [
{ context: TagWithSourceInfoContext.Aws, key: "..." },
],
type: SyntheticMonitorUpdateType.Browser,
},
});
deleteMonitor
Deletes the specified synthetic monitor
Required scope: environment-api:synthetic-monitors:write Required permission: environment:roles:manage-settings
Parameters
Name | Type | Description |
---|---|---|
config.monitorId*required | string | The ID of the synthetic monitor to be deleted. |
Returns
Return type | Status code | Description |
---|---|---|
void | 204 | Success. The synthetic monitor has been deleted. The response doesn't have a body |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { syntheticMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data = await syntheticMonitorsClient.deleteMonitor({
monitorId: "...",
});
getMonitor
Gets parameters of the specified synthetic monitor
Required scope: environment-api:synthetic-monitors:read Required permission: environment:roles:manage-settings
Parameters
Name | Type | Description |
---|---|---|
config.monitorId*required | string | The ID of the required synthetic monitor |
Returns
Return type | Status code | Description |
---|---|---|
SyntheticMonitor | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { syntheticMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data = await syntheticMonitorsClient.getMonitor({
monitorId: "...",
});
getMonitorsCollection
Lists all synthetic monitors in your Dynatrace environment
Required scope: environment-api:synthetic-monitors:read Required permission: environment:roles:manage-settings
The full list can be lengthy, but you can narrow it down by specifying filter query parameters.
Parameters
Name | Type | Description |
---|---|---|
config.assignedApps | Array<string> | Filters the resulting set of monitors to those assigned to the specified applications. You can specify several applications in the following format: Specify Dynatrace entity IDs of applications here. |
config.credentialId | string | Filters the resulting set of monitors to those using the specified credential set. Specify the ID of the credentials set here. |
config.credentialOwner | string | Filters the resulting set of monitors to those using a credential owned by the specified user. |
config.enabled | boolean | Filters the resulting set of monitors to those which are enabled (true ) or disabled (false ). |
config.location | string | Filters the resulting set of monitors to those assigned to a specified Synthetic location. Specify the ID of the location here. |
config.managementZone | number | Filters the resulting set of monitors to those which are part of the specified management zone. Specify the ID of the management zone here. |
config.tag | Array<string> | Filters the resulting set of monitors by specified tags. You can specify several tags in the following format: In case of key-value tags, such as imported AWS or CloudFoundry tags use following format: |
config.type | string | Filters the resulting set of monitors to those of the specified type: BROWSER or HTTP . |
Returns
Return type | Status code | Description |
---|---|---|
Monitors | 200 | Success |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { syntheticMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data =
await syntheticMonitorsClient.getMonitorsCollection();
replaceMonitor
Updates parameters of the specified synthetic monitor
Required scope: environment-api:synthetic-monitors:write Required permission: environment:roles:manage-settings
Parameters
Name | Type | Description |
---|---|---|
config.body*required | SyntheticMonitorUpdate | |
config.monitorId*required | string | The ID of the synthetic monitor to be updated. |
Returns
Return type | Status code | Description |
---|---|---|
void | 204 | Success. The synthetic monitor has been updated. The response doesn't have a body. |
Throws
Error Type | Error Message |
---|---|
ErrorEnvelopeError | Client side error. | Server side error. |
Code example
import { syntheticMonitorsClient } from "@dynatrace-sdk/client-classic-environment-v1";
const data = await syntheticMonitorsClient.replaceMonitor({
monitorId: "...",
body: {
enabled: false,
frequencyMin: 10,
locations: ["..."],
manuallyAssignedApps: ["..."],
name: "...",
script: {},
tags: [
{ context: TagWithSourceInfoContext.Aws, key: "..." },
],
type: SyntheticMonitorUpdateType.Browser,
},
});
Types
ActiveGateConnectionInfo
Connectivity information for an Environment ActiveGate (except ActiveGate tokens)
Name | Type |
---|---|
communicationEndpoints | string |
tenantToken | string |
tenantUUID | string |
ActiveGateInstallerVersions
A list of available versions of ActiveGate installer.
Name | Type | Description |
---|---|---|
availableVersions | Array<string> | Available versions. |
AgentInstallerMetaInfoDto
Name | Type |
---|---|
latestAgentVersion | string |
AgentInstallerVersions
A list of available versions of OneAgent installer.
Name | Type | Description |
---|---|---|
availableVersions | Array<string> | A list of available versions of OneAgent installer. |
AgentPotentialProblem
One agent auto-update blocking problem for a specific version and OS, with a list of affected hosts.
Name | Type | Description |
---|---|---|
hosts | Array<string> | All hosts that are affected by the auto-update problem, given by ME Identifier |
osType | AgentPotentialProblemOsType | Installer OS type |
version | string | Formatted Installer version |
AgentPotentialProblemsState
All agent potential auto-update problems aggregated over all servers for this tenant.
Name | Type | Description |
---|---|---|
autoUpdateProblems | Array<AgentPotentialProblem> | List of all agent auto-update blocking problems |
AgentProcessModuleConfigResponse
The response to a process module config request.
Name | Type | Description |
---|---|---|
properties | Array<SectionProperty> | The properties and their sections in this response. |
revision | number | The new revision associated with the config. |
AgentVersion
Defines the version of the agent currently running on the entity.
Name | Type | Description |
---|---|---|
major | number | The major version number. |
minor | number | The minor version number. |
revision | number | The revision number. |
sourceRevision | string | A string representation of the SVN revision number. |
timestamp | string | A timestamp string: format "yyyymmdd-hhmmss |
AllAvailableVersions
All available RUM JavaScript versions
Name | Type | Description |
---|---|---|
versions | Array<number> | A list of available RUM JavaScript versions |
AnomalyDetection
The anomaly detection configuration.
Name | Type | Description |
---|---|---|
loadingTimeThresholds | LoadingTimeThresholdsPolicyDto | Performance thresholds configuration. |
outageHandling | OutageHandlingPolicy | Outage handling configuration. |
BoshReleaseAvailableVersions
A list of available OneAgent versions for BOSH release tarballs.
Name | Type | Description |
---|---|---|
availableVersions | Array<string> | A list of available OneAgent versions for BOSH release tarballs. |
BoshReleaseChecksum
The checksum of the BOSH release tarball.
Name | Type | Description |
---|---|---|
sha256 | string | The checksum of the BOSH release tarball. This is the sha256 hash of the installer file. |
BrowserSyntheticMonitor
Browser synthetic monitor. Some fields are inherited from the base SyntheticMonitor
model.
Name | Type | Description |
---|---|---|
anomalyDetection | AnomalyDetection | The anomaly detection configuration. |
automaticallyAssignedApps*required | Array<string> | A set of automatically assigned applications. |
createdFrom*required | SyntheticMonitorCreatedFrom | The origin of a monitor |
enabled*required | boolean | The monitor is enabled (true ) or disabled (false ). |
entityId*required | string | The entity ID of the monitor. |
events | Array<EventDto> | A list of events for this monitor |
frequencyMin*required | number | The frequency of the monitor, in minutes. You can use one of the following values: |
keyPerformanceMetrics | KeyPerformanceMetrics | The key performance metrics configuration. |
locations*required | Array<string> | A list of locations from which the monitor is executed. To specify a location, use its entity ID. |
managementZones*required | Array<ManagementZone> | A set of management zones to which the monitor belongs to. |
manuallyAssignedApps*required | Array<string> | A set of manually assigned applications. |
name*required | string | The name of the monitor. |
script*required | SyntheticMonitorScript | The script of a browser or HTTP monitor. |
tags*required | Array<TagWithSourceInfo> | A set of tags assigned to the monitor. |
type*required | SyntheticMonitorType | Defines the actual set of fields depending on the value. See one of the following objects:
|
BrowserSyntheticMonitorUpdate
Browser synthetic monitor update. Some fields are inherited from base SyntheticMonitorUpdate
model.
Name | Type | Description |
---|---|---|
anomalyDetection | AnomalyDetection | The anomaly detection configuration. |
enabled*required | boolean | The monitor is enabled (true ) or disabled (false ). |
frequencyMin*required | number | The frequency of the monitor, in minutes. You can use one of the following values: |
keyPerformanceMetrics | KeyPerformanceMetrics | The key performance metrics configuration. |
locations*required | Array<string> | A list of locations from which the monitor is executed. To specify a location, use its entity ID. |
manuallyAssignedApps*required | Array<string> | A set of manually assigned applications. |
name*required | string | The name of the monitor. |
script*required | SyntheticMonitorUpdateScript | The script of a browser or HTTP monitor. |
tags*required | Array<TagWithSourceInfo> | A set of tags assigned to the monitor. You can specify only the value of the tag here and the |
type*required | SyntheticMonitorUpdateType | Defines the actual set of fields depending on the value. See one of the following objects:
|
ClusterVersion
Name | Type | Description |
---|---|---|
version | string | The version of the Dynatrace server. |
ConfiguredVersions
Configured LATEST_STABLE, PREVIOUS_STABLE and CUSTOM RUM JavaScript versions.
Name | Type | Description |
---|---|---|
custom | number | The custom configured version of the RUM JavaScript. |
latestIE11Supported | number | The latest IE11 supported version of the RUM JavaScript. |
latestIESupported | number | The latest IE7-10 supported version of the RUM JavaScript. |
latestStable | number | The latest stable version of the RUM JavaScript. |
previousStable | number | The previous stable version of the RUM JavaScript. |
ConnectionInfo
OneAgent connectivity information.
Name | Type | Description |
---|---|---|
communicationEndpoints | Array<string> | The list of endpoints to connect to the Dynatrace environment. The list is sorted by endpoint priority, descending. |
formattedCommunicationEndpoints | Array<string> | The formatted list of endpoints to connect to the Dynatrace environment. |
tenantToken | string | The internal token that is used for authentication when OneAgent connects to the Dynatrace cluster to send data. |
tenantUUID | string | The ID of your Dynatrace environment. |
ConstraintViolation
A list of constraint violations
Name | Type |
---|---|
location | string |
message | string |
parameterLocation | ConstraintViolationParameterLocation |
path | string |
DateProperty
A custom property of the user-action with a date value.
Name | Type | Description |
---|---|---|
key | string | The custom key of the property. |
value | Date | The date value of the property. |
DoubleProperty
A custom property of the user action with a Double value.
Name | Type | Description |
---|---|---|
key | string | The custom key of the property. |
value | number | The floating-point numeric value of the property. |
EntityIdDto
A DTO for entity ID.
Name | Type | Description |
---|---|---|
entityId*required | string | Entity ID to be transferred |
EntityShortRepresentation
The short representation of a Dynatrace entity.
Name | Type | Description |
---|---|---|
description | string | A short description of the Dynatrace entity. |
id*required | string | The ID of the Dynatrace entity. |
name | string | The name of the Dynatrace entity. |
Error
Name | Type | Description |
---|---|---|
code | number | The HTTP status code |
constraintViolations | Array<ConstraintViolation> | A list of constraint violations |
message | string | The error message |
ErrorEnvelope
Name | Type |
---|---|
error | Error |
EventDto
Name | Type | Description |
---|---|---|
entityId*required | string | Event identifier |
name*required | string | Event name |
sequenceNumber*required | number | Event sequence number |
GatewayInstallerMetaInfoDto
Name | Type |
---|---|
latestGatewayVersion | string |
GlobalOutagePolicy
Global outage handling configuration.
Name | Type | Description |
---|---|---|
consecutiveRuns*required | number | Alert if all locations are unable to access the web application X times consecutively. |
Host
Information about the host.
Name | Type | Description |
---|---|---|
agentVersion | AgentVersion | Defines the version of the agent currently running on the entity. |
amiId | string | |
autoInjection | HostAutoInjection | Status of auto-injection |
autoScalingGroup | string | |
awsInstanceId | string | |
awsInstanceType | string | |
awsNameTag | string | The name inherited from AWS. |
awsSecurityGroup | Array<string> | |
azureComputeModeName | HostAzureComputeModeName | |
azureEnvironment | string | |
azureHostNames | Array<string> | |
azureResourceGroupName | string | |
azureResourceId | string | |
azureSiteNames | Array<string> | |
azureSku | HostAzureSku | |
azureVmName | string | |
azureVmScaleSetName | string | |
azureVmSizeLabel | string | |
azureZone | string | |
beanstalkEnvironmentName | string | |
bitness | HostBitness | |
boshAvailabilityZone | string | The Cloud Foundry BOSH availability zone. |
boshDeploymentId | string | The Cloud Foundry BOSH deployment ID. |
boshInstanceId | string | The Cloud Foundry BOSH instance ID. |
boshInstanceName | string | The Cloud Foundry BOSH instance name. |
boshName | string | The Cloud Foundry BOSH name. |
boshStemcellVersion | string | The Cloud Foundry BOSH stemcell version. |
cloudPlatformVendorVersion | string | Defines the cloud platform vendor version. |
cloudType | HostCloudType | |
consumedHostUnits | string | Consumed Host Units. Applicable only for Dynatrace classic licensing |
cpuCores | number | |
customizedName | string | The customized name of the entity |
discoveredName | string | The discovered name of the entity |
displayName | string | The name of the Dynatrace entity as displayed in the UI. |
entityId | string | The Dynatrace entity ID of the required entity. |
esxiHostName | string | |
firstSeenTimestamp | number | The timestamp of when the entity was first detected, in UTC milliseconds |
fromRelationships | HostFromRelationships | |
gceInstanceId | string | The Google Compute Engine instance ID. |
gceInstanceName | string | The Google Compute Engine instance name. |
gceMachineType | string | The Google Compute Engine machine type. |
gceProject | string | The Google Compute Engine project. |
gceProjectId | string | The Google Compute Engine numeric project ID. |
gcePublicIpAddresses | Array<string> | The public IP addresses of the Google Compute Engine. |
gcpZone | string | The Google Cloud Platform Zone. |
hostGroup | HostGroup | |
hypervisorType | HostHypervisorType | |
ipAddresses | Array<string> | |
isMonitoringCandidate | boolean | |
kubernetesCluster | string | The kubernetes cluster the entity is in. |
kubernetesLabels | HostKubernetesLabels | The kubernetes labels defined on the entity. |
kubernetesNode | string | The kubernetes node the entity is in. |
lastSeenTimestamp | number | The timestamp of when the entity was last detected, in UTC milliseconds |
localHostName | string | |
localIp | string | |
logicalCpuCores | number | |
logicalCpus | number | The AIX instance logical CPU count. |
managementZones | Array<EntityShortRepresentation> | The management zones that the entity is part of. |
monitoringMode | HostMonitoringMode | |
networkZoneId | string | The ID of network zone the entity is in. |
oneAgentCustomHostName | string | The custom name defined in OneAgent config. |
openStackInstaceType | string | |
openstackAvZone | string | |
openstackComputeNodeName | string | |
openstackProjectName | string | |
openstackSecurityGroups | Array<string> | |
openstackVmName | string | |
osArchitecture | HostOsArchitecture | |
osType | HostOsType | |
osVersion | string | |
paasAgentVersions | Array<AgentVersion> | The versions of the PaaS agents currently running on the entity. |
paasMemoryLimit | number | |
paasType | HostPaasType | |
publicHostName | string | |
publicIp | string | |
scaleSetName | string | |
simultaneousMultithreading | number | The AIX instance simultaneous threads count. |
softwareTechnologies | Array<TechnologyInfo> | |
tags | Array<TagInfo> | The list of entity tags. |
toRelationships | HostToRelationships | |
userLevel | HostUserLevel | |
virtualCpus | number | The AIX instance virtual CPU count. |
vmwareName | string | |
zosCPUModelNumber | string | The CPU model number. |
zosCPUSerialNumber | string | The CPU serial number. |
zosLpaName | string | Name of the LPAR. |
zosSystemName | string | Name of the system. |
zosTotalGeneralPurposeProcessors | number | Number of assigned processors for this LPAR. |
zosTotalPhysicalMemory | number | Memory assigned to the host (Terabyte). |
zosTotalZiipProcessors | number | Number of assigned support processors for this LPAR. |
zosVirtualization | string | Type of virtualization on the mainframe. |
HostAgentInfo
OneAgent deployment on a host.
Name | Type | Description |
---|---|---|
active | boolean | OneAgent is active (true ) or inactive (false ). |
autoUpdateSetting | HostAgentInfoAutoUpdateSetting | The effective auto-update setting of OneAgent. For host with inherited configuration it is calculated from its parent's configuration |
availabilityState | HostAgentInfoAvailabilityState | The availability state of OneAgent. |
availableVersions | Array<string> | A list of versions OneAgent can be updated to. |
configuredMonitoringEnabled | boolean | Monitoring is enabled (true ) or disabled (false ) in the OneAgent configuration. |
configuredMonitoringMode | HostAgentInfoConfiguredMonitoringMode | Configured monitoring mode of OneAgent. |
number | This field is deprecated and provided for backward compatibility. Use the currentActiveGateIds field instead. | |
currentActiveGateIds | Array<string> | The list of ActiveGate IDs of ActiveGates to which OneAgent is currently connected. |
currentNetworkZoneId | string | The ID of the network zone that OneAgent is using. |
detailedAvailabilityState | HostAgentInfoDetailedAvailabilityState | The detailed availability state of OneAgent. |
faultyVersion | boolean | OneAgent version is faulty (true ) or not (false ). |
hostInfo | Host | Information about the host. |
modules | Array<ModuleInfo> | A list of code modules deployed on the host. |
monitoringType | HostAgentInfoMonitoringType | The monitoring mode of OneAgent. |
plugins | Array<PluginInfo> | A list of plugins deployed on the host. |
unlicensed | boolean | OneAgent is unlicensed. |
updateStatus | HostAgentInfoUpdateStatus | The current update status of OneAgent. |
HostFromRelationships
Name | Type |
---|---|
isNetworkClientOfHost | Array<string> |
HostGroup
Name | Type | Description |
---|---|---|
meId | string | The Dynatrace entity ID of the host group. |
name | string | The name of the Dynatrace entity, displayed in the UI. |
HostKubernetesLabels
The kubernetes labels defined on the entity.
type: Record<string, Record<string, any> | undefined>
HostToRelationships
Name | Type |
---|---|
isNetworkClientOfHost | Array<string> |
isProcessOf | Array<string> |
isSiteOf | Array<string> |
runsOn | Array<string> |
HostsListPage
A list of hosts with OneAgent deployment information for each host.
Name | Type | Description |
---|---|---|
hosts | Array<HostAgentInfo> | A list of hosts with OneAgent deployment information for each host. |
nextPageKey | string | The cursor for the next page of results. Has the value of There might be another page of results even if the current page is empty. |
percentageOfEnvironmentSearched | number | The progress of the environment search, in percent. |
HttpSyntheticMonitor
HTTP synthetic monitor. Some fields are inherited from base SyntheticMonitor
model.
Name | Type | Description |
---|---|---|
anomalyDetection | AnomalyDetection | The anomaly detection configuration. |
automaticallyAssignedApps*required | Array<string> | A set of automatically assigned applications. |
createdFrom*required | SyntheticMonitorCreatedFrom | The origin of a monitor |
enabled*required | boolean | The monitor is enabled (true ) or disabled (false ). |
entityId*required | string | The entity ID of the monitor. |
frequencyMin*required | number | The frequency of the monitor, in minutes. You can use one of the following values: |
locations*required | Array<string> | A list of locations from which the monitor is executed. To specify a location, use its entity ID. |
managementZones*required | Array<ManagementZone> | A set of management zones to which the monitor belongs to. |
manuallyAssignedApps*required | Array<string> | A set of manually assigned applications. |
name*required | string | The name of the monitor. |
requests | Array<RequestDto> | A list of events for this monitor |
script*required | SyntheticMonitorScript | The script of a browser or HTTP monitor. |
tags*required | Array<TagWithSourceInfo> | A set of tags assigned to the monitor. |
type*required | SyntheticMonitorType | Defines the actual set of fields depending on the value. See one of the following objects:
|
HttpSyntheticMonitorUpdate
HTTP synthetic monitor update. Some fields are inherited from base SyntheticMonitorUpdate
model.
Name | Type | Description |
---|---|---|
anomalyDetection | AnomalyDetection | The anomaly detection configuration. |
enabled*required | boolean | The monitor is enabled (true ) or disabled (false ). |
frequencyMin*required | number | The frequency of the monitor, in minutes. You can use one of the following values: |
locations*required | Array<string> | A list of locations from which the monitor is executed. To specify a location, use its entity ID. |
manuallyAssignedApps*required | Array<string> | A set of manually assigned applications. |
name*required | string | The name of the monitor. |
script*required | SyntheticMonitorUpdateScript | The script of a browser or HTTP monitor. |
tags*required | Array<TagWithSourceInfo> | A set of tags assigned to the monitor. You can specify only the value of the tag here and the |
type*required | SyntheticMonitorUpdateType | Defines the actual set of fields depending on the value. See one of the following objects:
|
ImageDto
Name | Type | Description |
---|---|---|
source*required | string | Image location |
tag | null | string | Image tag |
KeyPerformanceMetrics
The key performance metrics configuration.
Name | Type | Description |
---|---|---|
loadActionKpm*required | KeyPerformanceMetricsLoadActionKpm | Defines the key performance metric for load actions. |
xhrActionKpm*required | KeyPerformanceMetricsXhrActionKpm | Defines the key performance metric for XHR actions. |
LatestLambdaLayerNames
Latest OneAgent lambda version names available
Name | Type |
---|---|
collector | string |
java | string |
java_with_collector | string |
nodejs | string |
nodejs_with_collector | string |
python | string |
python_with_collector | string |
LoadingTimeThreshold
The performance threshold rule.
Name | Type | Description |
---|---|---|
eventIndex | number | Specify the event to which an ACTION threshold applies. |
requestIndex | number | Specify the request to which an ACTION threshold applies. |
type*required | LoadingTimeThresholdType | The type of the threshold: total loading time or action loading time. |
valueMs*required | number | Notify if monitor takes longer than X milliseconds to load. |
LoadingTimeThresholdsPolicyDto
Performance thresholds configuration.
Name | Type | Description |
---|---|---|
enabled*required | boolean | Performance threshold is enabled (true ) or disabled (false ). |
thresholds*required | Array<LoadingTimeThreshold> | The list of performance threshold rules. |
LocalOutagePolicy
Local outage handling configuration.
Alert if affectedLocations of locations are unable to access the web application consecutiveRuns times consecutively.
Name | Type | Description |
---|---|---|
affectedLocations*required | number | The number of affected locations to trigger an alert. |
consecutiveRuns*required | number | The number of consecutive fails to trigger an alert. |
LongProperty
A custom property of the user action with a Long value.
Name | Type | Description |
---|---|---|
key | string | The custom key of the property. |
value | number | The Long value of the property. |
ManagementZone
The configuration of a management zone.
Name | Type | Description |
---|---|---|
id*required | string | The ID of the management zone. |
name*required | string | The name of the management zone. |
ManualApplication
Parameters of a manually injected application.
Name | Type | Description |
---|---|---|
applicationId | string | The Dynatrace entity ID of the application. |
displayName | string | The name of the application. |
monitoringEnabled | boolean | Monitoring is enabled (true ) or disabled (false ). |
revision | string | The application settings revision. |
ModuleInfo
OneAgent code module.
Name | Type | Description |
---|---|---|
instances | Array<ModuleInstance> | A list of instances of the code module. |
moduleType | ModuleInfoModuleType | The type of the code module. |
ModuleInstance
An instance of the OneAgent code module.
Name | Type | Description |
---|---|---|
active | boolean | The code module instance is active (true ) or inactive (false ). |
faultyVersion | boolean | The code module version is faulty (true ) or not (false ). |
instanceName | string | The name of the instance. |
moduleVersion | string | The version of the code module. |
MonitorCollectionElement
The short representation of a synthetic monitor.
Name | Type | Description |
---|---|---|
enabled*required | boolean | The state of a synthetic monitor. |
entityId*required | string | The ID of a synthetic object. |
name*required | string | The name of a synthetic object. |
type*required | MonitorCollectionElementType | The type of a synthetic monitor. |
Monitors
A list of synthetic monitors
Name | Type | Description |
---|---|---|
monitors*required | Array<MonitorCollectionElement> | The list of synthetic monitors. |
Node
Configuration of a synthetic node.
A synthetic node is an ActiveGate that is able to execute synthetic monitors.
Name | Type | Description |
---|---|---|
activeGateVersion*required | string | The version of the Active Gate. |
autoUpdateEnabled*required | boolean | The Active Gate has the Auto update option enabled ('true') or not ('false') |
browserMonitorsEnabled*required | boolean | The synthetic node is able to execute browser monitors (true ) or not (false ). |
browserType*required | string | The browser type. |
browserVersion*required | string | The browser version. |
entityId*required | string | The ID of the synthetic node. |
healthCheckStatus*required | string | The health check status of the synthetic node. |
hostname*required | string | The hostname of the synthetic node. |
ips*required | Array<string> | The IP of the synthetic node. |
oneAgentRoutingEnabled*required | boolean | The Active Gate has the One Agent routing enabled ('true') or not ('false'). |
operatingSystem*required | string | The Active Gate's host operating system. |
playerVersion*required | string | The version of the synthetic player. |
status*required | string | The status of the synthetic node. |
version*required | string | The version of the synthetic node. |
NodeCollectionElement
The short representation of a synthetic object. Only contains the ID and the display name.
Name | Type | Description |
---|---|---|
activeGateVersion*required | string | The version of the Active Gate. |
autoUpdateEnabled*required | boolean | The Active Gate has the Auto update option enabled ('true') or not ('false') |
browserMonitorsEnabled*required | boolean | Browser check capabilities enabled flag. |
entityId*required | string | The ID of a node. |
healthCheckStatus*required | string | The health check status of the synthetic node. |
hostname*required | string | The hostname of a node. |
ips*required | Array<string> | The IP of a node. |
oneAgentRoutingEnabled*required | boolean | The Active Gate has the One Agent routing enabled ('true') or not ('false'). |
operatingSystem*required | string | The Active Gate's host operating system. |
playerVersion*required | string | The version of the synthetic player. |
status*required | string | The status of the synthetic node. |
version*required | string | The version of a node |
Nodes
A list of synthetic nodes
Name | Type | Description |
---|---|---|
nodes*required | Array<NodeCollectionElement> | A list of synthetic nodes |
OneAgentInstallerChecksum
The checksum of the OneAgent installer.
Name | Type | Description |
---|---|---|
sha256 | string | The checksum of the OneAgent installer. This is the sha256 hash of the installer file. |
OutageHandlingPolicy
Outage handling configuration.
Name | Type | Description |
---|---|---|
globalOutage*required | boolean | When enabled (true ), generate a problem and send an alert when the monitor is unavailable at all configured locations. |
globalOutagePolicy | null | GlobalOutagePolicy | Global outage handling configuration. |
localOutage*required | boolean | When enabled (true ), generate a problem and send an alert when the monitor is unavailable for one or more consecutive runs at any location. |
localOutagePolicy*required | LocalOutagePolicy | Local outage handling configuration. Alert if affectedLocations of locations are unable to access the web application consecutiveRuns times consecutively. |
retryOnError | boolean | Schedule retry if browser monitor execution results in a fail. For HTTP monitors this property is ignored. default: true |
PluginInfo
OneAgent plugin.
Name | Type | Description |
---|---|---|
instances | Array<PluginInstance> | A list of instances of the plugin. |
pluginName | string | The name of the plugin. |
PluginInstance
An instance of the OneAgent plugin.
Name | Type | Description |
---|---|---|
pluginVersion | string | The version of the plugin. |
state | string | The state of the plugin instance. |
RequestDto
Name | Type | Description |
---|---|---|
entityId*required | string | Request identifier |
name*required | string | Request name |
sequenceNumber*required | number | Request sequence number |
SectionProperty
A single agent property with it's associated section.
Name | Type | Description |
---|---|---|
key | string | The property key. |
section | string | The section this property belongs to. |
value | string | The property value. |
StringProperty
A custom property of the user action with a string value.
Name | Type | Description |
---|---|---|
key | string | The custom key of the property. |
value | string | The string value of the property. |
SyntheticMonitor
The synthetic monitor.
The actual set of fields depends the type of the monitor. Find the list of actual objects in the description of the type field or see Synthetic monitors API - JSON models.
Name | Type | Description |
---|---|---|
anomalyDetection | AnomalyDetection | The anomaly detection configuration. |
automaticallyAssignedApps*required | Array<string> | A set of automatically assigned applications. |
createdFrom*required | SyntheticMonitorCreatedFrom | The origin of a monitor |
enabled*required | boolean | The monitor is enabled (true ) or disabled (false ). |
entityId*required | string | The entity ID of the monitor. |
frequencyMin*required | number | The frequency of the monitor, in minutes. You can use one of the following values: |
locations*required | Array<string> | A list of locations from which the monitor is executed. To specify a location, use its entity ID. |
managementZones*required | Array<ManagementZone> | A set of management zones to which the monitor belongs to. |
manuallyAssignedApps*required | Array<string> | A set of manually assigned applications. |
name*required | string | The name of the monitor. |
script*required | SyntheticMonitorScript | The script of a browser or HTTP monitor. |
tags*required | Array<TagWithSourceInfo> | A set of tags assigned to the monitor. |
type*required | SyntheticMonitorType | Defines the actual set of fields depending on the value. See one of the following objects:
|
SyntheticMonitorUpdate
The synthetic monitor update.
The actual set of fields depends the type of the monitor. Find the list of actual objects in the description of the type field or see Synthetic monitors API - JSON models.
Name | Type | Description |
---|---|---|
anomalyDetection | AnomalyDetection | The anomaly detection configuration. |
enabled*required | boolean | The monitor is enabled (true ) or disabled (false ). |
frequencyMin*required | number | The frequency of the monitor, in minutes. You can use one of the following values: |
locations*required | Array<string> | A list of locations from which the monitor is executed. To specify a location, use its entity ID. |
manuallyAssignedApps*required | Array<string> | A set of manually assigned applications. |
name*required | string | The name of the monitor. |
script*required | SyntheticMonitorUpdateScript | The script of a browser or HTTP monitor. |
tags*required | Array<TagWithSourceInfo> | A set of tags assigned to the monitor. You can specify only the value of the tag here and the |
type*required | SyntheticMonitorUpdateType | Defines the actual set of fields depending on the value. See one of the following objects:
|
TagInfo
Tag of a Dynatrace entity.
Name | Type | Description |
---|---|---|
context*required | TagInfoContext | The origin of the tag, such as AWS or Cloud Foundry. Custom tags use the |
key*required | string | The key of the tag. Custom tags have the tag value here. |
value | string | The value of the tag. Not applicable to custom tags. |
TagWithSourceInfo
Tag with source of a Dynatrace entity.
Name | Type | Description |
---|---|---|
context*required | TagWithSourceInfoContext | The origin of the tag, such as AWS or Cloud Foundry. Custom tags use the |
key*required | string | The key of the tag. Custom tags have the tag value here. |
source | TagWithSourceInfoSource | The source of the tag, such as USER, RULE_BASED or AUTO |
value | string | The value of the tag. Not applicable to custom tags. |
TechnologyInfo
Name | Type |
---|---|
edition | string |
type | string |
version | string |
UserSession
A user session, encompassing multiple user actions and additional information about a user's visit.
Name | Type | Description |
---|---|---|
appVersion | string | The version of the application where the user session has been recorded. This information is provided by another integration, such as OpenKit. |
applicationType | UserSessionApplicationType | The type of the application used in the user session. |
bounce | boolean | The user session has ( A bounce means there is only one (or less) user action in the user session. |
browserFamily | string | The family of the browser used for the user session. |
browserMajorVersion | string | The version of the browser used for the user session. |
browserMonitorId | string | The ID of the Synthetic browser monitor that created the session. |
browserMonitorName | string | The name of the Synthetic browser monitor that created the session. |
browserType | string | The type of browser used for the user session. |
carrier | string | The carrier information of the mobile user session. |
city | string | The city from which the user session originates (based on the IP address). |
clientTimeOffset | number | The time offset of the client, in milliseconds |
clientType | string | Additional information about the client. This field can not be queried via the user session query language. Use the browserType field instead. |
connectionType | UserSessionConnectionType | The serialized connection type of the mobile user session. |
continent | string | The continent from which the user session originates (based on the IP address). |
country | string | The country from which the user session originates (based on the IP address). |
crashGroupId | string | If a mobile session crashed, this is the ID of the group to which the crashed session belongs. If the session did not crash or the session is not a mobile session, it has the |
dateProperties | Array<DateProperty> | A list of custom properties of the user session with date values. |
device | string | The detected device used for the user session. |
displayResolution | UserSessionDisplayResolution | The detected screen resolution of the device used for the user session. |
doubleProperties | Array<DoubleProperty> | A list of custom properties of the user session with floating-point numerical values. |
duration | number | The duration of the user session, in milliseconds. This is calculated as the amount of time between the start of the first user action and the end of the last user action. |
endReason | UserSessionEndReason | The reason for the end of the user session. |
endTime | number | The timestamp of the last user action in the user session, in UTC milliseconds. |
errors | Array<UserSessionErrors> | A list of errors recorded in the user session. |
events | Array<UserSessionEvents> | A list of additional events recorded in the user session. |
hasCrash | boolean | The user session includes (true ) or doesn't include (false ) a crash. |
hasError | boolean | The user session includes (true ) or doesn't include (false ) an error. |
hasSessionReplay | boolean | Session Replay is (true ) or is not (false ) available for the session. |
internalUserId | string | The unique ID of the user that triggered the user session. |
ip | string | The IP address (IPv4 or IPv6) from which the user session originates. |
isp | string | The internet service provider from which the user session originates (based on the IP address). |
longProperties | Array<LongProperty> | A list of custom properties of the user session with integer (short or long) values. |
manufacturer | string | The detected manufacturer of the device used for the user session. |
matchingConversionGoals | Array<string> | A list of conversion goals achieved by the user session. Additionally, you can define conversion goals for a single user action. |
matchingConversionGoalsCount | number | The number of conversion goals achieved by the user session. |
networkTechnology | string | The network technology information of the mobile user session. |
newUser | boolean | The user is a first-time (true ) or a returning user (false ). |
numberOfRageClicks | number | The number of rage clicks detected in the user session. |
numberOfRageTaps | number | The number of rage taps detected in the user session. |
osFamily | string | The type of operating system used for the user session. |
osVersion | string | The version of the operating system used for the user session. |
partNumber | number | User sessions can be split into multiple parts for various technical reasons (e.g. after 200 user actions). This partNumber represents the number of each part of the overall user session. |
reasonForNoSessionReplay | UserSessionReasonForNoSessionReplay | The reason for absence of Session Replay. |
reasonForNoSessionReplayMobile | UserSessionReasonForNoSessionReplayMobile | The reason for absence of Session Replay on mobile. |
region | string | The region from which the user session originates (based on the IP address). |
replayEnd | number | The timestamp of the Session Replay end, in UTC milliseconds. |
replayStart | number | The timestamp of the Session Replay start, in UTC milliseconds. |
rootedOrJailbroken | boolean | The mobile device is rooted/jailbroken ( Has the value of |
screenHeight | number | The detected screen height of the device used for the user session. |
screenOrientation | UserSessionScreenOrientation | The detected screen orientation of the device used on the device for the user session. |
screenWidth | number | The detected screen width of the device used for the user session. |
startTime | number | The timestamp of the first user action in the user session, in UTC milliseconds. |
stringProperties | Array<StringProperty> | A list of custom properties of the user session with string values. |
syntheticEvents | Array<UserSessionSyntheticEvent> | A list of synthetic events recorded in the user session. |
tenantId | string | The ID of the Dynatrace environment that captured the user session. This field can not be queried via the User Session Query Language. |
totalErrorCount | number | The number of errors detected in the user session. |
totalLicenseCreditCount | number | Number of resulting billed sessions: Dynatrace classic licensing, Dynatrace Platform Subscription. |
userActionCount | number | The number of user actions in the user session. |
userActions | Array<UserSessionUserAction> | A list of user actions recorded in the user session. |
userExperienceScore | UserSessionUserExperienceScore | The user experience score of the user session. |
userId | string | The user ID provided for the user session by session tagging. |
userSessionId | string | The unique ID of the user session. |
userType | UserSessionUserType | The type of the user. Indicates either a real human user (REAL_USER ) or a robot (ROBOT or SYNTHETIC ). |
UserSessionErrors
The error of a user session.
Name | Type | Description |
---|---|---|
application | string | The name of the application, based on the configured detection rules. |
domain | string | The DNS domain where the error has been recorded. |
internalApplicationId | string | The Dynatrace entity ID of the application. This information is useful when calling various REST APIs, for example, as a key for time series queries. |
name | string | The name of the error. |
startTime | number | The timestamp of the error, in UTC milliseconds. |
type | UserSessionErrorsType | The type of error. |
UserSessionEvents
The external event of a user session.
Name | Type | Description |
---|---|---|
application | string | The name of the application, based on the configured detection rules. |
domain | string | The DNS domain where the event has been recorded. |
internalApplicationId | string | The Dynatrace entity ID of the application. This information is useful when calling various REST APIs, for example, as a key for time series queries. |
metadata | string | The metadata attached to the event. |
name | string | The name of the event. |
page | string | The name of the page the user navigated to during a page change event. |
pageGroup | string | The page group is automatically derived from the page. |
pageReferrer | string | The name of the previous page from which the user navigated from during a page change event. |
pageReferrerGroup | string | The page referrer group is automatically derived from the page referrer. |
startTime | number | The timestamp of the event, in UTC milliseconds. |
type | UserSessionEventsType | The type of event. |
UserSessionSyntheticEvent
A synthetic event of a user session.
Name | Type | Description |
---|---|---|
errorCode | number | The error code of the error that occurred during this event. |
errorName | string | Description of the error that occurred during this event. |
name | string | The name of the synthetic event. |
sequenceNumber | number | The sequence number of the synthetic event in scope of the complete browser monitor. |
syntheticEventId | string | The Dynatrace entity ID for the synthetic event. |
timestamp | number | The timestamp when the synthetic event was simulated, in UTC milliseconds. |
type | string | The type of the synthetic event. For example click or keystroke. |
UserSessionUserAction
A user action.
A user action is a single action performed by the user as part of a user session, for example a mouse click.
Name | Type | Description |
---|---|---|
apdexCategory | UserSessionUserActionApdexCategory | The user experience index of the user action. |
application | string | The name of the application where the user action has been recorded. |
cdnBusyTime | number | The time spent waiting for CDN resources for the user action, in milliseconds. |
cdnResources | number | The number of resources fetched from a CDN for the user action. |
cumulativeLayoutShift | number | The cumulative layout shift (CLS) is the total amount of all individual scores for every unexpected layout shift that occurs during the entire lifespan of the page. The CLS is an important user-centric metric for measuring visual stability. It quantifies how often users experience unexpected layout shifts. A low CLS indicates that the page is delightful. |
customErrorCount | number | The total number of custom errors during the user action. |
dateProperties | Array<DateProperty> | A list of custom properties of the user session with date values. |
documentInteractiveTime | number | The amount of time spent until the document for the user action became interactive, in milliseconds. |
domCompleteTime | number | The amount of time until the DOM tree is completed, in milliseconds. |
domContentLoadedTime | number | The amount of time until the DOM tree is loaded, in milliseconds. |
domain | string | The DNS domain where the user action has been recorded. |
doubleProperties | Array<DoubleProperty> | A list of custom properties of the user session with floating-point numerical values. |
duration | number | The duration of the user action, in milliseconds. This is calculated as the of time between the start and the end timestamps of the user action. |
endTime | number | The end timestamp of the user action, in UTC milliseconds. |
firstInputDelay | number | The first input delay (FID) is the time (in milliseconds) that the browser took to respond to the first user input. The FID is an important user-centric metric for measuring load responsiveness. It quantifies the user experience when trying to interact with unresponsive pages. A low FID indicates that the page is usable. |
firstPartyBusyTime | number | The time spent waiting for resources from the originating server for the user action, in milliseconds. |
firstPartyResources | number | The number of resources fetched from the originating server for the user action. |
frontendTime | number | The amount of time spent on the frontend rendering for the user action, in milliseconds. |
hasCrash | boolean | The user action has (true ) or doesn't have (false ) a crash. |
internalApplicationId | string | The Dynatrace entity ID of the application where the user action has been recorded. This information is useful when calling various REST APIs, for example as a key for time series queries. |
internalKeyUserActionId | string | The Dynatrace entity ID of the key user action. |
javascriptErrorCount | number | The total number of Javascript errors during the user action. |
keyUserAction | boolean | The action is (true ) or is not (false ) a key action. |
largestContentfulPaint | number | The largest contentful paint (LCP) is the time (in milliseconds) that the largest element on the page took to render. The LCP is an important user-centric metric for measuring load speed. It marks the point when the page's main content is likely loaded. A low LCP indicates that the page loads quickly. |
loadEventEnd | number | The amount of time until the load event ended, in milliseconds. |
loadEventStart | number | The amount of time until the load event started, in milliseconds. |
longProperties | Array<LongProperty> | A list of custom properties of the user session with integer (short or long) values. |
matchingConversionGoals | Array<string> | A list of conversion goals achieved by the user action. Additionally, you can define conversion goals for a user session as a whole. |
name | string | The name of the user action. Typically, this is the name of the page that is loaded as part of a user action or a textual description of the action, such as a mouse click. |
navigationStart | number | The timestamp of the navigation start, in UTC milliseconds. |
networkTime | number | The amount of time spent on the data transfer for the user action, in milliseconds. |
requestErrorCount | number | The total number of request errors during the user action. |
requestStart | number | The amount of time until the request started, in milliseconds. |
responseEnd | number | The amount of time until the response ended, in milliseconds. |
responseStart | number | The amount of time until the response started, in milliseconds. |
serverTime | number | The amount of time spent on the server-side processing for the user action, in milliseconds. |
speedIndex | number | The speed index of the user action, in milliseconds. This is calculated as average time it takes for all visible parts of a page to display. |
startTime | number | The start timestamp of the user action, in UTC milliseconds. |
stringProperties | Array<StringProperty> | A list of custom properties of the user session with string values. |
syntheticEvent | string | The name of the Synthetic event that triggered the user action. |
syntheticEventId | string | The ID of the Synthetic event that triggered the user action. |
targetUrl | string | The target URL of the user action. |
thirdPartyBusyTime | number | The time spent waiting for third party resources for the user action, in milliseconds. |
thirdPartyResources | number | The number of third party resources loaded for the user action. |
number | The total blocking time is the total time (in milliseconds) between the first contentful paint and the time to interactive, during which the browser has been blocked long enough to prevent input responsiveness. | |
type | UserSessionUserActionType | The type of the user action. |
userActionPropertyCount | number | The total number of properties in the user action. |
visuallyCompleteTime | number | The amount of time until the page is visually complete, in milliseconds. |
UsqlResultAsTable
The user session query result as a table.
Name | Type | Description |
---|---|---|
additionalColumnNames | Array<string> | A list of columns in the additionalValues table. Only present if the endpoint was called with |
additionalValues | Array<Array<any>> | A list of data rows. Each array element represents a row in the table of additionally linked fields. The size of each data row and the order of the elements correspond to the additionalColumnNames content. Only present if the endpoint was called with |
columnNames | Array<string> | A list of columns in the result table. |
explanations | Array<string> | Additional information about the query and the result, that helps to understand the query and how the result was calculated. Only appears when the explain parameter is set to Example: The number of results was limited to the default of 50. Use the |
extrapolationLevel | number | The extrapolation level of the result. To improve performance, some results may be calculated from a subset of actual data. The extrapolation level indicates the share of actual data in the result. The number is the denominator of a fraction and indicates the amount of actual data. The value If you need the analysis to be based on the actual data, reduce the timeframe of your query. For example, in case of extrapolation level of |
values | Array<Array<any>> | A list of data rows. Each array element represents a row in the result table. The size of each data row and the order of the elements correspond to the columnNames content. |
UsqlResultAsTree
The user session query result as a tree.
Name | Type | Description |
---|---|---|
additionalColumnNames | Array<string> | A list of columns in the additionalValues table. Only present if the endpoint was called with |
additionalValues | Array<Array<any>> | A list of data rows. Each array element represents a row in the table of additionally linked fields. The size of each data row and the order of the elements correspond to the additionalColumnNames content. Only present if the endpoint was called with |
branchNames | Array<string> | A list of branches of the tree. Typically, these are fields from the |
explanations | Array<string> | Additional information about the query and the result, that helps to understand the query and how the result was calculated. Only appears when the explain parameter is set to Example: The number of results was limited to the default of 50. Use the |
extrapolationLevel | number | The extrapolation level of the result. To improve performance, some results may be calculated from a subset of actual data. The extrapolation level indicates the share of actual data in the result. The number is the denominator of a fraction and indicates the amount of actual data. The value If you need the analysis to be based on the actual data, reduce the timeframe of your query. For example, in case of extrapolation level of |
leafNames | Array<string> | A list of leaves on each tree branch. Typically, these are fields from the |
values | any | The user session query result as a tree. |
Enums
AgentPotentialProblemOsType
ConstraintViolationParameterLocation
Enum keys
Header
| Path
| PayloadBody
| Query
DownloadAgentInstallerWithVersionPathInstallerType
Enum keys
Default
| DefaultUnattended
| Mainframe
| Paas
| PaasSh
DownloadAgentInstallerWithVersionPathOsType
Enum keys
Aix
| Solaris
| Unix
| Windows
| Zos
DownloadAgentInstallerWithVersionQueryArch
Enum keys
All
| Arm
| Ppc
| Ppcle
| S390
| Sparc
| X86
DownloadAgentInstallerWithVersionQueryBitness
Enum keys
All
| _32
| _64
DownloadAgentInstallerWithVersionQueryFlavor
Enum keys
Default
| Multidistro
| Musl
DownloadAgentInstallerWithVersionQueryIncludeItem
Enum keys
All
| Apache
| Dotnet
| Envoy
| Go
| Java
| JavaGraalNative
| Nginx
| Nodejs
| Php
| Sdk
DownloadAgentOrchestrationSignatureWithVersionPathOrchestrationType
Enum keys
Ansible
| Puppet
DownloadAgentOrchestrationWithVersionPathOrchestrationType
Enum keys
Ansible
| Puppet
DownloadBoshReleaseWithVersionPathOsType
Enum keys
Unix
| Windows
DownloadGatewayInstallerWithVersionPathOsType
Enum keys
Unix
| Windows
DownloadGatewayInstallerWithVersionQueryArch
Enum keys
All
| Amd64
| Arm64
| S390
DownloadLatestAgentInstallerPathInstallerType
Enum keys
Default
| DefaultUnattended
| Mainframe
| Paas
| PaasSh
DownloadLatestAgentInstallerPathOsType
Enum keys
Aix
| Solaris
| Unix
| Windows
| Zos
DownloadLatestAgentInstallerQueryArch
Enum keys
All
| Arm
| Ppc
| Ppcle
| S390
| Sparc
| X86
DownloadLatestAgentInstallerQueryBitness
Enum keys
All
| _32
| _64
DownloadLatestAgentInstallerQueryFlavor
Enum keys
Default
| Multidistro
| Musl
DownloadLatestAgentInstallerQueryIncludeItem
Enum keys
All
| Apache
| Dotnet
| Envoy
| Go
| Java
| JavaGraalNative
| Nginx
| Nodejs
| Php
| Sdk
DownloadLatestAgentOrchestrationPathOrchestrationType
Enum keys
Ansible
| Puppet
DownloadLatestAgentOrchestrationSignaturePathOrchestrationType
Enum keys
Ansible
| Puppet
DownloadLatestGatewayInstallerPathOsType
Enum keys
Unix
| Windows
DownloadLatestGatewayInstallerQueryArch
Enum keys
All
| Amd64
| Arm64
| S390
GetActiveGateInstallerAvailableVersionsPathOsType
Enum keys
Unix
| Windows
GetActiveGateInstallerAvailableVersionsQueryArch
Enum keys
All
| Amd64
| Arm64
| S390
GetAgentInstallerAvailableVersionsPathInstallerType
Enum keys
Default
| DefaultUnattended
| Mainframe
| Paas
| PaasSh
GetAgentInstallerAvailableVersionsPathOsType
Enum keys
Aix
| Solaris
| Unix
| Windows
| Zos
GetAgentInstallerAvailableVersionsQueryArch
Enum keys
All
| Arm
| Ppc
| Ppcle
| S390
| Sparc
| X86
GetAgentInstallerAvailableVersionsQueryFlavor
Enum keys
Default
| Multidistro
| Musl
GetAgentInstallerMetaInfoPathInstallerType
Enum keys
Default
| DefaultUnattended
| Mainframe
| Paas
| PaasSh
GetAgentInstallerMetaInfoPathOsType
Enum keys
Aix
| Solaris
| Unix
| Windows
| Zos
GetAgentInstallerMetaInfoQueryArch
Enum keys
All
| Arm
| Ppc
| Ppcle
| S390
| Sparc
| X86
GetAgentInstallerMetaInfoQueryBitness
Enum keys
All
| _32
| _64
GetAgentInstallerMetaInfoQueryFlavor
Enum keys
Default
| Multidistro
| Musl
GetAgentInstallerWithVersionChecksumPathInstallerType
Enum keys
Paas
GetAgentInstallerWithVersionChecksumPathOsType
Enum keys
Aix
| Solaris
| Unix
| Windows
| Zos
GetAgentInstallerWithVersionChecksumQueryArch
Enum keys
All
| Arm
| Ppc
| Ppcle
| S390
| Sparc
| X86
GetAgentInstallerWithVersionChecksumQueryBitness
Enum keys
All
| _32
| _64
GetAgentInstallerWithVersionChecksumQueryFlavor
Enum keys
Default
| Multidistro
| Musl
GetAgentInstallerWithVersionChecksumQueryIncludeItem
Enum keys
All
| Apache
| Dotnet
| Envoy
| Go
| Java
| JavaGraalNative
| Nginx
| Nodejs
| Php
| Sdk
GetBoshReleaseAvailableVersionsPathOsType
Enum keys
Unix
| Windows
GetBoshReleaseChecksumPathOsType
Enum keys
Unix
| Windows
GetGatewayInstallerMetaInfoPathOsType
Enum keys
Unix
| Windows
GetGatewayInstallerMetaInfoQueryArch
Enum keys
All
| Amd64
| Arm64
| S390
GetHostsWithSpecificAgentsQueryAgentVersionIs
Enum keys
Equal
| Greater
| GreaterEqual
| Lower
| LowerEqual
GetHostsWithSpecificAgentsQueryAutoInjection
Enum keys
DisabledManually
| DisabledOnInstallation
| DisabledOnSanityCheck
| Enabled
| FailedOnInstallation
GetHostsWithSpecificAgentsQueryAutoUpdateSetting
Enum keys
Disabled
| Enabled
GetHostsWithSpecificAgentsQueryAvailabilityState
Enum keys
Crashed
| Lost
| Monitored
| PreMonitored
| Shutdown
| UnexpectedShutdown
| Unknown
| Unmonitored
GetHostsWithSpecificAgentsQueryCloudType
Enum keys
Azure
| Ec2
| GoogleCloudPlatform
| Openstack
| Oracle
| Unrecognized
GetHostsWithSpecificAgentsQueryDetailedAvailabilityState
Enum keys
CrashedFailure
| CrashedUnknown
| LostAgentUpgradeFailed
| LostConnection
| LostUnknown
| Monitored
| MonitoredAgentEnabled
| MonitoredAgentRegistered
| MonitoredAgentUpgradeStarted
| MonitoredAgentVersionAccepted
| MonitoredEnabled
| PreMonitored
| ShutdownAgentLost
| ShutdownGraceful
| ShutdownK8SNodeShutdown
| ShutdownSpotInstance
| ShutdownStopped
| ShutdownUnknown
| ShutdownUnknownUnexpected
| Unknown
| UnmonitoredAgentDisabled
| UnmonitoredAgentLost
| UnmonitoredAgentRestartTriggered
| UnmonitoredAgentStopped
| UnmonitoredAgentUninstalled
| UnmonitoredAgentUnregistered
| UnmonitoredAgentUpgradeFailed
| UnmonitoredAgentVersionRejected
| UnmonitoredDisabled
| UnmonitoredIdChanged
| UnmonitoredTerminated
| UnmonitoredUnknown
GetHostsWithSpecificAgentsQueryMonitoringType
Enum keys
CloudInfrastructure
| Discovery
| FullStack
| Standalone
GetHostsWithSpecificAgentsQueryOsType
Enum keys
Aix
| Darwin
| Hpux
| Linux
| Solaris
| Windows
| Zos
GetHostsWithSpecificAgentsQueryPluginState
Enum keys
Disabled
| ErrorAuth
| ErrorCommunicationFailure
| ErrorConfig
| ErrorTimeout
| ErrorUnknown
| Incompatible
| LimitReached
| NothingToReport
| Ok
| StateTypeUnknown
| Uninitialized
| Unsupported
| WaitingForState
GetHostsWithSpecificAgentsQueryPluginVersionIs
Enum keys
Equal
| Greater
| GreaterEqual
| Lower
| LowerEqual
GetHostsWithSpecificAgentsQueryRelativeTime
Enum keys
Day
| Hour
| Min
| Month
| Week
| _10mins
| _15mins
| _2hours
| _30mins
| _3days
| _5mins
| _6hours
GetHostsWithSpecificAgentsQueryTechnologyModuleType
Enum keys
Apache
| DotNet
| Dumpproc
| Go
| IbmIntegrationBus
| Iis
| Java
| LogAnalytics
| Nettracer
| Network
| Nginx
| NodeJs
| Opentracingnative
| Php
| Process
| Python
| Ruby
| Sdk
| Updater
| Varnish
| ZOs
GetHostsWithSpecificAgentsQueryTechnologyModuleVersionIs
Enum keys
Equal
| Greater
| GreaterEqual
| Lower
| LowerEqual
GetHostsWithSpecificAgentsQueryUpdateStatus
Enum keys
Incompatible
| Outdated
| Scheduled
| Suppressed
| Unknown
| Up2Date
| UpdateInProgress
| UpdatePending
| UpdateProblem
GetLatestAgentImagePathAgentImageType
Enum keys
CodeModules
| OneAgent
HostAgentInfoAutoUpdateSetting
The effective auto-update setting of OneAgent. For host with inherited configuration it is calculated from its parent's configuration
Enum keys
Disabled
| Enabled
HostAgentInfoAvailabilityState
The availability state of OneAgent.
Enum keys
Crashed
| Lost
| Monitored
| PreMonitored
| Shutdown
| UnexpectedShutdown
| Unknown
| Unmonitored
HostAgentInfoConfiguredMonitoringMode
HostAgentInfoDetailedAvailabilityState
The detailed availability state of OneAgent.
Enum keys
CrashedFailure
| CrashedUnknown
| LostAgentUpgradeFailed
| LostConnection
| LostUnknown
| Monitored
| MonitoredAgentEnabled
| MonitoredAgentRegistered
| MonitoredAgentUpgradeStarted
| MonitoredAgentVersionAccepted
| MonitoredEnabled
| PreMonitored
| ShutdownAgentLost
| ShutdownGraceful
| ShutdownK8SNodeShutdown
| ShutdownSpotInstance
| ShutdownStopped
| ShutdownUnknown
| ShutdownUnknownUnexpected
| Unknown
| UnmonitoredAgentDisabled
| UnmonitoredAgentLost
| UnmonitoredAgentRestartTriggered
| UnmonitoredAgentStopped
| UnmonitoredAgentUninstalled
| UnmonitoredAgentUnregistered
| UnmonitoredAgentUpgradeFailed
| UnmonitoredAgentVersionRejected
| UnmonitoredDisabled
| UnmonitoredIdChanged
| UnmonitoredTerminated
| UnmonitoredUnknown
HostAgentInfoMonitoringType
HostAgentInfoUpdateStatus
The current update status of OneAgent.
Enum keys
Incompatible
| Outdated
| Scheduled
| Suppressed
| Unknown
| Up2Date
| UpdateInProgress
| UpdatePending
| UpdateProblem
HostAutoInjection
Status of auto-injection
Enum keys
DisabledManually
| DisabledOnInstallation
| DisabledOnSanityCheck
| Enabled
| FailedOnInstallation
HostAzureComputeModeName
Enum keys
Dedicated
| Shared
HostAzureSku
Enum keys
Basic
| Dynamic
| Free
| Premium
| Shared
| Standard
HostBitness
Enum keys
_32bit
| _64bit
HostCloudType
Enum keys
Azure
| Ec2
| GoogleCloudPlatform
| Openstack
| Oracle
| Unrecognized
HostHypervisorType
Enum keys
Ahv
| AwsNitro
| Gvisor
| Hyperv
| Kvm
| Lpar
| Qemu
| Unrecognized
| Virtualbox
| Vmware
| Wpar
| Xen
HostMonitoringMode
Enum keys
FullStack
| Infrastructure
| Off
HostOsArchitecture
Enum keys
Arm
| Ia64
| Parisc
| Ppc
| Ppcle
| S390
| Sparc
| X86
| Zos
HostOsType
Enum keys
Aix
| Darwin
| Hpux
| Linux
| Solaris
| Windows
| Zos
HostPaasType
Enum keys
AwsEcsEc2
| AwsEcsFargate
| AwsLambda
| AzureFunctions
| AzureWebsites
| CloudFoundry
| GoogleAppEngine
| GoogleCloudRun
| Heroku
| Kubernetes
| Openshift
HostUserLevel
Enum keys
NonSuperuser
| NonSuperuserStrict
| Superuser
KeyPerformanceMetricsLoadActionKpm
Defines the key performance metric for load actions.
Enum keys
DomInteractive
| HtmlDownloaded
| LoadEventEnd
| LoadEventStart
| SpeedIndex
| TimeToFirstByte
| UserActionDuration
| VisuallyComplete
KeyPerformanceMetricsXhrActionKpm
Defines the key performance metric for XHR actions.
Enum keys
ResponseEnd
| TimeToFirstByte
| UserActionDuration
| VisuallyComplete
LoadingTimeThresholdType
ModuleInfoModuleType
The type of the code module.
Enum keys
Apache
| DotNet
| Dumpproc
| Go
| IbmIntegrationBus
| Iis
| Java
| LogAnalytics
| Nettracer
| Network
| Nginx
| NodeJs
| Opentracingnative
| Php
| Process
| Python
| Ruby
| Sdk
| Updater
| Varnish
| ZOs
MonitorCollectionElementType
SyntheticMonitorCreatedFrom
SyntheticMonitorType
Defines the actual set of fields depending on the value. See one of the following objects:
BROWSER
-> BrowserSyntheticMonitorHTTP
-> HttpSyntheticMonitor
Enum keys
Browser
| Http
SyntheticMonitorUpdateType
Defines the actual set of fields depending on the value. See one of the following objects:
BROWSER
-> BrowserSyntheticMonitorUpdateHTTP
-> HttpSyntheticMonitorUpdate
Enum keys
Browser
| Http
TagInfoContext
The origin of the tag, such as AWS or Cloud Foundry.
Custom tags use the CONTEXTLESS
value.
Enum keys
Aws
| AwsGeneric
| Azure
| CloudFoundry
| Contextless
| Environment
| GoogleCloud
| Kubernetes
TagWithSourceInfoContext
The origin of the tag, such as AWS or Cloud Foundry.
Custom tags use the CONTEXTLESS
value.
Enum keys
Aws
| AwsGeneric
| Azure
| CloudFoundry
| Contextless
| Environment
| GoogleCloud
| Kubernetes
TagWithSourceInfoSource
UserSessionApplicationType
The type of the application used in the user session.
Enum keys
AmpApplication
| CustomApplication
| MobileApplication
| WebApplication
UserSessionConnectionType
The serialized connection type of the mobile user session.
Enum keys
Lan
| Mobile
| Offline
| Unknown
| Wifi
UserSessionDisplayResolution
The detected screen resolution of the device used for the user session.
Enum keys
Cga
| Dci2K
| Dci4K
| Dvga
| Fhd
| Fwvga
| Fwxga
| GhdPlus
| Hd
| Hqvga
| Hqvga2
| Hsxga
| Huxga
| Hvga
| Hxga
| NHd
| Ntsc
| Pal
| QHd
| Qhd
| Qqvga
| Qsxga
| Quxga
| Qvga
| Qwxga
| Qxga
| Svga
| Sxga
| SxgaMinus
| SxgaPlus
| Uga
| Uhd16K
| Uhd4K
| Uhd8K
| UhdPlus
| Unknown
| Uwqhd
| Uxga
| Vga
| Whsxga
| Whuxga
| Whxga
| Wqsxga
| Wquxga
| Wqvga
| Wqvga2
| Wqvga3
| Wqxga
| Wqxga2
| Wsvga
| Wsvga2
| Wsxga
| WsxgaPlus
| Wuxga
| Wvga
| Wvga2
| Wxga
| Wxga2
| Wxga3
| WxgaPlus
| Xga
| Xgaplus
| _1280x854
UserSessionEndReason
The reason for the end of the user session.
Enum keys
DurationLimit
| EndEvent
| ExtendedTimeout
| TestFailed
| Timeout
| UserActionLimit
UserSessionErrorsType
The type of error.
Enum keys
Behavioral
| Crash
| Error
| PageChange
| RageClick
| RageTap
| UserTag
| UserTagFromMetaData
| VisitTag
UserSessionEventsType
The type of event.
Enum keys
Behavioral
| Crash
| Error
| PageChange
| RageClick
| RageTap
| UserTag
| UserTagFromMetaData
| VisitTag
UserSessionReasonForNoSessionReplay
The reason for absence of Session Replay.
Enum keys
KilledEmergency
| KilledError
| KilledInvalidResponse
| KilledMinJsAgentVersion
| KilledNoLicense
| KilledWrongContentType
| MisconfiguredCluster
| ModuleDisabled
| NoActivity
| OptInMode
| OptedOutSession
| RobotDetected
| SampledOut
| UnableToLoadWorker
| UnhandledException
| Unknown
| UnsupportedBrowser
| ViewExcluded
UserSessionReasonForNoSessionReplayMobile
The reason for absence of Session Replay on mobile.
Enum keys
CostControl
| CrashesOptedIn
| Disabled
| FullStorage
| InvalidConfiguration
| NoAgent
| OptedOut
| RetentionTime
| Unknown
UserSessionScreenOrientation
The detected screen orientation of the device used on the device for the user session.
Enum keys
Landscape
| Portrait
| Undefined
UserSessionUserActionApdexCategory
The user experience index of the user action.
Enum keys
Frustrated
| Satisfied
| Tolerating
| Unknown
UserSessionUserActionType
The type of the user action.
Enum keys
Custom
| EndVisit
| Error
| Load
| RageClick
| SyntheticHiddenAction
| UserSessionProperties
| VisitTag
| Xhr
UserSessionUserExperienceScore
The user experience score of the user session.
Enum keys
Frustrated
| Satisfied
| Tolerated
| Undefined
UserSessionUserType
The type of the user. Indicates either a real human user (REAL_USER
) or a robot (ROBOT
or SYNTHETIC
).
Enum keys
RealUser
| Robot
| Synthetic