add .env.opencode to fix metrics otlp #92
No reviewers
Labels
No labels
bug
cannot reproduce
duplicate
enhancement
help wanted
invalid
need info
need triage
need verification
not a bug
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
claudiomaradonna/azkaban!92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "env/otlp"
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?
Review ready:
1a580725c9Review: changes requested
Reviewed
1a580725c905: 2 blocking and 1 minor findings.What is wrong
.gitignore:13ignores.env.*under 'Local secrets'; the file entered the tree only bygit add -f, against the rule keeping.env.examplethe sole committed env file..worktrees/<branch>sessions get nothing, missing the fix's main case.OPENCODE_SPAN_ATTRIBUTES; the repo sets no plugin or endpoint, so the stated fix is unverifiable and the body is empty.Reproduced
make lint && .agents/hooks/shellcheck.sh repo && make test): exit 0, no failures.git check-ignore --no-index .env.opencodegives.gitignore:13:.env.*; the only otlp/otel/telemetry hit in the repo is this line._load_env_fileyields OPENCODE_SPAN_ATTRIBUTES=project=azkaban.Questions and details
OPENCODE_RESOURCE_ATTRIBUTESfit a project label better?@ -0,0 +1 @@OPENCODE_SPAN_ATTRIBUTES=project=azkabanBlocking: Ignored path: adding it needed
git add -f. Add!.env.opencodeto .gitignore with a reason, or set it in the identity'senv.opencode.Blocking: Loads only for the invoked workspace (bin/azkaban:1998), so
.worktrees/<branch>sessions get no attribute.Minor: Third-party plugin's variable, and no OTLP endpoint or plugin is configured here, so this line alone exports nothing.