Skip to content

Commit 40e40bb

Browse files
authored
Telemetry launch (#935)
* feat: telemetry launch * update goldens
1 parent 95576e3 commit 40e40bb

File tree

7 files changed

+25
-1
lines changed

7 files changed

+25
-1
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,20 @@ XPK also supports the following [Google Cloud Storage solutions](./docs/usage/st
7575
* [Inspector](./docs/usage/inspector.md)
7676
* [Troubleshooting](./docs/troubleshooting.md)
7777

78+
# Privacy notice
79+
80+
To help improve XPK, feature usage statistics are collected and sent to Google. You can opt-out at any time by executing
81+
the following shell command:
82+
83+
```shell
84+
xpk config set send-telemetry <true/false>
85+
```
86+
87+
XPK telemetry overall is handled in accordance with the [Google Privacy Policy](https://policies.google.com/privacy). When
88+
you use XPK to interact with or utilize GCP Services, your information is handled in accordance with the
89+
[Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).
90+
91+
7892
# Contributing
7993

8094
Please read [`contributing.md`](./docs/contributing.md) for details on our code of conduct, and the process for submitting pull requests to us.

goldens/Cluster_create_private.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ $ xpk cluster create-pathways --project=golden-project --zone=us-central1-a --cl
44
[XPK] Working on golden-project and us-central1-a
55
[XPK] Task: `Retrieve available pathways machine types` is implemented by the following command not running since it is a dry run.
66
gcloud compute machine-types list --filter "guestCpus >= 49 AND memoryMb >= 238592 AND zone = 'us-central1-a'" --format="value(name)" --project=golden-project
7+
[XPK] Task: `Describe reservation` is implemented by the following command not running since it is a dry run.
8+
gcloud beta compute reservations describe golden-reservation --project=golden-project --zone=us-central1-a
79
[XPK] Task: `Determine server supported GKE versions for default gke version` is implemented by the following command not running since it is a dry run.
810
gcloud container get-server-config --project=golden-project --region=us-central1 --flatten="channels" --filter="channels.channel=RAPID" --format="value(channels.defaultVersion)"
911
[XPK] Task: `Determine server supported GKE versions for valid versions` is implemented by the following command not running since it is a dry run.

goldens/Cluster_create_sub-slicing.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ $ SUB_SLICING_ENABLED=true xpk cluster create --project=golden-project --zone=us
44
[XPK] Working on golden-project and us-central1-a
55
[XPK] Task: `Get reservation deployment type` is implemented by the following command not running since it is a dry run.
66
gcloud beta compute reservations describe golden-reservation --project=golden-project --zone=us-central1-a --format="value(deploymentType)"
7+
[XPK] Task: `Describe reservation` is implemented by the following command not running since it is a dry run.
8+
gcloud beta compute reservations describe golden-reservation --project=golden-project --zone=us-central1-a
79
[XPK] Task: `Determine server supported GKE versions for default gke version` is implemented by the following command not running since it is a dry run.
810
gcloud container get-server-config --project=golden-project --region=us-central1 --flatten="channels" --filter="channels.channel=RAPID" --format="value(channels.defaultVersion)"
911
[XPK] Task: `Determine server supported GKE versions for valid versions` is implemented by the following command not running since it is a dry run.

goldens/Cluster_create_super-slicing.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ $ SUPER_SLICING_ENABLED=true xpk cluster create --project=golden-project --zone=
44
[XPK] Working on golden-project and us-central1-a
55
[XPK] Task: `Get reservation deployment type` is implemented by the following command not running since it is a dry run.
66
gcloud beta compute reservations describe golden-reservation --project=golden-project --zone=us-central1-a --format="value(deploymentType)"
7+
[XPK] Task: `Describe reservation` is implemented by the following command not running since it is a dry run.
8+
gcloud beta compute reservations describe golden-reservation --project=golden-project --zone=us-central1-a
79
[XPK] Task: `Determine server supported GKE versions for default gke version` is implemented by the following command not running since it is a dry run.
810
gcloud container get-server-config --project=golden-project --region=us-central1 --flatten="channels" --filter="channels.channel=RAPID" --format="value(channels.defaultVersion)"
911
[XPK] Task: `Determine server supported GKE versions for valid versions` is implemented by the following command not running since it is a dry run.

goldens/Cluster_create_with_gb200-4.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ $ xpk cluster create --project=golden-project --zone=us-central1-a --cluster=gol
22
[XPK] Starting xpk v0.0.0
33
[XPK] Starting cluster create for cluster golden-cluster:
44
[XPK] Working on golden-project and us-central1-a
5+
[XPK] Task: `Describe reservation` is implemented by the following command not running since it is a dry run.
6+
gcloud beta compute reservations describe golden-reservation --project=golden-project --zone=us-central1-a
57
[XPK] Task: `Determine server supported GKE versions for default gke version` is implemented by the following command not running since it is a dry run.
68
gcloud container get-server-config --project=golden-project --region=us-central1 --flatten="channels" --filter="channels.channel=RAPID" --format="value(channels.defaultVersion)"
79
[XPK] Task: `Determine server supported GKE versions for valid versions` is implemented by the following command not running since it is a dry run.

goldens/Cluster_create_with_shared_reservation.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ $ xpk cluster create --project=golden-project --zone=us-central1-a --cluster=gol
22
[XPK] Starting xpk v0.0.0
33
[XPK] Starting cluster create for cluster golden-cluster:
44
[XPK] Working on golden-project and us-central1-a
5+
[XPK] Task: `Describe reservation` is implemented by the following command not running since it is a dry run.
6+
gcloud beta compute reservations describe golden-reservation --project=reservation-project --zone=us-central1-a
57
[XPK] Task: `Determine server supported GKE versions for default gke version` is implemented by the following command not running since it is a dry run.
68
gcloud container get-server-config --project=golden-project --region=us-central1 --flatten="channels" --filter="channels.channel=RAPID" --format="value(channels.defaultVersion)"
79
[XPK] Task: `Determine server supported GKE versions for valid versions` is implemented by the following command not running since it is a dry run.

src/xpk/utils/feature_flags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def _get_boolean_flag(flag: str, default: bool) -> bool:
2828

2929
class _FeatureFlags:
3030
SUB_SLICING_ENABLED = _get_boolean_flag("SUB_SLICING_ENABLED", default=False)
31-
TELEMETRY_ENABLED = _get_boolean_flag("TELEMETRY_ENABLED", default=False)
31+
TELEMETRY_ENABLED = _get_boolean_flag("TELEMETRY_ENABLED", default=True)
3232
SUPER_SLICING_ENABLED = _get_boolean_flag(
3333
"SUPER_SLICING_ENABLED", default=False
3434
)

0 commit comments

Comments
 (0)