Commit a854d8d
committed
telemetry: populate mode and use_proxy in driver_connection_params
The four Node-specific fields dropped in the previous commit have no
proto equivalent (CloudFetch enablement, LZ4, retry config, concurrent
downloads aren't tracked at the receiver). But two unrelated proto
fields can be filled from existing Node config:
- `mode = "THRIFT"` — Node.js always uses Thrift transport (no SEA
client). JDBC's `DatabricksClientType` enum is `SEA | THRIFT`.
- `use_proxy` — derived from `ConnectionOptions.proxy`. Stored on
DBSQLClient at `connect()` time alongside the existing host /
httpPath / authType fields, then surfaced through a new
`DriverConfiguration.useProxy` field.
Co-authored-by: Isaac1 parent 05001b7 commit a854d8d
3 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
| |||
425 | 427 | | |
426 | 428 | | |
427 | 429 | | |
| 430 | + | |
428 | 431 | | |
429 | 432 | | |
430 | 433 | | |
| |||
604 | 607 | | |
605 | 608 | | |
606 | 609 | | |
| 610 | + | |
607 | 611 | | |
608 | 612 | | |
609 | 613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
411 | 413 | | |
412 | 414 | | |
413 | 415 | | |
| 416 | + | |
| 417 | + | |
414 | 418 | | |
415 | 419 | | |
416 | 420 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
307 | 310 | | |
308 | 311 | | |
309 | 312 | | |
| |||
0 commit comments