Problems API v2 - JSON models
Some JSON models of the Problems v2 API vary depending on the type of the model. The JSON models for each variation are listed below.
Variations of the Evidence
object
The Evidence
object is the base for evidence of a problem. The actual set of fields depends on the type of the evidence.
AVAILABILITY_EVIDENCE
The AvailabilityEvidence
object
An evidence of a root cause.
The actual set of fields depends on the type of the evidence. Find the list of actual objects in the description of the evidenceType field or see Problems API v2 - JSON models.
Element | Type | Description |
---|---|---|
endTime | integer | The end time of the evidence, in UTC milliseconds. |
EVENT
The EventEvidence
object
An evidence of a root cause.
The actual set of fields depends on the type of the evidence. Find the list of actual objects in the description of the evidenceType field or see Problems API v2 - JSON models.
Element | Type | Description |
---|---|---|
data | Event | Configuration of an event. |
endTime | integer | The end timestamp of the event, in UTC milliseconds. Has |
eventId | string | The ID of the event. |
eventType | string | The type of the event. |
The Event
object
Configuration of an event.
Element | Type | Description |
---|---|---|
correlationId | string | The correlation ID of the event. |
endTime | integer | The timestamp when the event was closed, in UTC milliseconds. Has the value of |
entityId | EntityStub | A short representation of a monitored entity. |
entityTags | METag[] | A list of tags of the related entity. |
eventId | string | The ID of the event. |
eventType | string | The type of the event. |
frequentEvent | boolean | If A frequent event doesn't raise a problem. |
managementZones | ManagementZone[] | A list of all management zones that the event belongs to. |
properties | EventProperty[] | A list of event properties. |
startTime | integer | The timestamp when the event was raised, in UTC milliseconds. |
status | string | The status of the event.
|
suppressAlert | boolean | The alerting status during a maintenance:
|
suppressProblem | boolean | The problem detection status during a maintenance:
|
title | string | The title of the event. |
underMaintenance | boolean | If |
The EntityStub
object
A short representation of a monitored entity.
Element | Type | Description |
---|---|---|
entityId | EntityId | A short representation of a monitored entity. |
name | string | The name of the entity. Not included in the response in case no entity with the relevant ID was found. |
The EntityId
object
A short representation of a monitored entity.
Element | Type | Description |
---|---|---|
id | string | The ID of the entity. |
type | string | The type of the entity. |
The METag
object
The tag of a monitored entity.
Element | Type | Description |
---|---|---|
context | string | The origin of the tag, such as AWS or Cloud Foundry. Custom tags use the |
key | string | The key of the tag. |
stringRepresentation | string | The string representation of the tag. |
value | string | The value of the tag. |
The ManagementZone
object
A short representation of a management zone.
Element | Type | Description |
---|---|---|
id | string | The ID of the management zone. |
name | string | The name of the management zone. |
The EventProperty
object
A property of an event.
Element | Type | Description |
---|---|---|
key | string | The key of the event property. |
value | string | The value of the event property. |
MAINTENANCE_WINDOW
The MaintenanceWindowEvidence
object
An evidence of a root cause.
The actual set of fields depends on the type of the evidence. Find the list of actual objects in the description of the evidenceType field or see Problems API v2 - JSON models.
Element | Type | Description |
---|---|---|
endTime | integer | The end time of the evidence, in UTC milliseconds. |
maintenanceWindowConfigId | string | The ID of the related maintenance window. |
METRIC
The MetricEvidence
object
An evidence of a root cause.
The actual set of fields depends on the type of the evidence. Find the list of actual objects in the description of the evidenceType field or see Problems API v2 - JSON models.
Element | Type | Description |
---|---|---|
endTime | integer | The end time of the evidence, in UTC milliseconds. The value |
metricId | string | The ID of the metric. |
unit | string | The unit of the metric.
|
valueAfterChangePoint | number | The metric's value after the problem start. |
valueBeforeChangePoint | number | The metric's value before the problem start. |
TRANSACTIONAL
The TransactionalEvidence
object
An evidence of a root cause.
The actual set of fields depends on the type of the evidence. Find the list of actual objects in the description of the evidenceType field or see Problems API v2 - JSON models.
Element | Type | Description |
---|---|---|
endTime | integer | The end time of the evidence, in UTC milliseconds |
unit | string | The unit of the metric. |
valueAfterChangePoint | number | The metric's value after the problem start. |
valueBeforeChangePoint | number | The metric's value before the problem start. |
Variations of the Impact
object
The Impact
object is the base for impacts of a problem. The actual set of fields depends on the type of the impact.
APPLICATION
The ApplicationImpact
object
The impact analysis of the problem on other entities/users.
The actual set of fields depends on the type of the impact. Find the list of actual objects in the description of the impactType field or see Problems API v2 - JSON models.
Element | Type | Description |
---|---|---|
estimatedAffectedUsers | integer | The estimated number of affected users. |
impactType | string | Defines the actual set of fields depending on the value. See one of the following objects:
|
impactedEntity | EntityStub | A short representation of a monitored entity. |
The EntityStub
object
A short representation of a monitored entity.
Element | Type | Description |
---|---|---|
entityId | EntityId | A short representation of a monitored entity. |
name | string | The name of the entity. Not included in the response in case no entity with the relevant ID was found. |
The EntityId
object
A short representation of a monitored entity.
Element | Type | Description |
---|---|---|
id | string | The ID of the entity. |
type | string | The type of the entity. |
CUSTOM_APPLICATION
The CustomApplicationImpact
object
The impact analysis of the problem on other entities/users.
The actual set of fields depends on the type of the impact. Find the list of actual objects in the description of the impactType field or see Problems API v2 - JSON models.
Element | Type | Description |
---|---|---|
estimatedAffectedUsers | integer | The estimated number of affected users. |
impactType | string | Defines the actual set of fields depending on the value. See one of the following objects:
|
impactedEntity | EntityStub | A short representation of a monitored entity. |
The EntityStub
object
A short representation of a monitored entity.
Element | Type | Description |
---|---|---|
entityId | EntityId | A short representation of a monitored entity. |
name | string | The name of the entity. Not included in the response in case no entity with the relevant ID was found. |
The EntityId
object
A short representation of a monitored entity.
Element | Type | Description |
---|---|---|
id | string | The ID of the entity. |
type | string | The type of the entity. |
MOBILE
The MobileImpact
object
The impact analysis of the problem on other entities/users.
The actual set of fields depends on the type of the impact. Find the list of actual objects in the description of the impactType field or see Problems API v2 - JSON models.
Element | Type | Description |
---|---|---|
estimatedAffectedUsers | integer | The estimated number of affected users. |
impactType | string | Defines the actual set of fields depending on the value. See one of the following objects:
|
impactedEntity | EntityStub | A short representation of a monitored entity. |
The EntityStub
object
A short representation of a monitored entity.
Element | Type | Description |
---|---|---|
entityId | EntityId | A short representation of a monitored entity. |
name | string | The name of the entity. Not included in the response in case no entity with the relevant ID was found. |
The EntityId
object
A short representation of a monitored entity.
Element | Type | Description |
---|---|---|
id | string | The ID of the entity. |
type | string | The type of the entity. |
SERVICE
The ServiceImpact
object
The impact analysis of the problem on other entities/users.
The actual set of fields depends on the type of the impact. Find the list of actual objects in the description of the impactType field or see Problems API v2 - JSON models.
Element | Type | Description |
---|---|---|
numberOfPotentiallyAffectedServiceCalls | integer | The number of potentially impacted services. |