@tamura.masahiro2 (Tamura Masahiro) posted a new topic, subject "The attribute of my lambda (python) does not change from "-" in the lambda list". It read:

   I want to use Serverless to monitor AWS lambda (python 3.9).
    
    In the lambda list, Instrumentation is still “-”, although it has been configured.
    
    no-instrumentation789×159 8.01 KB
    
    The following is what I did.
    
      * The infrastructure uses CloudWatch Metrics Stream.
      * We added layer and environment variables to lambda, and changed Handlers.
      * We are using the CloudWatch Logs Subscription Filter to transfer logs.
      * The lambda has been tested and logs can be received on NewRelic via SubscriptionFilter.
      * CloudWatch Logs and NewRelic Logs have verified that the RequestId matches.

To which @michaelfrederick (Michael Frederick) replied

    Hey there @tamura.masahiro2,
    
    Welcome back to the community, it is good to see you again!
    
    I see you are having trouble with your Serverless monitoring. I appreciate the steps listed for what you have done so far. While your issue is a bit out of my scope currently, I am looping one of our support engineers to look over this and help out. We appreciate your patience as we provide support.
    
    Please let us know if you have other questions in the meantime. I hope you have a great day!

After which, @sbetea (Sebastian Betea) added

    Hey @tamura.masahiro2,
    
    Thank for reaching out.
    
    I'd like to gather some additional information to assist you with this issue. Usually when the Lambda function `Instrumentation` status is blank it indicates a misconfiguration issue.
    
      * Which process do you use to deploy your function: Serverless, SAM, CloudFormation, Terraform, others?
      * Did you run through the process outlined in our documentation?
      * How did you add/deploy the New Relic Layer? Did you add it manually via the AWS Console? Or did you use one of the methods outlined in our documentation?
      * How did you add/deploy the New Relic log-ingestion-function?
      * Since you are sending Lambda logs to New Relic, would it be possible to temporarily enable debug level logs on the Python agent. This will allow us to review the logs for any issues.
      * In addition, would it be possible to provide the SAM config for both the function in question and the log-ingestion function? You may redact any sensitive information in the SAM config files.
    
    
    
    **Resources:**
    
      * Link your AWS and New Relic accounts
      * Instrument an example
      * Instrument your own function
      * New Relic Lambda CLI
      * New Relic Lambda Extension
      * New Relic Serverless plugin
      * New Relic Layers
      * CloudFormation templates
      * Terraform examples
      * Lambda Troubleshooting Framework - General Knowledge Part 1
      * Lambda Troubleshooting Framework - General Knowledge Part 2
      * Lambda Troubleshooting Framework - Installation Details By Method
      * Lambda Troubleshooting Framework - Troubleshooting Lambda Part 1
      * Lambda Troubleshooting Framework - Troubleshooting Lambda Part 2
    
    
    
    Regards

Then @tamura.masahiro2 (Tamura Masahiro) said

    sbetea:
    
    > `Instrumentation` status is blank it indicates a misconfiguration issue.
    
    Hello @sbetea
    
    Instrumentation status of out lambda function changed to yes.
    
    I don't know when it changed.
    
    Information about Python exceptions caused by lambda is available in NewRelic.
    
    I judge that this condition is no problem for me.
    
    I'm closing this post.

So @michaelfrederick (Michael Frederick) replied

    Thank you for letting us know @tamura.masahiro2! Please reach out if we can assist with anything else.


{'source': 'discourse', 'url': 'https://discuss.newrelic.com/t/the-attribute-of-my-lambda-python-does-not-change-from-in-the-lambda-list/187322', 'title': 'The attribute of my lambda (python) does not change from "-" in the lambda list', 'views': 685, 'has_accepted_answer': False, 'word_count': 734, 'like_count': 0, 'reply_count': 1, 'participant_count': 3, 'posts': 5, 'tags': 'pythonagent', 'author': '@tamura.masahiro2 (Tamura Masahiro)', 'participants': '@tamura.masahiro2 (Tamura Masahiro), @michaelfrederick (Michael Frederick), @sbetea (Sebastian Betea)', 'image_url': ['//nr-production-discourse.s3.dualstack.us-east-1.amazonaws.com/original/3X/6/0/602f29db4146969a429459845a57b87392ddc22e.png'], 'created_at': '2022-06-06T09:05:36.820Z', 'last_posted_at': '2022-06-24T16:37:29.962Z'}