useractivity

package
v0.0.0-...-6584cc4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUserActivityReporter

func NewUserActivityReporter(
	metricChannel chan *pb.Metric,
	outputChannel chan *pb.Metric,
	segmentioToken string,
	window time.Duration,
	dockerBuild string,
) *reporter

Creates a new instance of the plugin. The plugin consumes a set of events, generated by the platform, and aggregates them into activity sessions. An activity session is a set of events, that happen closer than a given duration apart.

metricChannel:  The channel for inbound metrics.
segmentioToken: The segmentio write token.
window:         A maximum duration between two events, that would still be
                considered a part of one session.
dockerBuild:    A string identifying the platform build.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL