Display max over time for locket KPI metrics
Recomended measumerements for locket metrics:
* ActiveLocks - max over 5 min
* ActivePresences - max over 15 min
@@ -10,7 +10,7 @@ metadata:
indicators:
- name: locket_active_locks
- promql: ActiveLocks{source_id="locket"}
+ promql: max_over_time(ActiveLocks{source_id="locket"}[5m])
documentation:
title: Locket - Active Locks
description: |
@@ -35,7 +35,7 @@ indicators:
6. If you are unable to resolve on-going excessive active locks, pull logs from the Diego BBS and Auctioneer VMs, which includes the Locket service component logs, and contact Pivotal Support.
- name: locket_active_presences
- promql: ActivePresences{source_id="locket"}
+ promql: max_over_time(ActivePresences{source_id="locket"}[15m])
documentation:
title: Locket - Active Presences
description: |
