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 for the metric server #726

Open
tormodmacleod opened this issue Jan 2, 2025 · 0 comments
Open

structured logging for the metric server #726

tormodmacleod opened this issue Jan 2, 2025 · 0 comments

Comments

@tormodmacleod
Copy link

currently the chart allows you to configure structured logging for the operator and webhooks. but there is no such option for the metric server

logging:
  operator:
    level: info
    format: console
    timeEncoding: rfc3339
    stackTracesEnabled: false
  metricServer:
    level: 0
    stderrthreshold: ERROR
  webhooks:
    level: info
    format: console
    timeEncoding: rfc3339

we ship our logs to newrelic. any logs that are in json format can be easily parsed. i'm sure most other providers like elasticsearch do the same. this allows us to easily alert on any attribute such as log level et cetera. it'd be really nice if there was a format key under logging.metricServer to allow this

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

No branches or pull requests

1 participant