|
1 | | -<form> |
| 1 | +<form version="1.1"> |
2 | 2 | <label>BB2 DASG Metrics Dashboard</label> |
3 | 3 | <description>Dashboard panels related to metrics for DASG reporting</description> |
4 | 4 | <fieldset submitButton="false"></fieldset> |
|
36 | 36 | <!-- Setup of BASE searches to be used in panels --> |
37 | 37 | <search id="baseSearch1a"> |
38 | 38 | <!-- BASE search 1a. New Beneficiaries Added --> |
39 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" env=prod | spath "message.type" | search "message.type"="mymedicare_cb:create_beneficiary_record" | dedup message.fhir_id message.auth_client_id message.auth_uuid message.username | fields time message.auth_uuid message.fhir_id message.username message.auth_app_name message.mesg mesg message.user_mbi_hash message.user_hicn_hash message.auth_pkce_method message.status</query> |
| 39 | + <query>index=application source="/bb/*/app/perf_mon.log" env=prod | spath "message.type" | search "message.type"="mymedicare_cb:create_beneficiary_record" | dedup message.fhir_id message.auth_client_id message.auth_uuid message.username | fields time message.auth_uuid message.fhir_id message.username message.auth_app_name message.mesg mesg message.user_mbi_hash message.user_hicn_hash message.auth_pkce_method message.status</query> |
40 | 40 | <earliest>$t_local.earliest$</earliest> |
41 | 41 | <latest>$t_local.latest$</latest> |
42 | 42 | <sampleRatio>1</sampleRatio> |
43 | 43 | </search> |
44 | 44 | <search id="baseSearch1b"> |
45 | 45 | <!-- BASE search 1b. RETURNING Beneficiaries who have re-authorized --> |
46 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" env=prod | spath "message.type" | search "message.type"="mymedicare_cb:get_and_update_user" | search "message.mesg"="RETURN existing beneficiary record" | dedup message.fhir_id message.auth_client_id message.auth_uuid | fields time message.auth_uuid message.fhir_id message.auth_app_name message.mesg mesg message.user_mbi_hash message.user_hicn_hash message.auth_pkce_method message.status</query> |
| 46 | + <query>index=application source="/bb/*/app/perf_mon.log" env=prod | spath "message.type" | search "message.type"="mymedicare_cb:get_and_update_user" | search "message.mesg"="RETURN existing beneficiary record" | dedup message.fhir_id message.auth_client_id message.auth_uuid | fields time message.auth_uuid message.fhir_id message.auth_app_name message.mesg mesg message.user_mbi_hash message.user_hicn_hash message.auth_pkce_method message.status</query> |
47 | 47 | <earliest>$t_local.earliest$</earliest> |
48 | 48 | <latest>$t_local.latest$</latest> |
49 | 49 | <sampleRatio>1</sampleRatio> |
50 | 50 | </search> |
51 | 51 | <search id="baseSearch2"> |
52 | 52 | <!-- BASE search benes choosing to share demographics --> |
53 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" env=prod | spath "message.type" | search "message.type"="Authorization" | fields time message.auth_uuid message.auth_status message.message.application.name message.user.username message.user.crosswalk.fhir_id message.allow message.auth_share_demographic_scopes message.auth_require_demographic_scopes message.user.crosswalk.user_id_type message.auth_app_name message.user.crosswalk.user_mbi_hash message.user.crosswalk.user_hicn_hash message.auth_pkce_method message.scopes message.data_access_grant_delete_cnt message.access_token_delete_cnt message.refresh_token_delete_cnt message.auth_crosswalk_action message.user.crosswalk.fhir_id</query> |
| 53 | + <query>index=application source="/bb/*/app/perf_mon.log" env=prod | spath "message.type" | search "message.type"="Authorization" | fields time message.auth_uuid message.auth_status message.message.application.name message.user.username message.user.crosswalk.fhir_id message.allow message.auth_share_demographic_scopes message.auth_require_demographic_scopes message.user.crosswalk.user_id_type message.auth_app_name message.user.crosswalk.user_mbi_hash message.user.crosswalk.user_hicn_hash message.auth_pkce_method message.scopes message.data_access_grant_delete_cnt message.access_token_delete_cnt message.refresh_token_delete_cnt message.auth_crosswalk_action message.user.crosswalk.fhir_id</query> |
54 | 54 | <earliest>$t_local.earliest$</earliest> |
55 | 55 | <latest>$t_local.latest$</latest> |
56 | 56 | <sampleRatio>1</sampleRatio> |
57 | 57 | </search> |
58 | 58 | <search id="baseSearchFhirV1"> |
59 | 59 | <!-- BASE search for FHIR V1 events --> |
60 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" env=prod message.path="/v1/fhir/*" | fields time message.path message.response_code message.fhir_id</query> |
| 60 | + <query>index=application source="/bb/*/app/perf_mon.log" env=prod message.path="/v1/fhir/*" | fields time message.path message.response_code message.fhir_id</query> |
61 | 61 | <earliest>$t_local.earliest$</earliest> |
62 | 62 | <latest>$t_local.latest$</latest> |
63 | 63 | <sampleRatio>1</sampleRatio> |
64 | 64 | </search> |
65 | 65 | <search id="baseSearchFhirV2"> |
66 | 66 | <!-- BASE search for FHIR V2 events --> |
67 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" env=prod message.path="/v2/fhir/*" | fields time message.path message.response_code message.fhir_id</query> |
| 67 | + <query>index=application source="/bb/*/app/perf_mon.log" env=prod message.path="/v2/fhir/*" | fields time message.path message.response_code message.fhir_id</query> |
68 | 68 | <earliest>$t_local.earliest$</earliest> |
69 | 69 | <latest>$t_local.latest$</latest> |
70 | 70 | <sampleRatio>1</sampleRatio> |
71 | 71 | </search> |
72 | 72 |
|
73 | 73 | <!--<search id="baseSearchBeneCount">--> |
74 | 74 | <!-- BASE search for FHIR V1 events --> |
75 | | - <!-- <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod </query>--> |
| 75 | + <!-- <query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod </query>--> |
76 | 76 | <!-- <earliest>$t_local.earliest$</earliest>--> |
77 | 77 | <!-- <latest>$t_local.latest$</latest>--> |
78 | 78 | <!-- <sampleRatio>1</sampleRatio>--> |
|
114 | 114 | <done> |
115 | 115 | <set token="tokGroupTimestamp">$result.message.group_timestamp$</set> |
116 | 116 | </done> |
117 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod | search "message.type"="global_state_metrics" | head 1 | table message.group_timestamp</query> |
| 117 | + <query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod | search "message.type"="global_state_metrics" | head 1 | table message.group_timestamp</query> |
118 | 118 | <earliest>$t_local.earliest$</earliest> |
119 | 119 | <latest>$t_local.latest$</latest> |
120 | 120 | </search> |
121 | 121 | <single> |
122 | 122 | <search> |
123 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod "message.type"="global_state_metrics" "message.group_timestamp"=$tokGroupTimestamp|s$ | table message.real_bene_cnt</query> |
| 123 | + <query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod "message.type"="global_state_metrics" "message.group_timestamp"=$tokGroupTimestamp|s$ | table message.real_bene_cnt</query> |
124 | 124 | <earliest>$t_local.earliest$</earliest> |
125 | 125 | <latest>$t_local.latest$</latest> |
126 | 126 | </search> |
|
196 | 196 | <set token="tokFhirV1PatientOKCount">$result.count$</set> |
197 | 197 | </done> |
198 | 198 | <!-- message.group_timestamp="2021-07-14T07:00:54+00:00" --> |
199 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True message.real_bene_cnt>25 | stats count</query> |
| 199 | + <query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True message.real_bene_cnt>25 | stats count</query> |
200 | 200 | <earliest>$t_local.earliest$</earliest> |
201 | 201 | <latest>$t_local.latest$</latest> |
202 | 202 | </search> |
|
212 | 212 | <done> |
213 | 213 | <set token="tokFhirV1PatientOKCount">$result.count$</set> |
214 | 214 | </done> |
215 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True message.real_bene_cnt<=25 | stats count</query> |
| 215 | + <query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True message.real_bene_cnt<=25 | stats count</query> |
216 | 216 | <earliest>$t_local.earliest$</earliest> |
217 | 217 | <latest>$t_local.latest$</latest> |
218 | 218 | </search> |
|
228 | 228 | <done> |
229 | 229 | <set token="tokFhirV1PatientOKCount">$result.count$</set> |
230 | 230 | </done> |
231 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True | stats count</query> |
| 231 | + <query>index=application source="/bb/*/app/perf_mon.log" host=* env=prod | search "message.type"="global_state_metrics_per_app" "message.group_timestamp"=$tokGroupTimestamp|s$ message.active=True | stats count</query> |
232 | 232 | <earliest>$t_local.earliest$</earliest> |
233 | 233 | <latest>$t_local.latest$</latest> |
234 | 234 | </search> |
|
451 | 451 | <done> |
452 | 452 | <set token="tokGroupTimestampSandbox">$result.message.group_timestamp$</set> |
453 | 453 | </done> |
454 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=impl | search "message.type"="global_state_metrics" | head 1 | table message.group_timestamp</query> |
| 454 | + <query>index=application source="/bb/*/app/perf_mon.log" host=* env=impl | search "message.type"="global_state_metrics" | head 1 | table message.group_timestamp</query> |
455 | 455 | <earliest>$t_local.earliest$</earliest> |
456 | 456 | <latest>$t_local.latest$</latest> |
457 | 457 | </search> |
|
468 | 468 | <title>1. TOTAL Dev w/ SBX Cred + Registered App</title> |
469 | 469 | <single> |
470 | 470 | <search> |
471 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=impl | search "message.type"="global_state_metrics" | head 1 | table message.global_apps_active_cnt</query> |
| 471 | + <query>index=application source="/bb/*/app/perf_mon.log" host=* env=impl | search "message.type"="global_state_metrics" | head 1 | table message.global_apps_active_cnt</query> |
472 | 472 | </search> |
473 | 473 | <option name="drilldown">all</option> |
474 | 474 | <option name="height">226</option> |
|
480 | 480 | <title>2. TOTAL Dev w/ SBX Cred + Registered App + API Call</title> |
481 | 481 | <single> |
482 | 482 | <search> |
483 | | - <query>index=bluebutton source="/var/log/pyapps/perf_mon.log*" host=* env=impl | search "message.type"="global_state_metrics_per_app" | search "message.first_active"!="null" "message.group_timestamp"=$tokGroupTimestampSandbox|s$ | stats count</query> |
| 483 | + <query>index=application source="/bb/*/app/perf_mon.log" host=* env=impl | search "message.type"="global_state_metrics_per_app" | search "message.first_active"!="null" "message.group_timestamp"=$tokGroupTimestampSandbox|s$ | stats count</query> |
484 | 484 | </search> |
485 | 485 | <option name="drilldown">all</option> |
486 | 486 | <option name="height">226</option> |
|
0 commit comments