mirror of
https://github.com/floci-io/floci.git
synced 2026-11-23 22:11:36 -05:00
Replaces the stubs in both the query and JSON protocol handlers with a full implementation that delegates to the existing getMetricStatistics storage and aggregation logic. - Add MetricStat, MetricDataQuery, and MetricDataResult records to CloudWatchMetricsService - getMetricData() iterates queries, buckets by period, resolves the requested statistic (Average/Sum/Min/Max/SampleCount/p*), and returns Complete results - Query handler: parseMetricDataQueries walks the deeply nested MetricDataQueries.member.N.* form encoding - JSON handler: parseInstantNode handles numeric epoch timestamps sent by AWS SDK v2 (GetMetricData uses the JSON protocol); previously the time filter silently failed, returning all stored data