Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct { UsageStatsID string `json:"usageStatsId"` CreatedAt time.Time `json:"createdAt"` Interval time.Time `json:"interval"` Version string `json:"version"` Metrics map[string]interface{} `json:"metrics"` Os string `json:"os"` Arch string `json:"arch"` DeployMode string `json:"deployMode"` }
Report is the payload to be sent to stats.grafana.org
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
Reporter holds the Alloy seed information and sends report of usage
func NewReporter ¶
NewReporter creates a Reporter that will send periodically reports to grafana.com
Click to show internal directories.
Click to hide internal directories.