Class EventTelemetry
java.lang.Object
com.microsoft.applicationinsights.telemetry.BaseTelemetry
com.microsoft.applicationinsights.telemetry.EventTelemetry
- All Implemented Interfaces:
Telemetry
Telemetry type used to track custom events in Azure Application Insights.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.microsoft.applicationinsights.telemetry.BaseTelemetry
getContext, getProperties, getTimestamp, initialize, setTimestamp
-
Constructor Details
-
EventTelemetry
Creates a new instance.- Parameters:
name
- The event's name. Max length 150.
-
EventTelemetry
public EventTelemetry()Creates a new instance.
-
-
Method Details
-
getName
Gets the name of the event. -
setName
Sets the name of the event. Max length 150. -
getMetrics
Gets a dictionary of custom defined metrics. -
getData
- Specified by:
getData
in classBaseTelemetry
-