count

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AggMinute   = "m"
	Agg5Minutes = "5m"
	AggHour     = "h"
	AggDay      = "d"
)

Variables

View Source
var Queue *queue.Queue

Functions

func Find

func Find(filter types.Filter, agg string) (types.Counts, error)

func PushToQueue

func PushToQueue(c *_types.Count) error

func RunQueue

func RunQueue()

func StatsByDashboard added in v1.0.9

func StatsByDashboard(dashId int) ([]*types.DashStatRow, error)

func StatsByDashboardCached added in v1.0.9

func StatsByDashboardCached(dashId int) ([]*types.DashStatRow, error)

func StatsByLogname added in v1.0.9

func StatsByLogname(dashId int, logname string) ([]*types.DashStatRow, error)

func StatsByLognameCached added in v1.0.9

func StatsByLognameCached(dashId int, logname string) ([]*types.DashStatRow, error)

func StopQueue

func StopQueue() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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