newrelic / go-agent

New Relic Go Agent
Apache License 2.0
762 stars 297 forks source link

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

Closed yehudamakarov closed 5 months ago

yehudamakarov commented 5 months ago

Description

Regarding the zap integration for the go agent,

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 commented 5 months ago

i opened a support case here

iamemilio commented 5 months ago

we dont support attributes yet unfortunately, its on our roadmap

iamemilio commented 5 months ago

this is for all logging products in go

yehudamakarov commented 5 months ago

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 🤔)