Revert "Switch telemetry to opt-out approach. (#20290)" (#20370)

This reverts commit b630bffa14.
This commit is contained in:
Ilya Lavrenov 2023-10-10 22:08:20 +04:00 committed by Alexander Nesterov
parent de1ab23130
commit d963500b81
6 changed files with 39 additions and 25 deletions

View File

@ -129,14 +129,6 @@ OpenVINO™ Toolkit also contains several plugins which simplify loading models
OpenVINO™ Toolkit is licensed under [Apache License Version 2.0](LICENSE). OpenVINO™ Toolkit is licensed under [Apache License Version 2.0](LICENSE).
By contributing to the project, you agree to the license and copyright terms therein and release your contribution under these terms. By contributing to the project, you agree to the license and copyright terms therein and release your contribution under these terms.
## Telemetry
OpenVINO™ collects software performance and usage data for the purpose of improving OpenVINO™ tools. This data is collected directly by OpenVINO™ or through the use of Google Analytics 4.
You can opt-out at any time by running the command:
opt_in_out --opt_out
More Information is available at https://docs.openvino.ai/latest/openvino_docs_telemetry_information.html.
## Documentation ## Documentation
### User documentation ### User documentation

View File

@ -3,11 +3,13 @@
@sphinxdirective @sphinxdirective
.. meta:: .. meta::
:description: Learn about OpenVINO™ telemetry, that collects anonymous usage data for the purpose of improving OpenVINO™ tools. :description: Learn about OpenVINO™ telemetry, that with your explicit consent
collects only usage data to simplify debugging and further development.
To facilitate debugging and further development, OpenVINO™ collects anonymous telemetry data. Anonymous telemetry data is collected by default, To facilitate debugging and further development, OpenVINO™ asks its users for
but you can stop data collection anytime by running the command ``opt_in_out --opt_out``. a permission to collect telemetry data. It will not be collected
without an explicit consent on your part and will cover only OpenVINO™ usage information.
It does not extend to any other Intel software, hardware, website usage, or other products. It does not extend to any other Intel software, hardware, website usage, or other products.
Google Analytics is used for telemetry purposes. Refer to Google Analytics is used for telemetry purposes. Refer to
@ -16,6 +18,34 @@ Google Analytics is used for telemetry purposes. Refer to
Enable or disable Telemetry reporting Enable or disable Telemetry reporting
########################################################### ###########################################################
First-run consent
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
On the first run of an application that collects telemetry data, you will be prompted
to opt in or out of telemetry collection with the following telemetry message:
.. code-block:: console
Intel would like your permission to collect software performance and usage data
for the purpose of improving Intel products and services. This data will be collected
directly by Intel or through the use of Google Analytics. This data will be stored
in countries where Intel or Google operate.
You can opt-out at any time in the future by running ``opt_in_out --opt_in``.
More Information is available at docs.openvino.ai.
Please type ``Y`` to give your consent or ``N`` to decline.
Choose your preference by typing ``Y`` to enable or ``N`` to disable telemetry. Your choice will
be confirmed by a corresponding disclaimer. If you do not reply to the telemetry message,
your telemetry data will not be collected.
For the Neural Network Compression Framework (NNCF), which is not a command line application,
the telemetry message will not display. Telemetry data will only be collected from NNCF
if you have explicitly provided consent in another OpenVINO tool.
Changing consent decision Changing consent decision
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@ -52,8 +82,8 @@ Telemetry Data Collection Details
.. tab-item:: Telemetry Data Retention .. tab-item:: Telemetry Data Retention
:sync: telemetry-data-retention :sync: telemetry-data-retention
Telemetry data is retained in Google Analytics for a maximum of 14 months. Telemetry data is retained in Google Analytics for a maximum of 26 months.
Any raw data that has reached the 14-month threshold is deleted from Google Analytics on a monthly basis. Any raw data that has reached the 26-month threshold is deleted from Google Analytics on a monthly basis.
@endsphinxdirective @endsphinxdirective

View File

@ -1,3 +1,3 @@
numpy>=1.16.6 numpy>=1.16.6
singledispatchmethod; python_version<'3.8' singledispatchmethod; python_version<'3.8'
openvino-telemetry>=2023.2.0 openvino-telemetry>=2023.1.0

View File

@ -18,4 +18,4 @@ pyenchant>=3.0.0
test-generator==0.1.1 test-generator==0.1.1
py>=1.9.0 py>=1.9.0
urllib3>=1.26.4 urllib3>=1.26.4
openvino-telemetry>=2023.2.0 openvino-telemetry>=2023.1.0

View File

@ -22,11 +22,7 @@ except ImportError:
def init_mo_telemetry(app_name='Model Optimizer'): def init_mo_telemetry(app_name='Model Optimizer'):
return tm.Telemetry(tid=get_tid(), return tm.Telemetry(tid=get_tid(), app_name=app_name, app_version=get_rt_version(), backend='ga4')
app_name=app_name,
app_version=get_rt_version(),
backend='ga4',
enable_opt_in_dialog=False)
def send_framework_info(framework: str): def send_framework_info(framework: str):

View File

@ -17,11 +17,7 @@ except ImportError:
def init_mo_telemetry(app_name='Model Conversion API'): def init_mo_telemetry(app_name='Model Conversion API'):
return tm.Telemetry(tid=get_tid(), return tm.Telemetry(tid=get_tid(), app_name=app_name, app_version=get_rt_version(), backend='ga4')
app_name=app_name,
app_version=get_rt_version(),
backend='ga4',
enable_opt_in_dialog=False)
def send_framework_info(framework: str): def send_framework_info(framework: str):
""" """