feat: create tracing.SlogSink for storing logs as span events (#4962)

This commit is contained in:
Dean Sheather
2022-11-09 12:58:23 -06:00
committed by GitHub
parent 0ae8d5eeec
commit ffc24dcbe0
7 changed files with 344 additions and 1 deletions
+8
View File
@@ -188,6 +188,14 @@ Flags:
--trace-honeycomb-api-key string Enables trace exporting to Honeycomb.io
using the provided API Key.
Consumes $CODER_TRACE_HONEYCOMB_API_KEY
--trace-logs Enables capturing of logs as events in
traces. This is useful for debugging, but
may result in a very large amount of
events being sent to the tracing backend
which may incur significant costs. If the
verbose flag was supplied, debug-level
logs will be included.
Consumes $CODER_TRACE_CAPTURE_LOGS
--wildcard-access-url string Specifies the wildcard hostname to use
for workspace applications in the form
"*.example.com".