Unfortunately granular data doesn’t play well with only 1 aggregation level in general when it comes to “point-in-time” gauge measures. That need to use the “latest” aggregator on these types of metrics will mean you’re always spending 1 aggregation just getting to the list of all most recent events. Maybe if there were a special view for types denoted as a Gauge? With this view you denote what your key is. In other words, what makes a gauge measure distinct (what you facet on). Then this view would only contain the latest record of each. Thus you’re always working with your current state at all times.
Take this example: { Region=“US-West” DataCenter=“San-Diego” UserCount=“100” }
Say you have even one more level of granularity. If I want the count of users in a region then I’d need latest usercount facet by Region and DataCenter. That gives me the latest count from each center. But I would then have to SUM faceted by Region after that to get a user count per region.
My only option right now would be to have the system create separate metrics at the region level, or just use a completely different reporting system for region data.