Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
In the app: Settings › Observability › OpenTelemetry collectors
AWFlow keeps traces in your browser. If you already use an observability tool, such as Arize Phoenix, Langfuse, LangSmith, Grafana, Honeycomb or Jaeger, AWFlow can also send it a copy of every span. A collector is the address that tool receives traces on.
Collectors speak OTLP, the OpenTelemetry protocol. AWFlow sends standard OTLP over HTTP, so any tool that accepts OTLP traces can read them. Spans carry both OpenInference attributes (read by Phoenix) and OpenTelemetry GenAI attributes. Nothing is sent until you add a collector.
Add a collector
Section titled “Add a collector”- Open Settings › Observability and scroll to OpenTelemetry collectors.
- Click Add a collector.
- Pick a Preset. It fills in the endpoint, the protocol and the headers your tool needs.
- Fill in the rest, click Send test span to check the connection, then click Save collector.
Nummerierte Bereiche im Screenshot: 1. Preset; 2. Endpoint; 3. Headers; 4. Send test span.
The form’s fields:
| Field | What to enter |
|---|---|
| Preset | The tool you send to. Custom OTLP leaves everything empty. |
| Name | How the collector is listed. It defaults to the preset’s name. |
| Endpoint | The full traces address, for example http://localhost:6006/v1/traces. Use https://; plain http:// works only for localhost and 127.0.0.1. |
| Region | Langfuse only: EU or US. It switches the endpoint for you. |
| Protocol | OTLP/HTTP · JSON or OTLP/HTTP · protobuf. Keep the preset’s choice unless your tool asks for the other. |
| Send | Spans with content (prompts, replies, tool inputs and results, already cleaned of secrets) or Timing and tokens only. |
| Mask emails and phone numbers | Off by default. See Mask personal details. |
| Headers | Name and value pairs. Click Header to add one. Langfuse has Public key and Secret key fields instead. |
Below the headers, the form says where traces will go: AWFlow will send AI traces to cloud.langfuse.com, for example. Saving the collector is your consent to send them there.
Phoenix on your computer
Section titled “Phoenix on your computer”Arize Phoenix runs on your own computer and reads AWFlow’s spans as they are.
-
Start Phoenix. With Docker:
Terminal window docker run -p 6006:6006 -p 4317:4317 -i -t arizephoenix/phoenix:latestOr with Python:
pip install arize-phoenix, thenphoenix serve. Phoenix’s interface and its OTLP HTTP collector both use port 6006. -
In AWFlow, open Settings › Observability, click Add a collector and pick Phoenix (local). The endpoint becomes
http://localhost:6006/v1/tracesand the protocol OTLP/HTTP · JSON. No header is needed. -
Click Send test span. In the extension, the browser first asks to let AWFlow reach
localhost:6006: choose Allow. The form should show Test span accepted. -
Click Save collector.
-
Ask Aria or an agent something, then open Phoenix at
http://localhost:6006. The run appears in Phoenix, with the same steps you see in AWFlow.
If your Phoenix asks for an API key, click Header and add the header its documentation names.
Langfuse
Section titled “Langfuse”Langfuse receives OpenTelemetry traces at its /api/public/otel address. It authenticates with your project’s public key and secret key.
-
Find your project’s keys in Langfuse, under the project’s settings. See Langfuse’s guide Where are my Langfuse API keys?. The public key starts with
pk-lf-, the secret key withsk-lf-. -
In AWFlow, open Settings › Observability, click Add a collector and pick Langfuse.
-
Pick the Region your Langfuse project is in. The endpoint follows:
Region Endpoint EU https://cloud.langfuse.com/api/public/otel/v1/tracesUS https://us.cloud.langfuse.com/api/public/otel/v1/tracesFor a Langfuse you host yourself, replace the address’s host with yours:
https://<your Langfuse host>/api/public/otel/v1/traces. -
Paste the Public key and the Secret key. The protocol is OTLP/HTTP · protobuf.
-
Click Send test span. The form should show Test span accepted.
-
Click Save collector.
You don’t need to build the authentication header yourself. Langfuse uses HTTP Basic authentication: AWFlow joins the two keys with a colon, public key:secret key, encodes that text in Base64 and sends it as Authorization: Basic <encoded text>. Only that header is saved, in your secret vault.
When you edit a Langfuse collector later, the key fields show ••••• (saved). Leave both empty to keep the saved keys, or fill in both to replace them.
Any OTLP endpoint
Section titled “Any OTLP endpoint”Pick the preset of your tool, or Custom OTLP for anything else, such as your own OpenTelemetry Collector.
| Preset | Endpoint it fills in | Headers it asks for |
|---|---|---|
| Phoenix (local) | http://localhost:6006/v1/traces |
None |
| Langfuse | https://cloud.langfuse.com/api/public/otel/v1/traces |
Public key and secret key |
| LangSmith | https://api.smith.langchain.com/otel/v1/traces |
x-api-key, Langsmith-Project |
| Grafana Cloud | https://otlp-gateway-<zone>.grafana.net/otlp/v1/traces |
Authorization |
| Honeycomb | https://api.honeycomb.io/v1/traces |
x-honeycomb-team |
| Jaeger | http://localhost:4318/v1/traces |
None |
| Custom OTLP | Empty | None; add your own |
For Grafana Cloud, replace <zone> with your stack’s zone; the form won’t save while a <…> placeholder is left. Each tool’s own documentation says which values to put in its headers.
Several collectors can be on at once. Each one has its own queue and status.
Content or timing only
Section titled “Content or timing only”Send decides what each collector receives:
- Spans with content sends what is stored on this device: messages, tool inputs and results, all already cleaned of API keys, tokens and passwords. Agents you added to Don’t record content for… never have content to send.
- Timing and tokens only sends the steps, their names, times, token counts, models and errors, without any text.
Switching a collector to Timing and tokens only also applies to the spans already waiting for it.
Mask personal details
Section titled “Mask personal details”With Spans with content, tick Mask emails and phone numbers to hide them from this collector. They are replaced before sending; traces on this device keep the text. The box is off by default. With Timing and tokens only it is disabled, because no text is sent.
- An email address becomes
[email]. - A phone number becomes
[phone].
The phone rule is conservative, so it does not hide every number. It masks numbers written with a +, with ( or with a leading 0, and numbers split into 3 or more groups by dashes or dots. Some plain numbers are not masked. Dates, ids and versions are never touched.
Masking is not a guarantee. If a tool must never see personal details, choose Timing and tokens only.
Send test span includes a sample with an email and a phone number, so you can see in your tool how they come out.
Check the status
Section titled “Check the status”Each collector in the list shows its endpoint, protocol and a status line. The switch turns sending on or off.
| Status | What it means |
|---|---|
| Last export 5 min ago · 120 spans today · Queue empty | Connected and up to date. (Example values.) |
| No export yet | Saved, but nothing has been sent yet. |
| An error, Since a time, the spans waiting and the next retry | Sending failed, for example because you’re offline or the collector is down. AWFlow keeps retrying. |
| An error with a Fix button | The collector refused the request. For refused keys (HTTP 401 or 403), click Fix, enter the header values again and save: waiting spans are sent again then. For any other refusal (another 4xx error), that batch of spans is dropped, not retried; click Fix to check the endpoint and settings. |
| Waiting for vault unlock | Your secret vault is locked, so AWFlow can’t read the header values. Unlock it and sending resumes. |
| Off | The switch is off. |
To change a collector, click its pencil icon. In the form, Remove deletes it after you confirm with Remove collector; the spans waiting for it are dropped.
How sending works
Section titled “How sending works”- AWFlow sends spans from an open AWFlow page: an app tab or the side panel. When none is open, spans wait in a queue on this device and go out the next time you open AWFlow.
- New spans go out a couple of seconds after they’re recorded, then at least once a minute while a page is open.
- Only spans recorded after you add a collector are sent. To share older traces, use Export (OTLP JSON) in Settings & privacy.
- After a failure, AWFlow waits longer between tries: 30 seconds, 2 minutes, 10 minutes, 30 minutes, then every hour. Spans that can’t be sent within 72 hours are dropped.
- Each collector’s queue holds up to 5,000 spans or 20 MB. Beyond that, the oldest waiting spans are dropped.
In the web app
Section titled “In the web app”The web app sends from the browser page itself, so your collector must allow requests from the AWFlow site (CORS). The form reminds you of this. A collector on localhost or a cloud service that doesn’t allow browser requests won’t work from the web app; use the extension, or put your own OpenTelemetry Collector with CORS enabled in front of it.
In the extension, https:// collectors work without extra steps. For a collector on localhost, the browser asks once for permission to reach it.
Good to know
Section titled “Good to know”- Header values are stored in your secret vault. If the vault is locked when you save or test, the form asks you to unlock it under Security.
- An endpoint with a user name or password in it (
https://user:pass@…) is refused. Put keys in headers. - Collectors receive tokens, never prices.
- A collector gets a copy. Your traces stay on this device either way.
Related
Section titled “Related”- Settings & privacy: what is recorded and kept.
- Traces: the same runs, inside AWFlow.
- Observability concepts: traces, spans and span kinds.
- Secret vault: where header values are kept.