Closed bramleyjl closed 2 months ago
api_auth_new
has been updated with this PR and the type
tag is now showing up on it in staging.
app.ddog-gov.com/monitors/169075,"Identity - Prod External: MHV USiP Monitor is below 45%" app.ddog-gov.com/monitors/169277,"Identity - Prod External: MyVAHealth USiP Monitor is below 45%" app.ddog-gov.com/monitors/169276,"Identity - Prod External: VA Mobile USiP Monitor is below 45%" app.ddog-gov.com/monitors/169275,"Identity - Prod External: VA OCC Mobile USiP Monitor is below 45%" app.ddog-gov.com/monitors/89111,"Identity - Production Inbound ISAM SSOe Percent Error Threshold Crossed" app.ddog-gov.com/monitors/89113,"Identity - Production Outbound SSOe Percent Error Threshold crossed" app.ddog-gov.com/monitors/115836,"Identity - Production Outbound SSOe Percent Error Threshold crossed DSLOGON"
app.ddog-gov.com/monitors/169075,"Identity - Prod External: MHV USiP Monitor is below 45%" app.ddog-gov.com/monitors/169277,"Identity - Prod External: MyVAHealth USiP Monitor is below 45%" app.ddog-gov.com/monitors/169276,"Identity - Prod External: VA Mobile USiP Monitor is below 45%" app.ddog-gov.com/monitors/169275,"Identity - Prod External: VA OCC Mobile USiP Monitor is below 45%" app.ddog-gov.com/monitors/89111,"Identity - Production Inbound ISAM SSOe Percent Error Threshold Crossed" app.ddog-gov.com/monitors/89113,"Identity - Production Outbound SSOe Percent Error Threshold crossed" app.ddog-gov.com/monitors/115836,"Identity - Production Outbound SSOe Percent Error Threshold crossed DSLOGON"
app.ddog-gov.com/monitors/119917,"Identity - Prod External: DSLogon authentication success rate is < 20% in the past 15 minutes" app.ddog-gov.com/monitors/119914,"Identity - Prod External: ID.me authentication success rate is < 20% in the past 15 minutes" app.ddog-gov.com/monitors/120105,"Identity - Prod External: Login.gov authentication success rate is < 20% in the past 15 minutes" app.ddog-gov.com/monitors/119915,"Identity - Prod External: MHV authentication success rate is < 20% in the past 15 minutes" app.ddog-gov.com/monitors/169075,"Identity - Prod External: MHV USiP Monitor is below 45%" app.ddog-gov.com/monitors/169277,"Identity - Prod External: MyVAHealth USiP Monitor is below 45%" app.ddog-gov.com/monitors/169276,"Identity - Prod External: VA Mobile USiP Monitor is below 45%" app.ddog-gov.com/monitors/169275,"Identity - Prod External: VA OCC Mobile USiP Monitor is below 45%" app.ddog-gov.com/monitors/89111,"Identity - Production Inbound ISAM SSOe Percent Error Threshold Crossed" app.ddog-gov.com/monitors/89113,"Identity - Production Outbound SSOe Percent Error Threshold crossed" app.ddog-gov.com/monitors/115836,"Identity - Production Outbound SSOe Percent Error Threshold crossed DSLOGON"
app.ddog-gov.com/monitors/119917,"Identity - Prod External: DSLogon authentication success rate is < 20% in the past 15 minutes" app.ddog-gov.com/monitors/119914,"Identity - Prod External: ID.me authentication success rate is < 20% in the past 15 minutes" app.ddog-gov.com/monitors/120105,"Identity - Prod External: Login.gov authentication success rate is < 20% in the past 15 minutes" app.ddog-gov.com/monitors/119915,"Identity - Prod External: MHV authentication success rate is < 20% in the past 15 minutes"
Issue Description
In order to deliver the appropriate external data metrics to VA leadership, the following changes to
vets-api
Rails log & Datadog metrics should be made. Datadog widgets and boards should also be updated.client_id
andtype
attributes.sign_in
object that is generated in both SSOe & SiS should be updated to includeclient_id
sign_in
object should be updated to use SiS terminology:client_id
overapplication
,type
overcredential_used
||service_name
Datadog Query Definitions
"Active Users" - success only
LOGIN_STATUS_SUCCESS
- hascontext
(type),client_id
will be populated bysign_in
object change,icn
to be added[V0::SignInController] callback
- success only, includestype
,client_id
,icn
[V0::SignInController] refresh
- covers SiS mobile users that haven't re-authenticated, includesclient_id
,type
&icn
to be added"Total Authentications" - success only
auth_login_success
StatsD metric - includescontext
(type),client_id
will be populated bysign_in
object changeapi_sis_callback_success
StatsD metric - includestype
,client_id
"Credential Usage - Total Authentications" - success only
auth_login_success
StatsD metric - includescontext
(type),client_id
will be populated bysign_in
object changeapi_sis_callback_success
StatsD metric - includestype
,client_id
,Tasks
Changes
SiS
type
,icn
in/refresh
log payloadSSOe
vaweb
instead of a null value for its defaultapplication
(client_id) valueclient_id
in UserIdentitysign_in
objecticn
inLOGIN_STATUS_SUCCESS
logauth_login_success
Datadog log tagcontext
to standard CSPtype
Datadog
Documentation
vets-api
.