outpost: add lightweight, anonymous metrics

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-11-04 14:10:43 +01:00
parent 5000c5b061
commit 9ac3b29418
2 changed files with 81 additions and 0 deletions

View File

@ -67,6 +67,7 @@ func NewAPIController(akURL url.URL, token string) *APIController {
}
outpost := outposts.Results[0]
doGlobalSetup(outpost.Config)
go analytics(akURL, outpost.Name)
log.WithField("name", outpost.Name).Debug("Fetched outpost configuration")