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

Include the registry in the request log #656

Open
davidhao3300 opened this issue Dec 4, 2024 · 0 comments
Open

Include the registry in the request log #656

davidhao3300 opened this issue Dec 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@davidhao3300
Copy link

Describe the problem to be solved

Hello! Thank you for this great project. We'd like to track the cache misses by registry/repo in Datadog. We're able to get most of the way by using log-based monitoring using the log line logged here. The main issue is that while we can parse the repository from the path field, we cannot figure out the registry since the "ns" URL param is not logged.

Proposed solution to the problem

The ideal solution would be to parse the ns URL param and put a "registry" field in the log line, but I'm not sure if this is something that work for everyone. Perhaps putting an allow-listed set of URL params instead would be more-generic?

@davidhao3300 davidhao3300 added the enhancement New feature or request label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant