massenergize / api

Backend Code for Massenergize Portal. This provides the API to the backend database, and is shared by the various front-end portal projects.
MIT License
5 stars 9 forks source link

Update metrics_tracker.py to include environment namespace #1180

Closed abdullai-t closed 1 month ago

abdullai-t commented 1 month ago

Summary / Highlights

This pull request separates Cloud Watch metrics logs for development (dev), canary, and production (Prod) environments

Details (Give details about what this PR accomplishes, include any screenshots etc)

Testing Steps (Provide details on how your changes can be tested)

Requirements (place an x in each [ ])

Transparency (Project board)
codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 57.17%. Comparing base (f9f3a0a) to head (f035060). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/_main_/utils/translation/metrics_tracker.py 33.33% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1180 +/- ## ========================================== - Coverage 57.18% 57.17% -0.01% ========================================== Files 486 486 Lines 35790 35792 +2 ========================================== - Hits 20467 20465 -2 - Misses 15323 15327 +4 ```

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