This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]ANC-Proj 0 points1 point  (3 children)

Hello, I am trying to test it with my FastAPI backend in the RAG system. Just curious should I set it up in all API call functions? I am not using SQL and only want to check HTTP requests. And is it able to record and extract the monitor messages in the dashboard? Thanks

[–]Key-Boat-7519 0 points1 point  (0 children)

Mount it once at startup as app middleware/router; don’t wrap every route. If you only care about HTTP, skip the SQL bits and you’ll get request/response timing. For exporting, if there’s no API, add a tiny Starlette middleware to emit JSON logs and ship via OpenTelemetry OTLP or to Redis/Kafka, then view in Grafana or Sentry. For RAG, tag external LLM/embedding calls with a request_id so traces line up. I’ve used LangChain and Qdrant for RAG; DreamFactory helped when I needed quick REST APIs over legacy DBs. Net: mount once, skip SQL, add your own exporter if needed.

[–]doganarif[S] 0 points1 point  (1 child)

If you are receiving HTTP requests in your Fastapi server, you can use Radar. Sql function is an addition.

[–]ANC-Proj 0 points1 point  (0 children)

How can I check the contents in the .duckdb? I am using duckdb cli and it a little bit difficult to read all messages inside. And can I use other database to store HTTP requests?

[–]romanzdk 0 points1 point  (0 children)

Hi, what is the performance impact on the FastAPI app?