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

Structured Logging #6465

Closed
22 tasks done
shaun-nx opened this issue Sep 19, 2024 Discussed in #6436 · 1 comment
Closed
22 tasks done

Structured Logging #6465

shaun-nx opened this issue Sep 19, 2024 Discussed in #6436 · 1 comment
Labels
change Pull requests that introduce a change go Pull requests that update Go code proposal An issue that proposes a feature request refined Issues that are ready to be prioritized
Milestone

Comments

@shaun-nx
Copy link
Contributor

shaun-nx commented Sep 19, 2024

Overview

As a user of NGINX Ingress Controller, I would like to have an easier time searching for specific log events so that we can better understand the health of our system and do so in a more performant way

High-level Requirements

  • Update logging library from golang/glog to log/slog
  • Add flag to toggle between string and json log parser
  • Provide a means to use glog as the logging handler for backwards compatibility
  • Update 3.7.0 release documentation to announce update to log/slog

Definition of Done

Development

  • Unit tests are written to cover functionality delivered in the story.
  • Make sure that the unit test passes before creating a pull request.
  • Make sure that the test coverage stays optimal.
  • Run make lint locally before creating a PR.
  • Remove CLI args used for configuring glog levels (eg: deployment.yaml)

Testing

  • NIC starts and runs
  • NIC starts and runs (with the service insight and healthcheck options enabled)
  • Automated tests are written as part of the story.
  • Run “make lint-python“ from root
  • Acceptance criteria are met.
  • Stories are demonstrated to the team.
  • Product Manager accepts the story as done.
  • If a feature requires changes/extensions of the Helm chart, those shall be done as part of the story.

Release Notes & Documentation

  • PR is labeled appropriately so they display in GitHub release notes.
  • Create/update documentation related to the user story.
  • Create/update the example in our codebase when applicable.

POC Tasks

Implementation Tasks

  1. pdabelf5
  2. go skip changelog
    AlexFenlon pdabelf5
  3. backlog
    AlexFenlon jjngx
    pdabelf5
  4. change documentation enhancement go helm_chart
    AlexFenlon pdabelf5
  5. go skip changelog
    pdabelf5
  6. go skip changelog
    AlexFenlon
  7. go skip changelog
    AlexFenlon pdabelf5
  8. go skip changelog
    AlexFenlon
  9. go skip changelog
    pdabelf5
  10. go skip changelog
    AlexFenlon
  11. go skip changelog
    pdabelf5
  12. go skip changelog
    pdabelf5
  13. go skip changelog
    AlexFenlon
  14. go skip changelog
    pdabelf5
  15. go skip changelog
    pdabelf5
  16. go skip changelog
    pdabelf5
  17. go skip changelog
    AlexFenlon
  18. documentation go python tests
    AlexFenlon
  19. go
    AlexFenlon
  20. chore helm_chart
    AlexFenlon
@shaun-nx shaun-nx added change Pull requests that introduce a change proposal An issue that proposes a feature request go Pull requests that update Go code epic Issues that need to be broken into smaller issues ready for refinement An issue that was triaged and it is ready to be refined labels Sep 19, 2024
@shaun-nx shaun-nx added this to the v4.0.0 milestone Sep 19, 2024
Copy link

Hi @shaun-nx thanks for reporting!

Be sure to check out the docs and the Contributing Guidelines while you wait for a human to take a look at this 🙂

Cheers!

@shaun-nx shaun-nx moved this from Todo ☑ to Prioritized backlog in NGINX Ingress Controller Sep 19, 2024
@shaun-nx shaun-nx added refined Issues that are ready to be prioritized and removed ready for refinement An issue that was triaged and it is ready to be refined labels Sep 24, 2024
@AlexFenlon AlexFenlon assigned AlexFenlon and unassigned AlexFenlon Oct 1, 2024
@pdabelf5 pdabelf5 linked a pull request Oct 3, 2024 that will close this issue
6 tasks
@pdabelf5 pdabelf5 removed a link to a pull request Oct 3, 2024
6 tasks
@shaun-nx shaun-nx moved this from Prioritized backlog to Done 🚀 in NGINX Ingress Controller Oct 14, 2024
@shaun-nx shaun-nx closed this as completed by moving to Done 🚀 in NGINX Ingress Controller Oct 14, 2024
@shaun-nx shaun-nx removed the epic Issues that need to be broken into smaller issues label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change Pull requests that introduce a change go Pull requests that update Go code proposal An issue that proposes a feature request refined Issues that are ready to be prioritized
Projects
Archived in project
Development

No branches or pull requests

2 participants