Skip to content

Instantly share code, notes, and snippets.

@nbeernink
Created October 5, 2016 11:03
Show Gist options
  • Save nbeernink/feacf7d865cdb8fd9ccd6e085682dfe4 to your computer and use it in GitHub Desktop.
Save nbeernink/feacf7d865cdb8fd9ccd6e085682dfe4 to your computer and use it in GitHub Desktop.
[cerb] gauge ticket resolutiontime the past week
{
"widget":{
"label":"Average resolution time past week",
"extension_id":"core.workspace.widget.gauge",
"cache_ttl":900,
"params":{
"threshold_labels":[
"Within 4 hours",
"within 8 hours",
"More than 24 hours",
""
],
"threshold_values":[
"14400",
"28800",
"84600"
],
"threshold_colors":[
"#57970A",
"#FEAF03",
"#CF2C1D",
"#ffffff"
],
"datasource":"core.workspace.widget.datasource.worklist",
"context":"cerberusweb.contexts.ticket",
"quick_search":"",
"metric_func":"avg",
"metric_field":"t_elapsed_resolution_first",
"metric_type":"seconds",
"metric_prefix":"",
"metric_suffix":"",
"worklist_model":{
"options":{
"disable_recommendations":"1"
},
"columns":[
"t_last_action_code",
"t_updated_date",
"t_group_id",
"t_bucket_id",
"t_owner_id"
],
"params":{
"t_created_date":{
"field":"t_created_date",
"operator":"between",
"value":[
"-1 weeks",
"now"
]
},
"t_group_id":{
"field":"t_group_id",
"operator":"in",
"value":[
618
]
},
"*_status":{
"field":"*_status",
"operator":"in",
"value":[
"open",
"waiting",
"closed"
]
}
},
"limit":10,
"sort_by":"t_updated_date",
"sort_asc":false,
"subtotals":"",
"context":"cerberusweb.contexts.ticket"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment