metrics

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMetrics

func GetMetrics(ctx context.Context, db gorp.SqlExecutor, key string, appID int64, metricName string) ([]json.RawMessage, error)

GetMetrics retrieves metrics from elasticsearch

func Init

func Init(ctx context.Context, DBFunc func() *gorp.DbMap)

Init the metrics package which push to elasticSearch service

func PushUnitTests

func PushUnitTests(projKey string, appID int64, workflowID int64, num int64, tests sdk.TestsStats)

PushUnitTests Create metrics from unit tests and send them

Types

This section is empty.

Jump to

Keyboard shortcuts

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