metric

package
v0.0.0-...-a189be7 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2016 License: MIT Imports: 3 Imported by: 1

Documentation

Overview

Package metric is a generated protocol buffer package.

It is generated from these files:

metric.proto

It has these top-level messages:

ApplicationMetric
SystemMetric
Metric

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationMetric

type ApplicationMetric struct {
	Error       []*ApplicationMetric_Error     `protobuf:"bytes,1,rep,name=error" json:"error,omitempty"`
	Transaction *ApplicationMetric_Transaction `protobuf:"bytes,2,opt,name=transaction" json:"transaction,omitempty"`
	User        []*ApplicationMetric_User      `protobuf:"bytes,3,rep,name=user" json:"user,omitempty"`
	Realtime    []*ApplicationMetric_Realtime  `protobuf:"bytes,4,rep,name=realtime" json:"realtime,omitempty"`
}

func (*ApplicationMetric) Descriptor

func (*ApplicationMetric) Descriptor() ([]byte, []int)

func (*ApplicationMetric) GetError

func (m *ApplicationMetric) GetError() []*ApplicationMetric_Error

func (*ApplicationMetric) GetRealtime

func (m *ApplicationMetric) GetRealtime() []*ApplicationMetric_Realtime

func (*ApplicationMetric) GetTransaction

func (m *ApplicationMetric) GetTransaction() *ApplicationMetric_Transaction

func (*ApplicationMetric) GetUser

func (m *ApplicationMetric) GetUser() []*ApplicationMetric_User

func (*ApplicationMetric) ProtoMessage

func (*ApplicationMetric) ProtoMessage()

func (*ApplicationMetric) Reset

func (m *ApplicationMetric) Reset()

func (*ApplicationMetric) String

func (m *ApplicationMetric) String() string

type ApplicationMetric_Breadcrumb

type ApplicationMetric_Breadcrumb struct {
	Tag  []string `protobuf:"bytes,1,rep,name=tag" json:"tag,omitempty"`
	TagT []int64  `protobuf:"varint,2,rep,name=tagT" json:"tagT,omitempty"`
}

func (*ApplicationMetric_Breadcrumb) Descriptor

func (*ApplicationMetric_Breadcrumb) Descriptor() ([]byte, []int)

func (*ApplicationMetric_Breadcrumb) ProtoMessage

func (*ApplicationMetric_Breadcrumb) ProtoMessage()

func (*ApplicationMetric_Breadcrumb) Reset

func (m *ApplicationMetric_Breadcrumb) Reset()

func (*ApplicationMetric_Breadcrumb) String

type ApplicationMetric_Error

type ApplicationMetric_Error struct {
	Tag       string `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"`
	Log       string `protobuf:"bytes,2,opt,name=log" json:"log,omitempty"`
	Timestamp string `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"`
}

func (*ApplicationMetric_Error) Descriptor

func (*ApplicationMetric_Error) Descriptor() ([]byte, []int)

func (*ApplicationMetric_Error) ProtoMessage

func (*ApplicationMetric_Error) ProtoMessage()

func (*ApplicationMetric_Error) Reset

func (m *ApplicationMetric_Error) Reset()

func (*ApplicationMetric_Error) String

func (m *ApplicationMetric_Error) String() string

type ApplicationMetric_Realtime

type ApplicationMetric_Realtime struct {
	Timegroup int64 `protobuf:"varint,1,opt,name=timegroup" json:"timegroup,omitempty"`
	Count     int64 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
}

func (*ApplicationMetric_Realtime) Descriptor

func (*ApplicationMetric_Realtime) Descriptor() ([]byte, []int)

func (*ApplicationMetric_Realtime) ProtoMessage

func (*ApplicationMetric_Realtime) ProtoMessage()

func (*ApplicationMetric_Realtime) Reset

func (m *ApplicationMetric_Realtime) Reset()

func (*ApplicationMetric_Realtime) String

func (m *ApplicationMetric_Realtime) String() string

type ApplicationMetric_Transaction

type ApplicationMetric_Transaction struct {
	Detail []*ApplicationMetric_TransactionDetail `protobuf:"bytes,1,rep,name=detail" json:"detail,omitempty"`
}

func (*ApplicationMetric_Transaction) Descriptor

func (*ApplicationMetric_Transaction) Descriptor() ([]byte, []int)

func (*ApplicationMetric_Transaction) GetDetail

func (*ApplicationMetric_Transaction) ProtoMessage

func (*ApplicationMetric_Transaction) ProtoMessage()

func (*ApplicationMetric_Transaction) Reset

func (m *ApplicationMetric_Transaction) Reset()

func (*ApplicationMetric_Transaction) String

type ApplicationMetric_TransactionData

type ApplicationMetric_TransactionData struct {
	Status     *ApplicationMetric_TransactionStatus `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
	Browser    string                               `protobuf:"bytes,2,opt,name=browser" json:"browser,omitempty"`
	Breadcrumb *ApplicationMetric_Breadcrumb        `protobuf:"bytes,3,opt,name=breadcrumb" json:"breadcrumb,omitempty"`
}

func (*ApplicationMetric_TransactionData) Descriptor

func (*ApplicationMetric_TransactionData) Descriptor() ([]byte, []int)

func (*ApplicationMetric_TransactionData) GetBreadcrumb

func (*ApplicationMetric_TransactionData) GetStatus

func (*ApplicationMetric_TransactionData) ProtoMessage

func (*ApplicationMetric_TransactionData) ProtoMessage()

func (*ApplicationMetric_TransactionData) Reset

func (*ApplicationMetric_TransactionData) String

type ApplicationMetric_TransactionDetail

type ApplicationMetric_TransactionDetail struct {
	Path     string                               `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
	Data     []*ApplicationMetric_TransactionData `protobuf:"bytes,2,rep,name=data" json:"data,omitempty"`
	Method   string                               `protobuf:"bytes,3,opt,name=method" json:"method,omitempty"`
	Realpath string                               `protobuf:"bytes,4,opt,name=realpath" json:"realpath,omitempty"`
}

func (*ApplicationMetric_TransactionDetail) Descriptor

func (*ApplicationMetric_TransactionDetail) Descriptor() ([]byte, []int)

func (*ApplicationMetric_TransactionDetail) GetData

func (*ApplicationMetric_TransactionDetail) ProtoMessage

func (*ApplicationMetric_TransactionDetail) ProtoMessage()

func (*ApplicationMetric_TransactionDetail) Reset

func (*ApplicationMetric_TransactionDetail) String

type ApplicationMetric_TransactionStatus

type ApplicationMetric_TransactionStatus struct {
	Status    string `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"`
	Duration  int64  `protobuf:"varint,2,opt,name=duration" json:"duration,omitempty"`
	Panic     bool   `protobuf:"varint,3,opt,name=panic" json:"panic,omitempty"`
	Timestamp string `protobuf:"bytes,4,opt,name=timestamp" json:"timestamp,omitempty"`
}

func (*ApplicationMetric_TransactionStatus) Descriptor

func (*ApplicationMetric_TransactionStatus) Descriptor() ([]byte, []int)

func (*ApplicationMetric_TransactionStatus) ProtoMessage

func (*ApplicationMetric_TransactionStatus) ProtoMessage()

func (*ApplicationMetric_TransactionStatus) Reset

func (*ApplicationMetric_TransactionStatus) String

type ApplicationMetric_User

type ApplicationMetric_User struct {
	Ip string `protobuf:"bytes,1,opt,name=ip" json:"ip,omitempty"`
}

func (*ApplicationMetric_User) Descriptor

func (*ApplicationMetric_User) Descriptor() ([]byte, []int)

func (*ApplicationMetric_User) ProtoMessage

func (*ApplicationMetric_User) ProtoMessage()

func (*ApplicationMetric_User) Reset

func (m *ApplicationMetric_User) Reset()

func (*ApplicationMetric_User) String

func (m *ApplicationMetric_User) String() string

type Metric

type Metric struct {
	Apikey      string             `protobuf:"bytes,1,opt,name=apikey" json:"apikey,omitempty"`
	Instance    string             `protobuf:"bytes,2,opt,name=instance" json:"instance,omitempty"`
	Timestamp   string             `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"`
	Application *ApplicationMetric `protobuf:"bytes,4,opt,name=application" json:"application,omitempty"`
	System      *SystemMetric      `protobuf:"bytes,5,opt,name=system" json:"system,omitempty"`
}

func (*Metric) Descriptor

func (*Metric) Descriptor() ([]byte, []int)

func (*Metric) GetApplication

func (m *Metric) GetApplication() *ApplicationMetric

func (*Metric) GetSystem

func (m *Metric) GetSystem() *SystemMetric

func (*Metric) ProtoMessage

func (*Metric) ProtoMessage()

func (*Metric) Reset

func (m *Metric) Reset()

func (*Metric) String

func (m *Metric) String() string

type SystemMetric

type SystemMetric struct {
	Expvar   map[string]string      `` /* 132-byte string literal not displayed */
	Resource *SystemMetric_Resource `protobuf:"bytes,2,opt,name=resource" json:"resource,omitempty"`
	Runtime  *SystemMetric_Runtime  `protobuf:"bytes,3,opt,name=runtime" json:"runtime,omitempty"`
}

func (*SystemMetric) Descriptor

func (*SystemMetric) Descriptor() ([]byte, []int)

func (*SystemMetric) GetExpvar

func (m *SystemMetric) GetExpvar() map[string]string

func (*SystemMetric) GetResource

func (m *SystemMetric) GetResource() *SystemMetric_Resource

func (*SystemMetric) GetRuntime

func (m *SystemMetric) GetRuntime() *SystemMetric_Runtime

func (*SystemMetric) ProtoMessage

func (*SystemMetric) ProtoMessage()

func (*SystemMetric) Reset

func (m *SystemMetric) Reset()

func (*SystemMetric) String

func (m *SystemMetric) String() string

type SystemMetric_Resource

type SystemMetric_Resource struct {
	Cpu float64 `protobuf:"fixed64,1,opt,name=cpu" json:"cpu,omitempty"`
}

func (*SystemMetric_Resource) Descriptor

func (*SystemMetric_Resource) Descriptor() ([]byte, []int)

func (*SystemMetric_Resource) ProtoMessage

func (*SystemMetric_Resource) ProtoMessage()

func (*SystemMetric_Resource) Reset

func (m *SystemMetric_Resource) Reset()

func (*SystemMetric_Resource) String

func (m *SystemMetric_Resource) String() string

type SystemMetric_Runtime

type SystemMetric_Runtime struct {
	Cgo       int64 `protobuf:"varint,1,opt,name=cgo" json:"cgo,omitempty"`
	Goroutine int32 `protobuf:"varint,2,opt,name=goroutine" json:"goroutine,omitempty"`
}

func (*SystemMetric_Runtime) Descriptor

func (*SystemMetric_Runtime) Descriptor() ([]byte, []int)

func (*SystemMetric_Runtime) ProtoMessage

func (*SystemMetric_Runtime) ProtoMessage()

func (*SystemMetric_Runtime) Reset

func (m *SystemMetric_Runtime) Reset()

func (*SystemMetric_Runtime) String

func (m *SystemMetric_Runtime) String() string

Jump to

Keyboard shortcuts

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