Inspect extraction traces
ParseHawk instruments model requests with OpenInference and exports traces over
OTLP. The default stack includes a local Phoenix instance at
http://127.0.0.1:6006.
Inspect the bundled trace
Section titled “Inspect the bundled trace”- Run an extraction.
- Open Phoenix at
http://127.0.0.1:6006. - Select the
parsehawkproject and open the API or worker span. - Compare the prompt, model response, latency, and validation outcome.
Phoenix stores its SQLite data under data/phoenix/, so traces survive normal
restarts.
Send traces to another collector
Section titled “Send traces to another collector”The exporter expects an OTLP/HTTP base URL and appends /v1/traces itself:
export OTEL_EXPORTER_OTLP_ENDPOINT=https://collector.example.comexport OTEL_EXPORTER_OTLP_HEADERS="authorization=Bearer%20my-key"export OTEL_SDK_DISABLED=falseparsehawk start -x phoenixDo not include /v1/traces at the end of the endpoint. Header values follow the
OTLP environment-variable encoding rules.
Disable tracing
Section titled “Disable tracing”parsehawk start -x phoenixThis disables the bundled Phoenix and, unless you explicitly provide another collector configuration, disables SDK export.
Enable model I/O logs only for local debugging
Section titled “Enable model I/O logs only for local debugging”PARSEHAWK_LOG_LEVEL=DEBUG \PARSEHAWK_LOG_MODEL_IO=true \parsehawk restartModel I/O can contain sensitive document text and extracted values. Prefer Phoenix’s local access controls and turn verbose logging off after diagnosis.
Separate anonymous telemetry from tracing
Section titled “Separate anonymous telemetry from tracing”Anonymous product telemetry is independent of model tracing. Disable it with:
export PARSEHAWK_TELEMETRY_DISABLED=1# orexport DO_NOT_TRACK=1ParseHawk does not send document contents, filenames, extractor instructions, schemas, or results in anonymous telemetry.