Documentation ¶
Index ¶
Constants ¶
View Source
const ( CfgFluentdHost = "fluentd.host" CfgFluentdPort = "fluentd.port" CfgProhibitedHeaders = "prohibited_headers" CfgRequestResponseTag = "tags.request_response" CfgResponseBodyTag = "tags.response_body" CfgFeedbackTag = "tags.feedback" )
View Source
const ( ModelNameHeaderKey = "model-name" ModelVersionHeaderKey = "model-version" OdahuFlowRequestIdHeaderKey = "request-id" HttpMethodHeaderKey = ":method" OriginalUriHeaderKey = "x-original-uri" StatusHeaderKey = ":status" ForwardedHostHeaderKey = "x-forwarded-host" EnvoyInternalRoutingHeader = "x-envoy-decorator-operation" EnvoyInternalRoutingHeaderPrefix = "istio-ingressgateway" )
Variables ¶
View Source
var (
CfgFile string
)
Functions ¶
func InitBasicParams ¶
func PanicIfError ¶
func PanicIfError(err error)
Types ¶
type DataLogging ¶
func NewDataLogger ¶
func NewDataLogger() (DataLogging, error)
Click to show internal directories.
Click to hide internal directories.