Azure / Azure/aks-middleware

Share Logging Code between restlogger and policy

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
5
Forks
9
Avg merge
3d 20h
Merged PRs (30d)
1

Description

Although policy uses az core policy and restlogger uses an http rountripper, they share a lot of code for logging the request/response. Change the code so that they are using shared functions to get the logging fields. Additionally, ensure that both have the same fields.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the policy and restlogger implementations and compare how each builds request/response logging fields. Identify the duplicated logging logic, then confirm that shared functions provide the same fields for both paths; the issue provides no file or test names to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.