Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultLogURLTemplate is used to set the default log url template DefaultLogURLTemplate = "" // DefaultRequestLogTemplate is the default format for emitting request logs. DefaultRequestLogTemplate = `` /* 497-byte string literal not displayed */ // ReqLogTemplateKey is the CM key for the request log template. RequestLogTemplateKey = "logging.request-log-template" // EnableReqLogKey is the CM key to enable request log. EnableRequestLogKey = "logging.enable-request-log" // EnableProbeReqLogKey is the CM key to enable request logs for probe requests. EnableProbeRequestLogKey = "logging.enable-probe-request-log" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseConfig ¶
type Config ¶
type Config struct {
BaseConfig
RequestMetrics MetricsConfig `json:"requestMetrics"`
// EnableVarLogCollection specifies whether the logs under /var/log/ should be available
// for collection on the host node by the fluentd daemon set.
//
// We elide this value from JSON serialization because it's not relevant for
// the queue proxy
EnableVarLogCollection bool `json:",omitempty"`
// LoggingURLTemplate is a string containing the logging url template where
// the variable REVISION_UID will be replaced with the created revision's UID.
//
// We elide this value from JSON serialization because it's not relevant for
// the queue proxy
LoggingURLTemplate string `json:",omitempty"`
// EnableRequestLog enables activator/queue-proxy to write request logs.
EnableRequestLog bool `json:"enableRequestLog,omitempty"`
// RequestLogTemplate is the go template to use to shape the request logs.
RequestLogTemplate string `json:"requestLogTemplate,omitempty"`
// EnableProbeRequestLog enables queue-proxy to write health check probe request logs.
EnableProbeRequestLog bool `json:"enableProbeRequestLog,omitempty"`
}
+k8s:deepcopy-gen=true
func DefaultConfig ¶
func DefaultConfig() *Config
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricsConfig ¶
type MetricsConfig = pkgo11y.MetricsConfig
type RuntimeConfig ¶
type RuntimeConfig = pkgo11y.RuntimeConfig
type TracingConfig ¶
type TracingConfig = pkgo11y.TracingConfig
Click to show internal directories.
Click to hide internal directories.