Skip to content

Track usage data for Network Policies UI

Hordur Freyr Yngvason requested to merge add-network-policies-usage-data into master

What does this MR do?

Uses a redis HLL counter to track the number of clusters visiting the network policies page with network policies present in the cluster. Since any ultimate customer can visit the page, we require policies to be present in the response as an extra signal for the feature having provided value to the user.

Note: I did not add a feature flag because the number of users is expected to be low (internal link), so I don't think it would be worth the overhead.

See #334090 (closed)

Video

Demonstrates the page loading and the counter changing as a result:

2021-06-23_16-33-43

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Hordur Freyr Yngvason

Merge request reports

Loading