SLA

An SLA object contains information about an SLA associated with a job.

Field Name

Description

active

Flag indicating whether the SLA is currently active (Y/N).

classname

Class name for the dataset.

collectutcts

APM collection timestamp for the dataset. The value is represented in epoch time in milliseconds.

data

Optional additional SLA data.

description

SLA description.

envname

The environment registered in env-registry.xml.

id

ID of the SLA policy record.

lastchangetime

Date and time the SLA was last changed.

lastusermodifiedtime

Date and time the SLA was last modified by a user.

masterutcts

The Master timestamp for this dataset. The value is represented in epoch time in milliseconds.

name

Name of the SLA.

operationtype

Type of operations associated with this dataset.

ownerid

ID of the owner record.

parentid

ID of the parent SLA record.

pub

Flag indicating whether the SLA can be used by other users (Y/N).

type

Type of this SLA. Currently, the type is always 1 (Job).

Sample message

{
"id": 7,
"name": "TagChange", 
"ownerid": 1, 
"pub": "Y",
"active": "Y",
"lastusermodifiedtime": 2020034354722,
"type": 1,
"lastchangetime": 16687610000000, 
"envname": "localhost", 
"operationtype": "STATS",
 "classname": "SLA", 
"masterutcts": 1667426241000000,
"collectutcts": 1667426244867000
}

Data files

When the APM Stream writetofile configuration option is enabled, APM Stream writes the SLA data in the files in the /datastream directory:

  • sla-<master-prod-yyyyMMdd>-<masterlink-creation-yyyyMMddHHmmss>.dat records when an SLA policy is created, retrieved, or updated.

  • sla-deletion-<master-prod-yyyyMMdd>-<masterlink-creation-yyyyMMddHHmmss>.dat records when an SLA policity is deleted.