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

How to add custom fields to the log #933

Closed
Xuqy3 opened this issue Oct 11, 2024 · 3 comments
Closed

How to add custom fields to the log #933

Xuqy3 opened this issue Oct 11, 2024 · 3 comments
Labels

Comments

@Xuqy3
Copy link

Xuqy3 commented Oct 11, 2024

I would like to be able to output some other information on the log, such as some traceId, clientId, etc. headers on the request. does kraken D support this?

@Xuqy3 Xuqy3 added the question label Oct 11, 2024
@alombarte
Copy link
Member

Hello @Xuqy3 , KrakenD does not support this because the access log is not configurable. The next version of KrakenD Enterprise will let you define and customize everything that shows up in the log.

@Xuqy3
Copy link
Author

Xuqy3 commented Oct 12, 2024

@alombarte Sorry to bother you again, can I report custom metrics in a custom plugin via the /metrics api interface to prometheus? Looking forward to your answer.

@alombarte
Copy link
Member

Yes, you could report some metrics in a custom plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants