Skip to content

Commit 464c19f

Browse files
2michaelhammondnaxhhbgalmesnr
authored
sesame (#2231)
* add sesame, add eprod, remove store, update digitalordering * sesame * udpate1 * udpate2 * udpate3 * udpate4 * udpate5 * udpate6 * udpate7 * udpate8 * modified digord golden metrics * modified digord golden metrics1 --------- Co-authored-by: Ignacio Tolstoy <[email protected]> Co-authored-by: bgalmesnr <[email protected]>
1 parent a5a5eff commit 464c19f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

entity-types/ext-digitalordering/dashboard.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"nrqlQueries": [
2222
{
2323
"accountId": 0,
24-
"query": "SELECT count(*) as availability FROM XMLRPC where WayState = 'OPEN' and device.type = 'FC' and WayBusinessDay = WaySystemDate and online = '1' since 30 minutes ago"
24+
"query": "SELECT uniqueCount(*) as availability FROM XMLRPC where WayState = 'OPEN' and device.type = 'FC' and WayBusinessDay = WaySystemDate and online = '1' TIMESERIES AUTO"
2525
}
2626
]
2727
}
@@ -41,7 +41,7 @@
4141
"nrqlQueries": [
4242
{
4343
"accountId": 0,
44-
"query": "SELECT count(*) as availability FROM XMLRPC where WayState = 'OPEN' and device.type = 'DT' and WayBusinessDay = WaySystemDate and online = '1' since 30 minutes ago"
44+
"query": "SELECT uniqueCountunt(*) as availability FROM XMLRPC where WayState = 'OPEN' and device.type = 'DT' and WayBusinessDay = WaySystemDate and online = '1' TIMESERIES AUTO"
4545
}
4646
]
4747
}
@@ -61,7 +61,7 @@
6161
"nrqlQueries": [
6262
{
6363
"accountId": 0,
64-
"query": "SELECT count(*) as availability FROM XMLRPC where WayState = 'OPEN' and device.type = 'DLV' and WayBusinessDay = WaySystemDate and online = '1' since 30 minutes ago"
64+
"query": "SELECT uniqueCount(*) as availability FROM XMLRPC where WayState = 'OPEN' and device.type = 'DLV' and WayBusinessDay = WaySystemDate and online = '1' TIMESERIES AUTO"
6565
}
6666
]
6767
}

entity-types/ext-digitalordering/golden_metrics.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,23 @@ fcOnline:
22
title: Front Counter Online
33
unit: COUNT
44
query:
5-
select: count(*)
5+
select: uniqueCount(id)
66
from: XMLRPC
77
where: WayState = 'OPEN' and device.type = 'FC' and WayBusinessDay = WaySystemDate and online = '1'
88

99
dtOnline:
1010
title: Drive Thru Online
1111
unit: COUNT
1212
query:
13-
select: count(*)
13+
select: uniqueCount(id)
1414
from: XMLRPC
1515
where: WayState = 'OPEN' and device.type = 'DT' and WayBusinessDay = WaySystemDate and online = '1'
1616

1717
dlvOnline:
1818
title: Delivery Online
1919
unit: COUNT
2020
query:
21-
select: count(*)
21+
select: uniqueCount(id)
2222
from: XMLRPC
2323
where: WayState = 'OPEN' and device.type = 'DLV' and WayBusinessDay = WaySystemDate and online = '1'
2424

0 commit comments

Comments
 (0)