Open alankritjoshi opened 3 days ago
Hi @alankritjoshi The instrumented lambda can forward the logs to New Relic either via Extension or log-ingestion subscription.
To use Extension:
NEW_RELIC_EXTENSION_SEND_FUNCTION_LOGS
environment variable to true
To use log-ingestion subscription filter:
Thank you
I'm using the extension and I've the env var set to true. So I'm able to see the logs in the global view.
My question is how do I ensure that the logs are tied to an Entity? If an entity is associated, it would help me create a workload for these logs.
Additionally, related question, how do I scope down the events and metrics that I create with this layer and extension? Right now those show up in global scope too.
Description
I don't see the logs associated with any entities so I can't create workloads to specify them or namespace the events or metrics.
Steps to Reproduce
Expected Behaviour
NEW_RELIC_APP_NAME
is provided, it should use it for entity name?Relevant Logs / Console output
e.g.,
Your Environment
Chrome, MacOS
Additional context