internal

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2016 License: BSD-3-Clause Imports: 24 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const AgentVersion = "1.1.1"
View Source
const CategoryCPU string = "cpu"
View Source
const CategoryCPUProfile string = "cpu-profile"
View Source
const CategoryChannelProfile string = "channel-profile"
View Source
const CategoryGC string = "gc"
View Source
const CategoryHTTPClientTrace string = "http-client-trace"
View Source
const CategoryHTTPHandlerTrace string = "http-trace"
View Source
const CategoryLockProfile string = "lock-profile"
View Source
const CategoryMemory string = "memory"
View Source
const CategoryMemoryProfile string = "memory-profile"
View Source
const CategoryNetworkProfile string = "network-profile"
View Source
const CategoryRuntime string = "runtime"
View Source
const CategorySystemProfile string = "system-profile"
View Source
const NameAllocated string = "Allocated memory"
View Source
const NameAllocatedSize string = "Allocated size"
View Source
const NameCPUTime string = "CPU time"
View Source
const NameCPUUsage string = "CPU usage"
View Source
const NameChannelWaitTime string = "Channel wait time"
View Source
const NameFrees string = "Frees"
View Source
const NameGCCPUFraction string = "GC CPU fraction"
View Source
const NameGCTotalPause string = "GC total pause"
View Source
const NameHTTPCalls string = "HTTP Calls"
View Source
const NameHTTPTransactions string = "HTTP Transactions"
View Source
const NameHeapObjects string = "Heap objects"
View Source
const NameLockWaitTime string = "Lock wait time"
View Source
const NameLookups string = "Lookups"
View Source
const NameMallocs string = "Mallocs"
View Source
const NameMaxRSS string = "Max RSS"
View Source
const NameNetworkWaitTime string = "Network wait time"
View Source
const NameNumGC string = "Number of GCs"
View Source
const NameNumGoroutines string = "Number of goroutines"
View Source
const NameSystemWaitTime string = "System wait time"
View Source
const SAASDashboardAddress = "https://agent-api.stackimpact.com"
View Source
const TriggerAnomaly string = "anomaly"
View Source
const TriggerTimer string = "timer"
View Source
const TypeCounter string = "counter"
View Source
const TypeProfile string = "profile"
View Source
const TypeState string = "state"
View Source
const TypeTrace string = "trace"
View Source
const UnitByte string = "byte"
View Source
const UnitKilobyte string = "kilobyte"
View Source
const UnitMicrosecond string = "microsecond"
View Source
const UnitMillisecond string = "millisecond"
View Source
const UnitNanosecond string = "nanosecond"
View Source
const UnitNone string = ""
View Source
const UnitPercent string = "percent"

Variables

This section is empty.

Functions

This section is empty.

Types

type APIRequest

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

type Agent

type Agent struct {

	// Options
	DashboardAddress string
	AgentKey         string
	AppName          string
	HostName         string
	Debug            bool
	// contains filtered or unexported fields
}

func NewAgent

func NewAgent() *Agent

func (*Agent) Configure

func (a *Agent) Configure(agentKey string, appName string)

type AllocationReporter

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

type BlockReporter

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

type BreakdownNode

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

type CPUReporter

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

type ConfigLoader

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

type Measurement

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

type Message

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

type MessageQueue

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

type Metric

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

type ProcessReporter

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

type Record

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

type ReportingStrategy

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

Directories

Path Synopsis
pprof
profile
Package profile provides a representation of profile.proto and methods to encode/decode profiles in this format.
Package profile provides a representation of profile.proto and methods to encode/decode profiles in this format.

Jump to

Keyboard shortcuts

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