observability

package
v0.0.0-...-09dd9d7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telemetry

type Telemetry struct {
	AllocatedMemoryCounter metric.Int64UpDownCounter
	AllocatedVCPUCounter   metric.Int64UpDownCounter
	DeployedByteCounter    metric.Int64UpDownCounter

	VmCounter       metric.Int64UpDownCounter
	WorkloadCounter metric.Int64UpDownCounter

	FunctionTriggers       metric.Int64Counter
	FunctionFailedTriggers metric.Int64Counter
	FunctionRunTimeNano    metric.Int64Counter

	Tracer trace.Tracer
	// contains filtered or unexported fields
}

func NewTelemetry

func NewTelemetry(ctx context.Context, log *slog.Logger, config *models.NodeConfiguration, nodePubKey string) (*Telemetry, error)

func (*Telemetry) Shutdown

func (t *Telemetry) Shutdown() error

Jump to

Keyboard shortcuts

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