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.
Click to show internal directories.
Click to hide internal directories.