opensearch-project / opensearch-metrics

OpenSearch Metrics
https://metrics.opensearch.org
Apache License 2.0
3 stars 5 forks source link

Changed s3 event index lambda to default index yesterday and today #107

Closed bshien closed 3 days ago

bshien commented 3 days ago

Description

Eventbridge rule calls the lambda function at the end of the day, so by changing the default to indexing yesterday AND today's events, we can get the most recent data for the maintainer dashboard.

Issues Resolved

Part of https://github.com/opensearch-project/opensearch-metrics/issues/76

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

codecov[bot] commented 3 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.64%. Comparing base (259544c) to head (9304e37). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #107 +/- ## ============================================ - Coverage 86.87% 83.64% -3.23% Complexity 318 318 ============================================ Files 69 50 -19 Lines 1767 1394 -373 Branches 80 61 -19 ============================================ - Hits 1535 1166 -369 + Misses 195 191 -4 Partials 37 37 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.