Skip to content

Conversation

@sjberman
Copy link
Collaborator

@sjberman sjberman commented Feb 1, 2024

Problem: Multiple reporting systems need to use the telemetry job, and duplicated code would like to be avoided.

Solution: Turn the telemetry job into a generic job that runs a "worker" function, provided by the caller.

  • 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

@sjberman sjberman requested a review from a team as a code owner February 1, 2024 18:39
@github-actions github-actions bot added the chore Pull requests for routine tasks label Feb 1, 2024
Copy link
Contributor

@kate-osborn kate-osborn left a comment

Choose a reason for hiding this comment

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

LGTM, just a couple of small comments.

Problem: Multiple reporting systems need to use the telemetry job, and duplicated code would like to be avoided.

Solution: Turn the telemetry job into a generic job that runs a "worker" function, provided by the caller.
Copy link
Contributor

@kate-osborn kate-osborn left a comment

Choose a reason for hiding this comment

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

🚀

@sjberman sjberman merged commit ed366d3 into nginx:main Feb 1, 2024
@sjberman sjberman deleted the chore/generic-job branch February 1, 2024 22:26
miledxz added a commit to miledxz/nginx-gateway-fabric that referenced this pull request Jan 14, 2025
Problem: Multiple reporting systems need to use the telemetry job, and duplicated code would like to be avoided.

Solution: Turn the telemetry job into a generic job that runs a "worker" function, provided by the caller.
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants