Skip to content

test(csharp): enable client telemetry for all e2e tests#515

Merged
eric-wang-1990 merged 1 commit into
mainfrom
eric/e2e-enable-telemetry
Jun 11, 2026
Merged

test(csharp): enable client telemetry for all e2e tests#515
eric-wang-1990 merged 1 commit into
mainfrom
eric/e2e-enable-telemetry

Conversation

@eric-wang-1990

Copy link
Copy Markdown
Collaborator

What

Force adbc.databricks.telemetry.enabled=true in DatabricksTestEnvironment.GetDriverParameters, so every e2e connection now emits real client telemetry to {host}/telemetry-ext.

Why

Telemetry is off by default (TelemetryConfiguration.Enabled = false). As a result, the only ADBC traffic currently landing in main.eng_lumberjack.prod_frontend_log_sql_driver_log comes from a stale build (0.23.0-SNAPSHOT+b716671, commit for #341) — no current-version (1.1.4) telemetry reaches lumberjack at all. Enabling it at the test-env layer gives the e2e suite real, current-build telemetry coverage (session/statement/metadata events, retry/chunk fields, etc.) and a live signal that the export path works end-to-end against the real endpoint.

Scope / impact

  • Affects only the e2e test environment (csharp/test/E2E/DatabricksTestEnvironment.cs); no driver/runtime code changes.
  • Every e2e run will now POST to /telemetry-ext. This is intentional. Sends are non-blocking and guarded by the circuit breaker, so a telemetry failure cannot fail a functional test.
  • Idempotent indexer assignment, so a future config-gated telemetryEnabled field can override it without conflict.

Verification

Build could not be run locally due to an unrelated net10.0 submodule/SDK mismatch. To confirm end-to-end: with DATABRICKS_TEST_CONFIG_FILE set (non-SEA, with token), run an e2e test (e.g. CloudFetchE2ETest), wait ~30 min for ingestion, then query prod_frontend_log_sql_driver_log for a fresh driver_version LIKE '1.1.4%' row — absent on main, present with this change.

This pull request and its description were written by Isaac.

Force adbc.databricks.telemetry.enabled=true in
DatabricksTestEnvironment.GetDriverParameters so every e2e connection emits
real telemetry to {host}/telemetry-ext under the current driver version.

Telemetry is off by default (TelemetryConfiguration.Enabled = false), which
is why only stale builds (0.23.0-SNAPSHOT) currently appear in
prod_frontend_log_sql_driver_log and no current-version traffic reaches
lumberjack. Setting the property at the test-env layer gives the e2e suite
real, current-build telemetry coverage.

Co-authored-by: Isaac
@eric-wang-1990 eric-wang-1990 added the e2e-test Trigger E2E tests on this PR label Jun 9, 2026
@eric-wang-1990 eric-wang-1990 enabled auto-merge June 10, 2026 06:47
@eric-wang-1990 eric-wang-1990 added this pull request to the merge queue Jun 10, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Jun 10, 2026
@eric-wang-1990 eric-wang-1990 added this pull request to the merge queue Jun 10, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Jun 10, 2026
@eric-wang-1990 eric-wang-1990 added this pull request to the merge queue Jun 11, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Jun 11, 2026
@eric-wang-1990 eric-wang-1990 added this pull request to the merge queue Jun 11, 2026
Merged via the queue into main with commit a4f7da8 Jun 11, 2026
30 of 31 checks passed
@eric-wang-1990 eric-wang-1990 deleted the eric/e2e-enable-telemetry branch June 11, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

e2e-test Trigger E2E tests on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants