Skip to content

Commit

Permalink
Add section on telemetry in docs (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
marwan116 authored Jun 28, 2024
1 parent f0d3338 commit 9368015
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,20 @@ terminate_anyscale_service = PythonOperator(
deploy_anyscale_service >> terminate_anyscale_service
```

## Telemetry

This provider collects telemetry data by default.

### What data is collected?
More specifically, it adds a header to every request made to the Anyscale API with the following metadata: `{"X-Anyscale-Source" = "airflow"}`. The telemetry does not and will not collecting any personal data or sensitive information.

### How is this data used?
This data will be used by the Anyscale engineering team to better understand how the provider is being used and help guide future development.

### How to opt-out of telemetry collection?
To disable usage stats collection, set the configuration `anyscale.telemetry_enabled` to False in your `airflow.cfg` file.


### Changelog
_________

Expand Down
20 changes: 20 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,29 @@ The below script uses the ``RolloutAnyscaleService`` operator to deploy a servic

.. literalinclude:: ../example_dags/anyscale_service.py


Telemetry
-----------------------

This provider collects telemetry data by default.

What data is collected?
~~~~~~~~~~~~~~~~~~~~~~~
More specifically, it adds a header to every request made to the Anyscale API with the following metadata: ``{"X-Anyscale-Source" = "airflow"}``. The telemetry does not and will not collect any personal data or sensitive information.

How is this data used?
~~~~~~~~~~~~~~~~~~~~~~
This data will be used by the Anyscale engineering team to better understand how the provider is being used and help guide future development.

How to opt-out of telemetry collection?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To disable usage stats collection, set the configuration ``anyscale.telemetry_enabled`` to False in your ``airflow.cfg`` file.


Changelog
---------


We follow `Semantic Versioning <https://semver.org/>`_ for releases.
Check `CHANGELOG.rst <https://github.com/astronomer/astro-provider-anyscale/blob/main/docs/CHANGELOG.rst>`_
for the latest changes.
Expand Down

0 comments on commit 9368015

Please sign in to comment.