You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(telemetry): emit v1 schema fields (telemetry_type, profile, deployment_mode)
Closes the #2007 contract (axonflow-enterprise) on top of v8.0. v8.0
shipped the .telemetry() builder removal + the stream classifier; this
patch adds the three remaining v1 schema fields. Additive on the v8.0
line — no version bump.
- telemetry_type: "sdk" discriminator field on every payload.
- profile: from AXONFLOW_PROFILE env var, "unknown" when unset.
- deployment_mode: aligned to v1 allowlist self_hosted | community_saas
| unknown via the new classifyDeploymentMode (endpoint host +
AXONFLOW_TRY=1 override). The prior config.Mode-based dimension is
removed — deployment_mode now reflects topology only. New
DeploymentMode constants class.
- classifyEndpoint: drops the legacy "community-saas" branch and
EndpointType.COMMUNITY_SAAS constant; topology lives on deployment_mode
in v1.
Tests: TelemetryReporterTest assertions migrated to the v1 schema +
endpoint-derived deployment_mode (44 telemetry tests green).
Signed-off-by: Saurabh Jain <saurabhjain1592@gmail.com>
* chore: trigger CI re-run after [skip-runtime-e2e] title edit
Signed-off-by: Saurabh Jain <saurabhjain1592@gmail.com>
---------
Signed-off-by: Saurabh Jain <saurabhjain1592@gmail.com>
- New heartbeat fields: `telemetry_type: "sdk"`, `profile` (from `AXONFLOW_PROFILE`, `unknown` when unset), `deployment_mode` aligned to `self_hosted | community_saas | unknown` via the new `classifyDeploymentMode` (host + `AXONFLOW_TRY=1` override). New `DeploymentMode` constants class.
66
+
-`classifyEndpoint` no longer returns `community-saas` and `EndpointType.COMMUNITY_SAAS` is removed — that value moved off endpoint_type onto deployment_mode; analytics queries on the legacy value must update.
0 commit comments