Add simple anonymous usage metrics (#1167)
This change reports total function call count to an analytics url once a day. It's done behind the existing analytics flag.
This commit is contained in:
@@ -94,6 +94,8 @@ func Start(logger *zap.Logger, port int, executorUrl string) {
|
||||
// setup a signal handler for SIGTERM
|
||||
fission.SetupStackTraceHandler()
|
||||
|
||||
_ = MakeAnalytics("")
|
||||
|
||||
fmap := makeFunctionServiceMap(logger, time.Minute)
|
||||
|
||||
frmap := makeFunctionRecorderMap(logger, time.Minute)
|
||||
|
||||
Reference in New Issue
Block a user