Skip to content

Telemetry for IE dependency warnings#4431

Merged
GlebKazantaev merged 8 commits intoopenvinotoolkit:masterfrom
GlebKazantaev:gkazanta/mo_ie_telemetry
Mar 1, 2021
Merged

Telemetry for IE dependency warnings#4431
GlebKazantaev merged 8 commits intoopenvinotoolkit:masterfrom
GlebKazantaev:gkazanta/mo_ie_telemetry

Conversation

@GlebKazantaev
Copy link
Copy Markdown
Contributor

@GlebKazantaev GlebKazantaev commented Feb 19, 2021

Description

In this PR I update Model Optimizer telemetry to track Inference Engine Python API dependency loading and execution within 49858 ticket.
New telemetry includes three new event categories: mo, install_prerequisites.sh, install_prerequisites.bat. These three categories will be used depending on scripts execution type as the same python scripts can be executed via install prerequisites and Model Optimizer.

Also new telemetry includes three types of even actions:

  1. offline_transformations_status - send information about offline_transformations step execution which includes next fields:

    • platform
    • simplified_mo_version
    • simplified_ie_version
    • python_version
    • return_code (will be set to "not executed" if IE is not found)
  2. ie_version_check - send information about Inference Engine and Model Optimizer versions which includes next fields:

    • platform
    • simplified_mo_version
    • simplified_ie_version
    • versions_mismatch (boolean flag)
  3. ie_import_failed - send information about errors that happen during Inference Engine Python API modules import. This event includes next fields:

    • platform
    • simplified_mo_version
    • simplified_ie_version
    • python_version
    • error_type (will be set to "undefined" if error message doesn't match any patterns)

simplified_mo_version and simplified_ie_version functions were introduced to avoid sending versions that may contain branch names. This functions either return release version like "2021.3" if it can be extracted from full version or "custom" in all other cases.

Update

I checked google-analytics and it successfully receive new event types and messages (event labels)

@GlebKazantaev GlebKazantaev marked this pull request as ready for review February 24, 2021 16:58
@GlebKazantaev GlebKazantaev requested a review from a team February 24, 2021 16:58
@GlebKazantaev GlebKazantaev force-pushed the gkazanta/mo_ie_telemetry branch from 6c1a82c to ae7073e Compare February 24, 2021 17:34
@GlebKazantaev GlebKazantaev added the category: MO Model Optimizer label Feb 25, 2021
@GlebKazantaev GlebKazantaev added this to the 2021.3 milestone Feb 25, 2021
@GlebKazantaev GlebKazantaev force-pushed the gkazanta/mo_ie_telemetry branch from 50aad22 to b2feaeb Compare February 25, 2021 14:13
@GlebKazantaev GlebKazantaev force-pushed the gkazanta/mo_ie_telemetry branch from b2feaeb to 9973275 Compare March 1, 2021 07:07
@GlebKazantaev GlebKazantaev merged commit 1bdccb4 into openvinotoolkit:master Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: MO Model Optimizer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants