Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Metrics AspNetCore support #775

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from

Conversation

hjgraca
Copy link
Contributor

@hjgraca hjgraca commented Feb 21, 2025

Please provide the issue number

Issue number: #773

Summary

Changes

This pull request introduces a new library for capturing and publishing custom metrics from AWS Lambda functions using ASP.NET Core. The key changes include adding project references, creating new classes for metrics handling, and updating documentation.

New Library AWS.Lambda.Powertools.Metrics.AspNetCore

New Library Introduction:

Metrics Handling:

Documentation:

  • README.md: Provided detailed usage instructions and examples for the new ASP.NET Core metrics library.

Solution Configuration:

User experience

Image

Checklist

Please leave checklist items unchecked if they do not apply to your change.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

…ing and middleware support for aspnetcore.

Docs
@hjgraca hjgraca self-assigned this Feb 21, 2025
@auto-assign auto-assign bot requested review from amirkaws and sliedig February 21, 2025 19:13
@boring-cyborg boring-cyborg bot added area/metrics Core metrics utility documentation Improvements or additions to documentation tests labels Feb 21, 2025
@pull-request-size pull-request-size bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Feb 21, 2025
@hjgraca hjgraca linked an issue Feb 21, 2025 that may be closed by this pull request
2 tasks
Copy link

codecov bot commented Feb 22, 2025

Codecov Report

Attention: Patch coverage is 86.20690% with 8 lines in your changes missing coverage. Please review.

Project coverage is 73.88%. Comparing base (b0d8807) to head (5bc9af2).

Files with missing lines Patch % Lines
...trics.AspNetCore/Http/MetricsEndpointExtensions.cs 0.00% 4 Missing ⚠️
...owertools.Metrics.AspNetCore/Http/MetricsFilter.cs 76.92% 3 Missing ⚠️
...ambda.Powertools.Metrics/Internal/MetricsAspect.cs 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #775      +/-   ##
===========================================
+ Coverage    73.82%   73.88%   +0.06%     
===========================================
  Files          205      209       +4     
  Lines         8324     8382      +58     
  Branches       901      905       +4     
===========================================
+ Hits          6145     6193      +48     
- Misses        1884     1892       +8     
- Partials       295      297       +2     
Flag Coverage Δ
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@boring-cyborg boring-cyborg bot added github-actions Changes in GitHub workflows internal Maintenance changes labels Feb 22, 2025
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/metrics Core metrics utility documentation Improvements or additions to documentation github-actions Changes in GitHub workflows internal Maintenance changes size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Metrics support for AspNetCore
1 participant