Documentation ¶
Index ¶
Constants ¶
View Source
const ( ContextKeyTraceID = "goRunTraceID" ContextKeyCloudflareRay = "cloudflareRay" ContextKeyRequestPath = "requestPath" ContextKeyNewRelicTx = "newRelicTransaction" ContextKeyEnableDebugLogging = "enableDebugLog" ContextKeyCustomMetricLabel = "customMetricLabel" )
View Source
const ( EnvNodeStaging = "NODE_ENV" EnvAppStaging = "APP_ENV" EnvStagingLocal = "local" EnvStagingDevelopment = "development" EnvStagingTesting = "testing" EnvStagingProduction = "production" )
View Source
const ( HeaderAMTraceID = "am-trace-id" HeaderXCloudTraceContext = "x-cloud-trace-context" HeaderCloudflareRay = "CF-Ray" HeaderEnableDebugLogging = "Enable-Debug-Log" KeyAMTraceID = "am_trace_id" KeyCloudflareRay = "cloudflare_ray" KeyEnableDebugLogging = "enable_debug_log" OtelMsgCarrierKey = "otel_carrier" OtelDefaultTracerName = "default" OtelDefaultSpanNamePubSubProducer = "PubSub Publish" OtelDefaultSpanNamePubSubConsumer = "PubSub Consume" DefaultAccessLogPattern = `` /* 171-byte string literal not displayed */ JSONAccessLogPattern = `` /* 481-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.