Skip to content

Commit 3539b18

Browse files
committed
Update telemetry implementation
1 parent bfad34e commit 3539b18

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

onnxruntime/core/platform/windows/telemetry.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,8 @@ void WindowsTelemetry::LogSessionCreation(uint32_t session_id, int64_t ir_versio
415415
TraceLoggingString(model_metadata_string.c_str(), "modelMetaData"),
416416
TraceLoggingString(loaded_from.c_str(), "loadedFrom"),
417417
TraceLoggingString(execution_provider_string.c_str(), "executionProviderIds"),
418-
TraceLoggingString(service_names.c_str(), "serviceNames"));
418+
TraceLoggingString(service_names.c_str(), "serviceNames"),
419+
TraceLoggingString(ORT_CALLER_FRAMEWORK, "frameworkName"));
419420
}
420421
}
421422

@@ -662,7 +663,8 @@ void WindowsTelemetry::LogProviderOptions(const std::string& provider_id, const
662663
// Telemetry info
663664
TraceLoggingUInt8(0, "schemaVersion"),
664665
TraceLoggingString(provider_id.c_str(), "providerId"),
665-
TraceLoggingString(provider_options_string.c_str(), "providerOptions"));
666+
TraceLoggingString(provider_options_string.c_str(), "providerOptions"),
667+
TraceLoggingString(ORT_CALLER_FRAMEWORK, "frameworkName"));
666668
}
667669
}
668670

0 commit comments

Comments
 (0)