BRN-29: OTel instrumentation for graphiti-api, reasoning-tools, brain-sync #1
No reviewers
Labels
No labels
meta:good-first-issue
meta:help-wanted
priority:high
priority:low
priority:medium
priority:urgent
status:backlog
status:blocked
status:done
status:in-progress
type:bug
type:docs
type:feature
type:infra
type:research
type:task
meta/good-first-issue
meta/help-wanted
priority
P0
priority
P1
priority
P2
priority
P3
status
backlog
status
blocked
status
done
status
in-progress
status
needs-review
type
bug
type
docs
type
feature
type
infra
type
research
type
task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
generate-one/g1-brain!1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "brn-29/otel-instrumentation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Replicates the g1_otel.py pattern from knowledge-mcp (BRN-25) to three additional g1-brain services:
init_otel()in lifespan, FastAPI + httpx auto-instrumentationinit_otel()beforemcp.run(), httpx instrumentationinit_otel()at module level before FastAPI app creationChanges per service
g1_otel.pyshared module (graceful no-op when OTEL_ENABLED=false)requirements.txtf4o0gg0oocoog4ggo848oswc)Compose files updated
compose/memory-stack.yml— graphiti-api service + observe networkcompose/brain-mcp.yml— reasoning-tool service + observe networkDeploy notes
build:directive → requires local rebuild + PATCH sync (Rule 59)View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.