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

Add NGF telemetry data for TLSRoute #2387

Merged
merged 4 commits into from
Aug 15, 2024

Conversation

bjee19
Copy link
Contributor

@bjee19 bjee19 commented Aug 13, 2024

Proposed changes

Problem: NGF did not support telemetry for TLSRoute.

Solution: Add telemetry collection of TLSRoute.

Testing: Added unit tests for the updated code.

Closes #2286

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto main
  • I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes

If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

NONE

@bjee19 bjee19 requested review from a team as code owners August 13, 2024 18:05
@github-actions github-actions bot added documentation Improvements or additions to documentation chore Pull requests for routine tasks labels Aug 13, 2024
@bjee19 bjee19 mentioned this pull request Aug 13, 2024
6 tasks
Copy link

codecov bot commented Aug 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.91%. Comparing base (a781c49) to head (f6475ae).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2387      +/-   ##
==========================================
+ Coverage   88.89%   88.91%   +0.01%     
==========================================
  Files         100      100              
  Lines        7512     7521       +9     
  Branches       50       50              
==========================================
+ Hits         6678     6687       +9     
  Misses        778      778              
  Partials       56       56              

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

Copy link
Contributor

@ADubhlaoich ADubhlaoich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@bjee19 bjee19 force-pushed the chore/add-telemetry-for-tls-routes branch from 910e267 to 4cc7931 Compare August 15, 2024 16:39
@bjee19
Copy link
Contributor Author

bjee19 commented Aug 15, 2024

Credit to @sarthyparty for the work done in the code, and @salonichf5 for testing the work on the xcdf side!

sarthyparty and others added 4 commits August 15, 2024 11:25
Problem: NGF did not support telemetry for TLSRoute

Solution: I counted the number of TLSRoutes in the
graph and added it to the telemetry data
@bjee19 bjee19 force-pushed the chore/add-telemetry-for-tls-routes branch from 25b0b8d to f6475ae Compare August 15, 2024 18:25
@bjee19 bjee19 merged commit 074f96e into nginxinc:main Aug 15, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks documentation Improvements or additions to documentation
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Telemetry: Report number of TLSRoutes
6 participants