Class AvailabilityTelemetry
java.lang.Object
com.microsoft.applicationinsights.telemetry.BaseTelemetry
com.microsoft.applicationinsights.telemetry.AvailabilityTelemetry
- All Implemented Interfaces:
Telemetry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AvailabilityData
getData()
getId()
Gets a dictionary of custom defined metrics.getName()
boolean
void
setDuration
(Duration duration) void
void
setMessage
(String message) void
void
setRunLocation
(String runLocation) void
setSuccess
(boolean success) Methods inherited from class com.microsoft.applicationinsights.telemetry.BaseTelemetry
getContext, getProperties, getTimestamp, initialize, setTimestamp
-
Constructor Details
-
AvailabilityTelemetry
public AvailabilityTelemetry()
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getDuration
-
setDuration
-
getSuccess
public boolean getSuccess() -
setSuccess
public void setSuccess(boolean success) -
getRunLocation
-
setRunLocation
-
getMessage
-
setMessage
-
getMetrics
Gets a dictionary of custom defined metrics. -
getData
- Specified by:
getData
in classBaseTelemetry
-