Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // 30 minutes METRICS_DAEMON_LOOP_DELAY_MS uint32 = 30 * 60 * 1000 METRICS_DAEMON_LOOP_DELAY_DURATION = time.Duration(METRICS_DAEMON_LOOP_DELAY_MS) )
Functions ¶
func RunMetricsDaemonTaskLoop ¶
RunMetricsDaemonTaskLoop contains the logic to emit metrics about the application running.
func Start ¶
Start begins a job that periodically: 1) Emits metrics about app version and git commit. Note: the metrics daemon is such a simple go-routine that we don't bother implementing a health-check for this service. The task loop does not produce any errors because the telemetry calls themselves are not error-returning, so in effect this daemon would never become unhealthy.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.