shalb / cluster.dev

Cloud-native infrastructure templating. Creating cloud installers for SaaS. Replication of complex cloud-native infrastructures.
https://docs.cluster.dev/
GNU Affero General Public License v3.0
401 stars 36 forks source link

Disabling the sending of usage statistics #279

Closed kinseii closed 3 months ago

kinseii commented 3 months ago

What would you like to add

As I understand it, cdev sends usage statistics to the https://cdev-usage.cluster.dev/pushgateway server by default. We would like to disable the sending of these statistics for security reasons.

[Added 02 Aug 2024]: OK, I found it in the debug, but is it possible to make an option in Project to have it saved in IaC?

02:34:47 [INFO] Sending usage statistic. To disable statistics collection, export the CDEV_COLLECT_USAGE_STATS=false environment variable
kinseii commented 3 months ago

Forget it, I overlooked it in the documentation, sorry for that):

name: my_project
kind: project
backend: aws-backend
exports:
  CDEV_COLLECT_USAGE_STATS: false