birschick-bq opened a new pull request, #3315:
URL: https://github.com/apache/arrow-adbc/pull/3315

   Adds instrumentation to support tracing exporters
   
   ### Tracing Exporters
   
   To enable tracing messages to be observed, a tracing exporter needs to be 
activated.
   Use either the environment variable `OTEL_TRACES_EXPORTER` or the parameter 
`adbc.traces.exporter` to select one of the
   supported exporters. The parameter has precedence over the environment 
variable.
   
   The following exporters are supported:
   
   | Exporter | Description |
   | --- | --- |
   | `otlp` | Exports traces to an OpenTelemetry Collector or directly to an 
Open Telemetry Line Protocol (OTLP) endpoint. |
   | `adbcfile` | Exports traces to rotating files in a folder. |
   | `console` | Exports traces to the console output. |
   | `none` | Disables trace exporting. |
   
   Note: _The first connection to activate tracing will enable tracing for
   any later connections that are created in that process._ (This behavior may 
change in future implementations.)
   
   #### File Exporter (adbcfile)
   
   Rotating trace files are written to a folder. The file names are created 
with the following pattern:
   
`apache.arrow.adbc.drivers.bigquery-<YYYY-MM-DD-HH-mm-ss-fff>-<process-id>.log`.
   
   The folder used depends on the platform.
   
   | Platform | Folder |
   | --- | --- |
   | Windows | `%LOCALAPPDATA%/Apache.Arrow.Adbc/Traces` |
   | macOS   | `$HOME/Library/Application Support/Apache.Arrow.Adbc/Traces` |
   | Linux   | `$HOME/.local/share/Apache.Arrow.Adbc/Traces` |
   
   
   Note that once a tracing exporter is activated/enabled - it stays activated 
until the process exits.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to