alitrace

package
v0.0.0-...-0c34cbd Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadContainerMeta

func LoadContainerMeta(in io.Reader) (map[string][]*ContainerMeta, error)

func NewAlitraceDatasource

func NewAlitraceDatasource(reader io.Reader) datasource.MetricDataSource

创建一个能读取alibaba trace data v2018的datasource

func SplitContainerUsage

func SplitContainerUsage(in io.Reader, meta map[string][]*ContainerMeta) error

Types

type ContainerMeta

type ContainerMeta struct {
	ContainerId string
	MachineId   string
	Timestamp   int64
	AppDu       string
	Status      string
	CpuRequest  int
	CpuLimit    int
	MemSize     float32
}

Jump to

Keyboard shortcuts

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