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

Ensure telemetry is enabled for licensed installs #1736

Merged
merged 7 commits into from
Feb 23, 2023

Conversation

Steve-Mcl
Copy link
Contributor

@Steve-Mcl Steve-Mcl commented Feb 21, 2023

Description

Outdated (click to reveal)

pre 2023/02/22

  1. Ensure telemetry:enabled setting is always true if product is licensed
  2. Add platform:licensed boolean setting for the following 2 items...
  3. Disable telemetry setting checkbox
  4. Add info below telemetry setting to indicate it is always enabled for Licensed installs

image

Updated 2023/02/22
  1. Ensure telemetry:enabled setting is always true if product is licensed (both client and server side)
  2. Add platform:licensed boolean (readonly) setting
  3. Use platform:licensed setting to hide telemetry setting checkbox and parent group title

image

image

Related Issue(s)

#1640

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • [-] Changes flowforge.yml?
    • [-] Issue/PR raised on flowforge/helm to update ConfigMap Template
    • [-] Issue/PR raised on flowforge/CloudProject to update values for Staging/Production

Labels

  • [-] Backport needed? -> add the backport label
  • [-] Includes a DB migration? -> add the area:migration label

@Steve-Mcl Steve-Mcl linked an issue Feb 21, 2023 that may be closed by this pull request
@@ -26,6 +27,7 @@ module.exports = async function (app) {
}

if (request.session.User.admin) {
response['platform:licensed'] = isLicensed
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not 100% sure about including this here as we already have the /api/v1/admin/license end point that returns license details.

That said, we can move forward with this as-is and iterate if needed.

@@ -22,6 +22,8 @@ Settings section of the platform UI.
It is also possible to disable in the `flowforge.yml` configuration file. This
overrides whatever option is set in the Admin Settings UI.

**IMPORTANT: Licensed installations cannot disable telemetry**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good first iteration, but I think we need to word this slightly differently as we don't talk about 'installations' generally.

We will need to document the behaviours around licensing in general with the changes coming in the other tasks. So lets make sure we do a 'big picture' review of the licensing docs as part of this work once we have the full set of behaviours defined.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added to task #1745 to #1638

@knolleary knolleary merged commit 15913c7 into main Feb 23, 2023
@knolleary knolleary deleted the telemetry-always-on-for-ee branch February 23, 2023 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Send telemetry for all licensed FF instances
2 participants