Merge ~roadmr/canonical-identity-provider:add-2fa-dev-creation-metrics into canonical-identity-provider:master
Proposed by
Daniel Manrique
Status: | Merged |
---|---|
Approved by: | Daniel Manrique |
Approved revision: | c6d56679be600adde7bfb2946c58328f8cf1c4f0 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~roadmr/canonical-identity-provider:add-2fa-dev-creation-metrics |
Merge into: | canonical-identity-provider:master |
Diff against target: |
113 lines (+36/-4) 2 files modified
src/webui/tests/test_views_devices.py (+22/-0) src/webui/views/devices.py (+14/-4) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Maximiliano Bertacchini | Approve | ||
Review via email: mp+384389@code.launchpad.net |
Commit message
Emit metrics when 2fa devices are added.
The metric includes the device type (automatically-
have the fake "paper_auto" type) and subtype (for OATH devices which
can be TOTP or HOTP)
Description of the change
Emitted metrics look like flows.device.
Device types can be e.g. google_totp, google_hotp (and so on for oath devices), paper, paper_auto, for now.
To post a comment you must log in.
LGTM!