Documentation
¶
Overview ¶
Package util provides internal utility functions for logs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServiceNameFromTags ¶
func ServiceNameFromTags(ctrName string, taggerEntity taggertypes.EntityID, taggerFunc func(entity taggertypes.EntityID) ([]string, error)) string
ServiceNameFromTags returns the standard tag 'service' corresponding to a container It returns an empty string if tag not found
Types ¶
type MovingSum ¶
type MovingSum struct {
// contains filtered or unexported fields
}
MovingSum is a time-based moving sum that uses buckets to calculate the sum over a specified window.
func NewMovingSum ¶
NewMovingSum creates a new MovingSum with the specified time window, bucket size, and clock.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package adlistener provides autodiscovery event listener utilities
|
Package adlistener provides autodiscovery event listener utilities |
|
Package containersorpods provides logic to choose between logging containers or pods
|
Package containersorpods provides logic to choose between logging containers or pods |
|
Package opener provides utilities to open log files with appropriate permissions.
|
Package opener provides utilities to open log files with appropriate permissions. |
Click to show internal directories.
Click to hide internal directories.