newrelic / newrelic-salesforce-exporter

New Relic integration for Salesforce logs.
Apache License 2.0
10 stars 15 forks source link

Salesforce Event logs are not reflected in NewRelic SFDC Overview dashboards. #21

Closed ashokdhupati closed 5 months ago

ashokdhupati commented 8 months ago

Hi @asllop , I am facing a new issue today when I ran the project. Can you please take a look at it? image

asllop commented 8 months ago

@ashokdhupati Could you post the log lines before the "Exception while fetching data from SF" please? Any case, this exception happens when there is a problem connecting to the SF API, it could be authentication or other kinds of errors.

ashokdhupati commented 8 months ago

@asllop , image The integration process started but stopped suddenly with the above error message.

asllop commented 8 months ago

@ashokdhupati is it something that happens consistently?

ashokdhupati commented 8 months ago

Yes @asllop

asllop commented 8 months ago

@ashokdhupati Looks like the error happened while downloading and parsing the last CSV file (0ATRg000000l6BhOAI). Could you try to download this file with other methods (using the SF developer console, for example)? And report the size of it and the number of rows.

ashokdhupati commented 8 months ago

@asllop, today I got the error on a different CSV file image

asllop commented 8 months ago

@ashokdhupati currently we are working on a solution for an issue that might be related (memory consumption loading big CSV files). I'll keep you updated.

sdewitt-newrelic commented 7 months ago

@ashokdhupati could you please update your repo and try your failing case on the branch feat/optimize-csv-parsing? To do this you can execute the following commands.

cd <wherever-your-repo-clone-is>
git remote update
git checkout feat/optimize-csv-parsing

Then run the integration as you normally would and copy the console output here like you did prior.

sdewitt-newrelic commented 7 months ago

@ashokdhupati I believe I have figured out what the problem is and I have posted a fix to the feat/optimize-csv-parsing branch. Please run the test case on this branch per my previous instructions.

sdewitt-newrelic commented 5 months ago

Closing this issue due to no response.