Documentation ¶
Index ¶
Constants ¶
View Source
const ( CfgMonitoringHost = "monitoring.host" CfgMonitoringPort = "monitoring.port" )
View Source
const ( CfgEnvoyHost = "envoy.host" CfgEnvoyPort = "envoy.port" CfgEnvoyConfigId = "envoy.config_id" )
View Source
const (
TapUrl = "/tap"
)
Variables ¶
This section is empty.
Functions ¶
func StartMonitoringServer ¶
func StartMonitoringServer() error
Types ¶
type RequestCollector ¶
type RequestCollector struct {
// contains filtered or unexported fields
}
func NewRequestCollector ¶
func NewRequestCollector( envoyHost string, envoyPort int, configId string, logger feedback.DataLogging, prohibitedHeaders []string, ) (*RequestCollector, error)
func (*RequestCollector) TraceRequests ¶
func (rc *RequestCollector) TraceRequests() error
type TapRequest ¶
type TapRequest struct { ConfigID string `yaml:"config_id"` TapConfig struct { MatchConfig struct { HttpRequestHeadersMatch struct { Headers []TapRequestHeader `yaml:"headers"` } `yaml:"http_request_headers_match"` } `yaml:"match_config"` OutputConfig struct { Sinks []TapSink `yaml:"sinks"` MaxBufferedTxBytes int32 `yaml:"max_buffered_tx_bytes"` MaxBufferedRxBytes int32 `yaml:"max_buffered_rx_bytes"` } `yaml:"output_config"` } `yaml:"tap_config"` }
type TapRequestHeader ¶
Click to show internal directories.
Click to hide internal directories.