Documentation
¶
Overview ¶
Package application provides functionality for encapsulating details about your Go application. The application details can be reported to Wavefront in the form of tags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeartbeatService ¶
HeartbeatService sends a heartbeat metric every 5 minutes
func StartHeartbeatService ¶
func StartHeartbeatService(sender senders.Sender, application Tags, source string, components ...string) HeartbeatService
StartHeartbeatService will create and start a new HeartbeatService
type Tags ¶
type Tags struct {
Application string
Service string
Cluster string
Shard string
CustomTags map[string]string
}
Tags Encapsulates application details
func (*Tags) AddCustomTagFromEnv ¶ added in v0.9.6
AddCustomTagFromEnv Set a custom tag from the given environment variable.
func (*Tags) AddCustomTagsFromEnv ¶ added in v0.9.6
AddCustomTagsFromEnv set additional custom tags from environment variables that match the given regex.
Click to show internal directories.
Click to hide internal directories.