Documentation ¶
Index ¶
Constants ¶
View Source
const Mapping = `` /* 1892-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutObject ¶
type OutObject struct { ActionsExecuted string `json:"actions_executed"` BytesReceived int `json:"bytes_received"` BytesSent int `json:"bytes_sent"` ChosenCertARN string `json:"chosen_cert_arn"` Classification string `json:"classification"` ClassificationReason string `json:"classification_reason"` ClientIP string `json:"client_ip"` ClientPort int `json:"client_port"` DomainName string `json:"domain_name"` ELB string `json:"elb"` ELBStatusCode int `json:"elb_status_code"` LambdaErrorReason string `json:"lambda_error_reason"` MatchedRulePriority int `json:"matched_rule_priority"` RedirectURL string `json:"redirect_url"` RequestCreationTime string `json:"request_creation_time"` RequestProcessingTime float64 `json:"request_processing_time"` RequestProto string `json:"request_proto"` RequestURL string `json:"request_url"` RequestVerb string `json:"request_verb"` ResponseProcessingTime float64 `json:"response_processing_time"` SSLCipher string `json:"ssl_cipher"` SSLProtocol string `json:"ssl_protocol"` TargetGroupARN string `json:"target_group_arn"` TargetIP string `json:"target_ip"` TargetPortList string `json:"target_port_list"` TargetPort string `json:"target_port,omitempty"` TargetProcessingTime float64 `json:"target_processing_time"` TargetStatusCodeList string `json:"target_status_code_list"` TargetStatusCode string `json:"target_status_code"` Timestamp string `json:"@timestamp"` TraceID string `json:"trace_id"` Type string `json:"type"` UserAgent string `json:"user_agent"` }
type StatsCounter ¶
----- Stats Counter ------
func NewStatsCounter ¶
func NewStatsCounter(t time.Time) *StatsCounter
func (*StatsCounter) Avg ¶
func (c *StatsCounter) Avg() float64
func (*StatsCounter) Count ¶
func (c *StatsCounter) Count() uint64
func (*StatsCounter) Increment ¶
func (c *StatsCounter) Increment(n int)
func (*StatsCounter) Reset ¶
func (c *StatsCounter) Reset()
func (*StatsCounter) Since ¶
func (c *StatsCounter) Since() time.Time
func (*StatsCounter) Total ¶
func (c *StatsCounter) Total() uint64
type StatsGauge ¶
----- Stats Gauge ------
func NewStatsGauge ¶
func NewStatsGauge() *StatsGauge
func (*StatsGauge) Decrement ¶
func (g *StatsGauge) Decrement(n int)
func (*StatsGauge) Get ¶
func (g *StatsGauge) Get() int64
func (*StatsGauge) Increment ¶
func (g *StatsGauge) Increment(n int)
func (*StatsGauge) Set ¶
func (g *StatsGauge) Set(n int64)
type StatsManualTimer ¶
------ Stats Manual Timer (with reset)
type StatsTimer ¶
----- Stats Timer ------
func NewStatsTimer ¶
func NewStatsTimer(size int) *StatsTimer
func (*StatsTimer) Add ¶
func (s *StatsTimer) Add(t time.Duration)
func (*StatsTimer) Avg ¶
func (s *StatsTimer) Avg() time.Duration
func (*StatsTimer) Max ¶
func (s *StatsTimer) Max() time.Duration
Click to show internal directories.
Click to hide internal directories.