Documentation ¶
Index ¶
Constants ¶
View Source
const (
AllowAllOperations = "*"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperationsFilter ¶
type OperationsFilter struct {
// contains filtered or unexported fields
}
func NewOperationsFilter ¶
func NewOperationsFilter(operations ...string) OperationsFilter
func (OperationsFilter) IsAllowed ¶
func (of OperationsFilter) IsAllowed(operationName string) bool
type Stats ¶
type Stats struct { CpuPercent *float64 `json:"cpu,omitempty"` MemoryBytes *uint64 `json:"mem,omitempty"` FileDescriptorCount *int32 `json:"fd,omitempty"` ThreadCount *int32 `json:"th,omitempty"` LatencyMillis *int64 `json:"lat,omitempty"` PayloadBytes *int `json:"load,omitempty"` StatusCode *int `json:"code,omitempty"` ImdsFallbackSucceed *int `json:"ifs,omitempty"` AppSignals *int `json:"as,omitempty"` EnhancedContainerInsights *int `json:"eci,omitempty"` RunningInContainer *int `json:"ric,omitempty"` RegionType *string `json:"rt,omitempty"` Mode *string `json:"m,omitempty"` }
type StatsConfig ¶
type StatsConfig struct { // Operations are the allowed operation names to gather stats for. Operations []string `mapstructure:"operations,omitempty"` }
type StatsProvider ¶
Click to show internal directories.
Click to hide internal directories.