IDE Metrics

VS Code

The VS Code extension collects non-identifiable metrics that we use to improve Oso. We collect data into un-timestamped batches instead of sending it on every policy load since we care about aggregate statistics, not tracking your personal development behavior. We will never sell this data.

Data collected Link to code Purpose
One-way hash of VS Code machineId link Distinguish users in a non-identifiable way. This helps us distinguish 1 user encountering the same error 10,000 times from 1,000 users each encountering it 10 times.
One-way hash of VS Code workspace URI link Distinguish errors occurring in project A from errors occurring in project B.
VS Code common metrics link Help us debug issues with the extension by isolating them to particular platforms, versions of the extension, etc.
# of diagnostics encountered for a particular load event link Feature usage stats.
# of errors encountered for a particular load event link Feature usage stats.
# of warnings encountered for a particular load event link Feature usage stats.
Boolean indicating whether the load was successful (resulted in no errors) link Feature usage stats.
# of rules in the loaded policy link Feature usage stats.
# of inline queries in the loaded policy link Feature usage stats.
# of “regular” (non-shorthand) rules in the loaded policy link Feature usage stats.
# of characters across all files in the loaded policy link Get a (very) rough sense of how much Polar code the average policy contains.
# of Polar files tracked by the extension link Get a rough sense for how common multi-file policies are.
# of rule types in the loaded policy link Distinguish invalid rule type errors for built-in rule types vs. (possibly) user-defined rule types.
# of resource blocks (actor & resource) in the loaded policy link Feature usage stats.
# of actor blocks in the loaded policy link Feature usage stats.
# of resource blocks in the loaded policy link Feature usage stats.
# of declarations (roles, permissions, and relations) in loaded policy link Feature usage stats.
# of roles declared in loaded policy link Feature usage stats.
# of permissions declared in loaded policy link Feature usage stats.
# of relations declared in loaded policy link Feature usage stats.
# of shorthand rules in loaded policy link Feature usage stats.
# of shorthand rules that cross resource boundaries in loaded policy link Feature usage stats.

Connect with us on Slack

If you have any questions, or just want to talk something through, jump into Slack. An Oso engineer or one of the thousands of developers in the growing community will be happy to help.