Hi, I have deployed this tool using Docker image to Azure Container Reg and from there to Azure Spring App (Python 3.9) as Custom Image.
I have set logs to "info" and i could see this tool in my NewRelic account as well as i see Login activity in my Salesforce environment.
However, i dont see any activity in logs where it tries to connect to Salesforce to run Queries. I have added a few "print_info" function calls but it seems the line 240 in main.py isnt even executing as i dont see it in log output. I have some Queries in instance as well as global config.
It does however log that Agent was initialised from OR Application was activated from
I have also added some additional "print_info" function calls in api.py --> "get" function but those never show up in debug log.
I have tried both run_as_service "True" or "False"
Steps to Reproduce
Build docker image and deploy to Azure Container Registry
Deploy to Azure Spring App as Custom Image
Relevant Logs / Console output
Few interesting debug logs are below (which are tagged DEBUG but seem like error)
2024-08-22 09:08:33,533 (1/NR-Activate-Session/New Relic Salesforce Exporter) newrelic.common.utilization DEBUG - Unable to fetch gcp data from metadata.google.internal/computeMetadata/v1/instance/: gaierror(-2, 'Name or service not known')
2024-08-22 09:08:33,524 (1/NR-Activate-Session/New Relic Salesforce Exporter) newrelic.common.utilization DEBUG - Unable to fetch aws data from 169.254.xxx.254/latest/dynamic/instance-identity/document: ValueError(400)
Description
Hi, I have deployed this tool using Docker image to Azure Container Reg and from there to Azure Spring App (Python 3.9) as Custom Image.
I have set logs to "info" and i could see this tool in my NewRelic account as well as i see Login activity in my Salesforce environment.
However, i dont see any activity in logs where it tries to connect to Salesforce to run Queries. I have added a few "print_info" function calls but it seems the line 240 in main.py isnt even executing as i dont see it in log output. I have some Queries in instance as well as global config.
It does however log that Agent was initialised from OR Application was activated from
I have also added some additional "print_info" function calls in api.py --> "get" function but those never show up in debug log.
I have tried both run_as_service "True" or "False"
Steps to Reproduce
Relevant Logs / Console output
Few interesting debug logs are below (which are tagged DEBUG but seem like error)
2024-08-22 09:08:33,533 (1/NR-Activate-Session/New Relic Salesforce Exporter) newrelic.common.utilization DEBUG - Unable to fetch gcp data from metadata.google.internal/computeMetadata/v1/instance/: gaierror(-2, 'Name or service not known')
2024-08-22 09:08:33,524 (1/NR-Activate-Session/New Relic Salesforce Exporter) newrelic.common.utilization DEBUG - Unable to fetch aws data from 169.254.xxx.254/latest/dynamic/instance-identity/document: ValueError(400)
Your Environment
Azure Spring App Linux 1x vCPU 1Gi Memory