# Functions

BaseURL determines the base url to be used when sending metrics over.
ClusterID returns the cluster id.
LicenseID returns the embedded license id.
ReportApplyFinished decides if we are going to report an InstallationSucceeded, an InstallationFailed, an UpgradeSucceeded, or an UpgradeFailed event and calls the appropriate function.
ReportApplyStarted decides if we are going to report an InstallationStarted or an UpgradeStarted event and calls the appropriate function.
ReportInstallationFailed reports that the installation has failed.
ReportInstallationStarted reports that the installation has started.
ReportInstallationSucceeded reports that the installation has succeeded.
ReportJoinFailed reports that a join has failed.
ReportJoinStarted reports that a join has started.
ReportJoinSucceeded reports that a join has finished successfully.
ReportNodeUpgradeFailed reports that node upgrade has failed.
ReportNodeUpgradeStarted reports that a node upgrade has started.
ReportNodeUpgradeSucceeded reports that a node upgrade has finished successfully.
ReportUpgradeFailed reports that the upgrade has failed.
ReportUpgradeStarted reports that the upgrade has started.
ReportUpgradeSucceeded reports that the upgrade has succeeded.
Send is a helper function that sends an event to the metrics endpoint.

# Structs

InstallationFailed event is send back home when the installation fails.
InstallationStarted event is send back home when the installation starts.
InstallationSucceeded event is send back home when the installation finishes.
JoinFailed event is send back home when a node join fails.
JoinStarted event is send back home when a node join starts.
Sender sends events to the metrics endpoint.

# Interfaces

Event is implemented by all events.

# Type aliases

JoinSucceeded event is send back home when a node join succeeds.
NodeUpgradeFailed event is send back home when a node upgrade fails.
NodeUpgradeStarted event is send back home when a node upgrade starts.
NodeUpgradeSucceeded event is send back home when a node upgrade succeeds.
UpgradeFailed event is send back home when the upgrade fails.
UpgradeStarted event is send back home when the upgrade starts.
UpgradeSucceeded event is send back home when the upgrade finishes.