profile

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Output

type Output struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewOutput

func NewOutput() *Output

func (*Output) Add

func (o *Output) Add(k string, v *OutputIngest)

func (*Output) GetTags

func (o *Output) GetTags() map[string]string

func (*Output) Hash

func (o *Output) Hash() uint64

func (*Output) Profiles

func (o *Output) Profiles() map[string]*OutputIngest

func (*Output) String

func (o *Output) String() string

type OutputIngest

type OutputIngest struct {
	TreeKey     string
	SegmentKey  string
	CollectTime *time.Time
	Tree        *tree.Tree
	Segment     *segment.Segment
	App         *appmetadata.ApplicationMetadata
}

type ProfileIngest

type ProfileIngest struct {
	Format      ingestion.Format
	Metadata    ingestion.Metadata
	RawData     []byte
	Key         string
	ContentType string
}

func (*ProfileIngest) Copy

func (p *ProfileIngest) Copy() *ProfileIngest

Copy instance

func (*ProfileIngest) GetTags

func (p *ProfileIngest) GetTags() map[string]string

func (*ProfileIngest) Hash

func (p *ProfileIngest) Hash() uint64

func (*ProfileIngest) String

func (p *ProfileIngest) String() string

type TableDict

type TableDict struct {
	Key   string `ch:"k"`
	Value string `ch:"v"`
}

type TableDimension

type TableDimension struct {
	Key   string `ch:"k"`
	Value string `ch:"v"`
}

type TableGeneral

type TableGeneral struct {
	K         string    `db:"k" ch:"k"`
	V         string    `db:"v" ch:"v"`
	Timestamp time.Time `db:"timestamp" ch:"timestamp"`
}

type TableMain

type TableMain struct {
	Key   string `ch:"k"`
	Value string `ch:"v"`
}

type TableProfile

type TableProfile struct {
	Key   string `ch:"k"`
	Value string `ch:"v"`
}

type TableSegment

type TableSegment struct {
	Key   string `ch:"k"`
	Value string `ch:"v"`
}

type TableTree

type TableTree struct {
	Key   string `ch:"k"`
	Value string `ch:"v"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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