Skip to content

feat(analytics): add Analytics API clients (go/java/python/ruby)#28

Open
MDzaja wants to merge 1 commit into
mainfrom
clients/pr-5119-sandbox-historical-metrics
Open

feat(analytics): add Analytics API clients (go/java/python/ruby)#28
MDzaja wants to merge 1 commit into
mainfrom
clients/pr-5119-sandbox-historical-metrics

Conversation

@MDzaja

@MDzaja MDzaja commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Original: daytonaio/daytona#5119


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.


Summary by cubic

Adds cross-language Analytics API clients (Go, Java, Python async, Ruby) for sandbox telemetry and usage. Includes sandbox metrics get_metrics (historical) and get_metrics_latest (latest), and wires the Java client into CI with local Maven publish.

  • New Features
    • Endpoints: Telemetry (logs with severity/search, get_metrics, get_metrics_latest, spans, trace summaries); Usage (sandbox usage periods, aggregated usage, chart points).
    • Clients: analytics-api-client-go (Go 1.23), io.daytona:analytics-api-client (Java; added to CI via publishToMavenLocal), daytona_analytics_api_client_async (Python async; telemetry implemented, usage scaffolded), daytona_analytics_api_client (Ruby; added in Gemfile).
    • Auth/server: Daytona API key or JWT; base URL https://analytics.app.daytona.io/.

Written for commit 7f193dd. Summary will update on new commits.

Review in cubic

@MDzaja MDzaja changed the title Clients/pr 5119 sandbox historical metrics feat(analytics): add Analytics API clients (go/java/python/ruby) Jul 1, 2026
@cubic-dev-ai

cubic-dev-ai Bot commented Jul 8, 2026

Copy link
Copy Markdown

This PR is large and would use a significant portion of your monthly review quota. Comment @cubic-dev-ai review this to confirm that you want cubic to review it.

@MDzaja MDzaja force-pushed the clients/pr-5119-sandbox-historical-metrics branch from 53c2e29 to 51067bd Compare July 9, 2026 11:34
@MDzaja MDzaja force-pushed the clients/pr-5119-sandbox-historical-metrics branch 4 times, most recently from bc48c11 to 939c402 Compare July 13, 2026 15:26
…mple (get_metrics_latest) across all SDKs

Signed-off-by: MDzaja <mirkodzaja0@gmail.com>
@MDzaja MDzaja force-pushed the clients/pr-5119-sandbox-historical-metrics branch from 939c402 to 7f193dd Compare July 13, 2026 15:48
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