Repository navigation
feat(plugins): add plugin telemetry - #1733
Open
developerkunal wants to merge 1 commit into
Open
developerkunal wants to merge 1 commit into
developerkunal wants to merge 1 commit into
Conversation
developerkunal
force-pushed
the
DXCDT-2609/plugin-telemetry
branch
from
October 24, 2026 15:30
275e12e to
0cd0fc8
Compare
developerkunal
force-pushed
the
DXCDT-2609/plugin-telemetry
branch
from
November 2, 2026 11:12
0cd0fc8 to
4bc63d9
Compare
developerkunal
force-pushed
the
DXCDT-2609/plugin-telemetry
branch
from
November 2, 2026 14:31
4bc63d9 to
c642e5c
Compare
Plugin runs, installs, updates and uninstalls are counted through the analytics tracker. An event carries the plugin name and version, plus whether a run succeeded and a short reason code. Arguments, flags, tenant names and output are never part of it, and AUTH0_CLI_ANALYTICS=false turns it off.
developerkunal
force-pushed
the
DXCDT-2609/plugin-telemetry
branch
from
November 2, 2026 19:38
c642e5c to
19c9bc3
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔧 Changes
Plugin runs, installs, updates and uninstalls are now counted through the existing
analytics.Tracker. There is no new tracking client, andAUTH0_CLI_ANALYTICS=falseturns these events off like every other event.What is sent
CLI - Plugin - Runcarriesplugin,plugin_version,successand, only when the run failed,error_reason.CLI - Plugin - Install,CLI - Plugin - UpdateandCLI - Plugin - Uninstallcarrypluginandplugin_versiononly.error_reasonis one of a fixed list of plugin reason codes, and anything else is sent asother, so free text can never reach an event.What is never sent. Arguments, flags, tenant names, output and exit codes. The event type has no field for them.
When an event is sent
CLI - <Plugin> - <Command> - Runevent, sotenant,output_formatand the command path do not leave the machine for a plugin run.update --allsends one event per updated plugin.The "Usage Analytics Disclosure" section in the README now has a short paragraph on what the plugin events carry.
📚 References
DXCDT-2609. Part of the plugin framework stack of 11 PRs, and it builds on the PR below it (DXCDT-2608).
🔬 Testing
The new code is covered by unit tests.
📝 Checklist