Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add license info to telemetry #3859

Merged
merged 2 commits into from
Oct 22, 2020

Conversation

david-kow
Copy link
Contributor

@david-kow david-kow commented Oct 20, 2020

This PR includes license information in the telemetry data.

eck:
...
  license:
    eck_license_level: enterprise_trial
    enterprise_resource_units: "1"
    total_managed_memory: 3.22GB

License info is taken from elastic-licensing ConfigMap. As gathering this info requires some calculations and API calls, that seems to be the cheapest and the most reliable way to do it. If obtaining license info results in any errors, they are ignored and telemetry data is still populated with what is known.

@david-kow david-kow added >enhancement Enhancement of existing functionality v1.3.0 labels Oct 20, 2020
@david-kow
Copy link
Contributor Author

jenkins test this please

@david-kow david-kow merged commit 7652adf into elastic:master Oct 22, 2020
@david-kow david-kow deleted the add_license_telemetry branch October 22, 2020 08:25
david-kow added a commit to david-kow/cloud-on-k8s that referenced this pull request Oct 22, 2020
* Add license info to telemetry

* Remove license info timestamp
david-kow added a commit that referenced this pull request Oct 26, 2020
* Add license info to telemetry

* Remove license info timestamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement Enhancement of existing functionality v1.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants