Skip to content

Commit

Permalink
Report transport type
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed Jan 27, 2025
1 parent 18880f1 commit 71be901
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/extension/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import {
getServerRunnerVersion,
getSessionOutputs,
getServerLifecycleIdentity,
getServerConfigurationValue,
ServerTransportType,
} from '../utils/configuration'
import {
AuthenticationProviders,
Expand Down Expand Up @@ -457,7 +459,14 @@ export class RunmeExtension {
),
)

TelemetryReporter.sendTelemetryEvent('config', { runnerVersion: getServerRunnerVersion() })
const transportType = getServerConfigurationValue<ServerTransportType>(
'transportType',
KernelServer.transportTypeDefault,
)
TelemetryReporter.sendTelemetryEvent('config', {
runnerVersion: getServerRunnerVersion(),
transportType,
})

await bootFile(context)

Expand Down

0 comments on commit 71be901

Please sign in to comment.