Interface Telemetry
-
- All Known Implementing Classes:
AvailabilityTelemetry
,BaseTelemetry
,EventTelemetry
,ExceptionTelemetry
,MetricTelemetry
,PageViewTelemetry
,RemoteDependencyTelemetry
,RequestTelemetry
,TraceTelemetry
public interface Telemetry
The base telemetry type interface for application insights.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TelemetryContext
getContext()
Gets the context associated with this telemetry instance.java.util.Map<java.lang.String,java.lang.String>
getProperties()
Gets the map of application-defined property names and values.java.util.Date
getTimestamp()
Gets the time when telemetry was recordedvoid
setTimestamp(java.util.Date date)
Sets the time when telemetry was recorded
-
-
-
Method Detail
-
getTimestamp
java.util.Date getTimestamp()
Gets the time when telemetry was recorded
-
setTimestamp
void setTimestamp(java.util.Date date)
Sets the time when telemetry was recorded
-
getContext
TelemetryContext getContext()
Gets the context associated with this telemetry instance.
-
getProperties
java.util.Map<java.lang.String,java.lang.String> getProperties()
Gets the map of application-defined property names and values.
-
-