Skip to content

feat(metrics): add notification-metrics module + emit send outcomes (…#15

Merged
fupelaqu merged 2 commits into
mainfrom
feature/audit
Jun 17, 2026
Merged

feat(metrics): add notification-metrics module + emit send outcomes (…#15
fupelaqu merged 2 commits into
mainfrom
feature/audit

Conversation

@fupelaqu

Copy link
Copy Markdown
Contributor

…Story 13.9)

New dependency-light notification-metrics module (app.softnetwork.notification.metrics) holding NotificationMetrics, depending only on prometheus-metrics-core so consumers avoid the full notification-common stack. NotificationBehavior.sendNotification now emits notification_total{outcome=sent|failed} (channel=type.name, template empty). core depends on metrics; root aggregates it.

…Story 13.9)

New dependency-light notification-metrics module (app.softnetwork.notification.metrics) holding NotificationMetrics, depending only on prometheus-metrics-core so consumers avoid the full notification-common stack. NotificationBehavior.sendNotification now emits notification_total{outcome=sent|failed} (channel=type.name, template empty). core depends on metrics; root aggregates it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.74%. Comparing base (7bf2282) to head (99cdfbe).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   70.56%   70.74%   +0.17%     
==========================================
  Files          61       62       +1     
  Lines        1145     1152       +7     
  Branches      174      165       -9     
==========================================
+ Hits          808      815       +7     
  Misses        337      337              
Flag Coverage Δ
unittests 70.74% <100.00%> (+0.17%) ⬆️

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fupelaqu fupelaqu merged commit e282283 into main Jun 17, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant