Class HealthCheckAnalyticsEvent
java.lang.Object
com.atlassian.confluence.internal.health.analytics.HealthCheckAnalyticsEvent
A server-side analytics event raised after executing a health check.
If you add attributes to this event, make sure to also add them to the whitelist (confluence_whitelist.json). See
The Developer's Guide to Atlassian Analytics.
- Since:
- 6.6.0
-
Constructor Details
-
HealthCheckAnalyticsEvent
public HealthCheckAnalyticsEvent(String checkId, String startupMode, String eventId, String eventLevel, String cause, @Nullable URL kbURL) Constructor.- Parameters:
checkId
- the unique ID of the check that raised this eventstartupMode
- the mode in which Confluence started upeventId
- the unique ID of this analytics eventeventLevel
- the event levelcause
- the cause of the eventkbURL
- the URL clicked by the user; ifnull
, this is not a KB clicked event
-
-
Method Details
-
sanitise
Converts the given arbitrary text into a sanitised analytics attribute value. Anyone querying the analytics database will need to decode the sanitised value using a lookup table provided by Confluence developers.- Parameters:
text
- the text to sanitise- Returns:
- a value that does not require whitelistung
-
getProductRunId
-
getCheckId
-
getCause
-
getEventId
-
getEventLevel
-
getStartupMode
-
getKbURL
-