Skip to content

Commit

Permalink
Merge pull request #63 from david-martin/AEROGEAR-3134-security-check…
Browse files Browse the repository at this point in the history
…-distinct-clients

🐛 AEROGEAR-3134 Use DISTINCT when aggregating unique clients for security check metrics
  • Loading branch information
david-martin authored Jun 13, 2018
2 parents 1293030 + d530d9c commit 1f570e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@
"expr": "",
"format": "table",
"intervalFactor": 1,
"rawSql": "SELECT count(clientId)\nFROM mobileAppMetrics\nWHERE $__timeFilter(event_time)\n AND event_type='security'\n AND data ? 'security';",
"rawSql": "SELECT count(DISTINCT clientId)\nFROM mobileAppMetrics\nWHERE $__timeFilter(event_time)\n AND event_type='security'\n AND data ? 'security';",
"refId": "A"
}
],
Expand Down

0 comments on commit 1f570e6

Please sign in to comment.