Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Reload ¶
func Reload()
Reload initializes the configuration and process tags collection. This is useful for tests.
func SetServiceNameTag ¶ added in v2.9.0
SetServiceNameTag sets the appropriate process tag for the global service name. svc.user and svc.auto are mutually exclusive: calling this function removes the previously set tag before adding the new one. If isUserDefined is true, sets svc.user:true; otherwise sets svc.auto:<name>.
Types ¶
type ProcessTags ¶
type ProcessTags struct {
// contains filtered or unexported fields
}
func (*ProcessTags) Slice ¶
func (p *ProcessTags) Slice() []string
Slice returns the string slice representation of the process tags.
func (*ProcessTags) String ¶
func (p *ProcessTags) String() string
String returns the string representation of the process tags.
Click to show internal directories.
Click to hide internal directories.