Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = os.Getenv("WAVEFRONT_DEBUG") == "true"
View Source
var Logger = log.New(os.Stdout, "[WAVEFRONT] ", 0)
Functions ¶
func GetInternalTags ¶
GetInternalTags return tags for internal metrics
Types ¶
type VCAPApplication ¶
type VCAPApplication struct {
ID string `json:"application_id"`
Name string `json:"application_name"`
Idx int `json:"instance_index"`
}
VCAPApplication holds nozzle app info
func GetVcapApp ¶
func GetVcapApp() (VCAPApplication, error)
GetVcapApp parse the 'VCAP_APPLICATION' env variable
Click to show internal directories.
Click to hide internal directories.