Skip to content

feat: default User-Agent header for Go SDK attribution (DAK-7617) - #147

Merged
ferhimedamine merged 1 commit into
mainfrom
feat/dak-7617-user-agent
Jul 29, 2026
Merged

feat: default User-Agent header for Go SDK attribution (DAK-7617)#147
ferhimedamine merged 1 commit into
mainfrom
feat/dak-7617-user-agent

Conversation

@ferhimedamine

Copy link
Copy Markdown
Contributor

Sets User-Agent: dakera-go/<version> on the main request helper in client.go so the engine's server-side telemetry (DAK-7617) can attribute Go SDK usage.

Changes

  • Add exported Version constant (0.11.102, from the latest git tag v0.11.102).
  • Set req.Header.Set("User-Agent", "dakera-go/"+Version) alongside the existing header sets in the shared request helper used by all normal API calls.

No behavior change beyond the outgoing header. Minimal, single-file diff.

🤖 Generated with Claude Code

Adds a Version constant and sets User-Agent: dakera-go/<version> on the main
request helper so the Dakera engine's server-side telemetry (DAK-7617) can
attribute Go SDK usage.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ferhimedamine
ferhimedamine merged commit a270ff0 into main Jul 29, 2026
6 checks passed
@ferhimedamine
ferhimedamine deleted the feat/dak-7617-user-agent branch July 29, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant