Telemetry
Spice collects anonymous telemetry data to help improve the product. Telemetry is enabled by default but can be disabled at any time.
Data Collected
The following anonymous information is collected:
- The version of Spice being used (i.e.
v1.0.0) - An anonymous identifier for the Spice instance, computed as
sha256(hostname + spicepod.name). - An anonymous identifier for the Spicepod, computed as
sha256(spicepod.name).- The code to calculate these identifiers is here: https://github.com/spiceai/spiceai/blob/trunk/crates/telemetry/src/anonymous.rs#L65
- Various metrics related to usage of features of the runtime, see the full list here: https://github.com/spiceai/spiceai/blob/trunk/crates/telemetry/src/lib.rs#L32
Data collected is sent to https://telemetry.spiceai.org once every hour.
Disabling Telemetry
Telemetry can be disabled in one of three ways:
- Running the Spice runtime with the CLI flag
--telemetry-enabled false:
spice run -- --telemetry-enabled false
or
spiced --telemetry-enabled false
- Add the following configuration to the Spicepod configuration file (
spicepod.yaml):
runtime:
telemetry:
enabled: false
- Compile the Spice runtime without the
anonymous_telemetrydefault feature:
cargo build --release --no-default-features --features "<other_default_features>"
i.e.
cargo build --release --no-default-features --features "duckdb,postgres,sqlite,mysql,flightsql,delta_lake,databricks,dremio,clickhouse,spark,snowflake,ftp,debezium"
