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

zap logger.With log message properties are not sent to new relic #867

Closed
yehudamakarov opened this issue Mar 13, 2024 · 5 comments
Closed
Labels

Comments

@yehudamakarov
Copy link

yehudamakarov commented Mar 13, 2024

Description

Regarding the zap integration for the go agent,

  • i make a background logger as described in the docs.
  • when I make new loggers from it with logger.With("<prop name>", "<prop value>") although the properties are visible in the log's json on the console, those properties are not in new relic.

Steps to Reproduce

See above.

Expected Behavior

Any properties added to json structured log messages should be in the new relic log message.

NR Diag results

can't run that in google cloud run, sorry.

Your Environment

@yehudamakarov
Copy link
Author

i opened a support case here

@iamemilio
Copy link
Contributor

we dont support attributes yet unfortunately, its on our roadmap

@iamemilio
Copy link
Contributor

this is for all logging products in go

@yehudamakarov
Copy link
Author

aye. ok.

I wish i saw this in the docs (wondering if i missed it, or it can be added)

thank you! (this is a key feature for me 🤔)

@stefanoschrs
Copy link

@iamemilio do we have an estimation on when is this feature going to be added?

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

3 participants