metrics

package
v0.0.0-...-d3da680 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package metrics handles sending metrics to tsmon.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectGlobalMetrics

func CollectGlobalMetrics(c context.Context) error

CollectGlobalMetrics is called in a cron job. It collects global metrics and send to tsmon.

Types

type AnalysisType

type AnalysisType string

AnalysisType is used for sending metrics to tsmon

const (
	AnalysisTypeCompile AnalysisType = "compile"
	AnalysisTypeTest    AnalysisType = "test"
)

Jump to

Keyboard shortcuts

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