telemetry

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package telemetry provides the capability to manage and hold system internal metrics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telemetry

type Telemetry struct {
	// Tasks is a summary metric of user scheduled task executions.
	Tasks *prometheus.SummaryVec

	// Srv is a summary metric of the HTTP server request processing.
	Srv *prometheus.SummaryVec

	// Callbacks is a summary metric of the WASM callbacks guests make.
	Callbacks *prometheus.SummaryVec

	// Wasm is a summary metric of the WASM guest module executions.
	Wasm *prometheus.SummaryVec
}

Telemetry provides the capability to manage and hold system internal metrics.

func New

func New() *Telemetry

New creates and returns an initialized Telemetry instance with default metrics.

func (*Telemetry) Close

func (t *Telemetry) Close()

Close unregisters the Telemetry metrics from the Prometheus registry.

Jump to

Keyboard shortcuts

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