# README
Telemetry Data
Telemetry is first collected by retrieving prometheus data from a Gatherer. Next, the collected data is filtered by matching a subset of prometheus families. Finally, the data is transmitted to a prometheus push gateway handler.
The handler enriches the metrics with the timestamp when the data is received.
# Functions
NewPusher sends usage metrics to a prometheus push gateway.
NewPushGateway constructs the PushGateway.
NewReporter reports telemetry every 24 hours.
# Constants
DefaultMaxBytes is the largest request body read.
DefaultTimeout is the length of time servicing the metrics before canceling.
# Variables
ErrMetricsTimestampPresent is returned when the prometheus metrics has timestamps set.
# Structs
AddTimestamps enriches prometheus metrics by adding timestamps.
LogStore logs data written to the store.
Pusher pushes metrics to a prometheus push gateway.
PushGateway handles receiving prometheus push metrics and forwards them to the Store.
Reporter reports telemetry metrics to a prometheus push gateway every interval.
# Interfaces
Store records usage data.