app

package
v0.3.1 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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NewBaseRuntimeFn = NewBaseRuntime
)

Functions

This section is empty.

Types

type BaseRuntime

type BaseRuntime struct {
	// contains filtered or unexported fields
}

BaseRuntime represents the common logic of runtime.

func NewBaseRuntime

func NewBaseRuntime(ctx context.Context, monitor config.Monitor, registry *linmetric.Registry, globalKeyValues tag.Tags) BaseRuntime

NewBaseRuntime creates a base runtime instance.

func (*BaseRuntime) NativePusher

func (r *BaseRuntime) NativePusher()

NativePusher pushes metric data into internal database.

func (*BaseRuntime) Shutdown

func (r *BaseRuntime) Shutdown()

Shutdown stops the resource of base runtime.

func (*BaseRuntime) SystemCollector

func (r *BaseRuntime) SystemCollector()

SystemCollector collects the system metric.

Jump to

Keyboard shortcuts

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