You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In middleware.go where we log globally for each HTTP request, we have a hardcoded logic to determine if the request came in for metrics handler using the uri to determine that global logging is required. A similar use case in ISO is handled by setting the 'X-Global-Logging' field in the response Header. This arguably isolates individual handlers to opt in/out of global logging and keeps component specific logic away from middleware.
Expected Behaviour
Current Behaviour
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
Operating System and version (e.g. Linux, Windows, MacOS):
How are you running Tinkerbell? Using Vagrant & VirtualBox, Vagrant & Libvirt, on Packet using Terraform, or give details:
Link to your project or a code example to reproduce issue:
The text was updated successfully, but these errors were encountered:
In middleware.go where we log globally for each HTTP request, we have a hardcoded logic to determine if the request came in for metrics handler using the uri to determine that global logging is required. A similar use case in ISO is handled by setting the 'X-Global-Logging' field in the response Header. This arguably isolates individual handlers to opt in/out of global logging and keeps component specific logic away from middleware.
Expected Behaviour
Current Behaviour
Possible Solution
Steps to Reproduce (for bugs)
Context
Your Environment
Operating System and version (e.g. Linux, Windows, MacOS):
How are you running Tinkerbell? Using Vagrant & VirtualBox, Vagrant & Libvirt, on Packet using Terraform, or give details:
Link to your project or a code example to reproduce issue:
The text was updated successfully, but these errors were encountered: