Description
We have found your Repo, as we are using NewRelic, tried to use your repo for Databricks integrations. However, even though we have followed properly, found 2 issues.
First your repo doesn't even start the service properly. We should enable the Tags as environment variables, then it will work.
Second even though we made it to start, it prints some logs however they are not able to parse as events. Giving error line as - Getting ERROR newrelic events collector responded with status code 404
NOTE: # ( Describe the problem you're encountering. )
TIP: # ( Do NOT give us access or passwords to your New Relic account or API keys! )
Steps to Reproduce
Deploy your code on any of Databricks, & try it out.
NOTE: # ( Please be as specific as possible. )
Expected Behavior
Relevant Logs / Console output
2022-11-30 09:40:40,754 INFO Setting New Relic API endpoint https://insights-collector.eu01.nr-data.net/accounts/3661229/events
2022-11-30 09:41:10,791 DEBUG Executing integration
2022-11-30 09:41:10,792 INFO setting spark master_ui_port = 40000
2022-11-30 09:41:10,792 INFO extracting driver_host = Not Shown
2022-11-30 09:41:10,792 INFO extracting conf_public_dns = 40001
2022-11-30 09:41:10,802 DEBUG Processing jobs
2022-11-30 09:41:10,805 DEBUG Processing stages
2022-11-30 09:41:10,809 DEBUG Processing executors
2022-11-30 09:41:10,809 DEBUG {'id': 'driver', 'hostPort': 'Not Shown:46425', 'isActive': True, 'rddBlocks': 0, 'memoryUsed': 0, 'diskUsed': 0, 'totalCores': 0, 'maxTasks': 0, 'activeTasks': 0, 'failedTasks': 0, 'completedTasks': 0, 'totalTasks': 0, 'totalDuration': 0, 'totalGCTime': 0, 'totalInputBytes': 0, 'totalShuffleRead': 0, 'totalShuffleWrite': 0, 'isBlacklisted': False, 'maxMemory': 64516364697, 'addTime': '2022-11-30T09:29:50.970GMT', 'executorLogs': {}, 'memoryMetrics': {'usedOnHeapStorageMemory': 0, 'usedOffHeapStorageMemory': 0, 'totalOnHeapStorageMemory': 27541477785, 'totalOffHeapStorageMemory': 36974886912}, 'blacklistedInStages': [], 'peakMemoryMetrics': {'JVMHeapMemory': 4951995680, 'JVMOffHeapMemory': 225386016, 'OnHeapExecutionMemory': 0, 'OffHeapExecutionMemory': 0, 'OnHeapStorageMemory': 0, 'OffHeapStorageMemory': 0, 'OnHeapUnifiedMemory': 0, 'OffHeapUnifiedMemory': 0, 'DirectPoolMemory': 1190721, 'MappedPoolMemory': 0, 'ProcessTreeJVMVMemory': 0, 'ProcessTreeJVMRSSMemory': 0, 'ProcessTreePythonVMemory': 0, 'ProcessTreePythonRSSMemory': 0, 'ProcessTreeOtherVMemory': 0, 'ProcessTreeOtherRSSMemory': 0, 'MinorGCCount': 5, 'MinorGCTime': 117, 'MajorGCCount': 5, 'MajorGCTime': 484}, 'attributes': {}, 'resources': {}, 'resourceProfileId': 0, 'isExcluded': False, 'excludedInStages': []}
2022-11-30 09:41:10,809 DEBUG {'id': '7', 'hostPort': 'Not Shown:45371', 'isActive': True, 'rddBlocks': 0, 'memoryUsed': 0, 'diskUsed': 0, 'totalCores': 8, 'maxTasks': 8, 'activeTasks': 0, 'failedTasks': 0, 'completedTasks': 0, 'totalTasks': 0, 'totalDuration': 0, 'totalGCTime': 0, 'totalInputBytes': 0, 'totalShuffleRead': 0, 'totalShuffleWrite': 0, 'isBlacklisted': False, 'maxMemory': 43359456460, 'addTime': '2022-11-30T09:29:58.298GMT', 'executorLogs': {'stdout': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=7&logType=stdout', 'stderr': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=7&logType=stderr'}, 'memoryMetrics': {'usedOnHeapStorageMemory': 0, 'usedOffHeapStorageMemory': 0, 'totalOnHeapStorageMemory': 6384569548, 'totalOffHeapStorageMemory': 36974886912}, 'blacklistedInStages': [], 'attributes': {}, 'resources': {}, 'resourceProfileId': 0, 'isExcluded': False, 'excludedInStages': []}
2022-11-30 09:41:10,810 DEBUG {'id': '6', 'hostPort': '10.139.64.7:37625', 'isActive': True, 'rddBlocks': 0, 'memoryUsed': 0, 'diskUsed': 0, 'totalCores': 8, 'maxTasks': 8, 'activeTasks': 0, 'failedTasks': 0, 'completedTasks': 0, 'totalTasks': 0, 'totalDuration': 0, 'totalGCTime': 0, 'totalInputBytes': 0, 'totalShuffleRead': 0, 'totalShuffleWrite': 0, 'isBlacklisted': False, 'maxMemory': 43359456460, 'addTime': '2022-11-30T09:29:57.694GMT', 'executorLogs': {'stdout': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=6&logType=stdout', 'stderr': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=6&logType=stderr'}, 'memoryMetrics': {'usedOnHeapStorageMemory': 0, 'usedOffHeapStorageMemory': 0, 'totalOnHeapStorageMemory': 6384569548, 'totalOffHeapStorageMemory': 36974886912}, 'blacklistedInStages': [], 'attributes': {}, 'resources': {}, 'resourceProfileId': 0, 'isExcluded': False, 'excludedInStages': []}
2022-11-30 09:41:10,810 DEBUG {'id': '5', 'hostPort': 'Not Shown:39185', 'isActive': True, 'rddBlocks': 0, 'memoryUsed': 0, 'diskUsed': 0, 'totalCores': 8, 'maxTasks': 8, 'activeTasks': 0, 'failedTasks': 0, 'completedTasks': 0, 'totalTasks': 0, 'totalDuration': 0, 'totalGCTime': 0, 'totalInputBytes': 0, 'totalShuffleRead': 0, 'totalShuffleWrite': 0, 'isBlacklisted': False, 'maxMemory': 43359456460, 'addTime': '2022-11-30T09:29:56.804GMT', 'executorLogs': {'stdout': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=5&logType=stdout', 'stderr': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=5&logType=stderr'}, 'memoryMetrics': {'usedOnHeapStorageMemory': 0, 'usedOffHeapStorageMemory': 0, 'totalOnHeapStorageMemory': 6384569548, 'totalOffHeapStorageMemory': 36974886912}, 'blacklistedInStages': [], 'attributes': {}, 'resources': {}, 'resourceProfileId': 0, 'isExcluded': False, 'excludedInStages': []}
2022-11-30 09:41:10,810 DEBUG {'id': '4', 'hostPort': 'Not Shown1:39209', 'isActive': True, 'rddBlocks': 0, 'memoryUsed': 0, 'diskUsed': 0, 'totalCores': 8, 'maxTasks': 8, 'activeTasks': 0, 'failedTasks': 0, 'completedTasks': 0, 'totalTasks': 0, 'totalDuration': 0, 'totalGCTime': 0, 'totalInputBytes': 0, 'totalShuffleRead': 0, 'totalShuffleWrite': 0, 'isBlacklisted': False, 'maxMemory': 43359456460, 'addTime': '2022-11-30T09:29:56.236GMT', 'executorLogs': {'stdout': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=4&logType=stdout', 'stderr': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=4&logType=stderr'}, 'memoryMetrics': {'usedOnHeapStorageMemory': 0, 'usedOffHeapStorageMemory': 0, 'totalOnHeapStorageMemory': 6384569548, 'totalOffHeapStorageMemory': 36974886912}, 'blacklistedInStages': [], 'attributes': {}, 'resources': {}, 'resourceProfileId': 0, 'isExcluded': False, 'excludedInStages': []}
2022-11-30 09:41:10,810 DEBUG {'id': '3', 'hostPort': 'Not Shown9:32987', 'isActive': True, 'rddBlocks': 0, 'memoryUsed': 0, 'diskUsed': 0, 'totalCores': 8, 'maxTasks': 8, 'activeTasks': 0, 'failedTasks': 0, 'completedTasks': 0, 'totalTasks': 0, 'totalDuration': 0, 'totalGCTime': 0, 'totalInputBytes': 0, 'totalShuffleRead': 0, 'totalShuffleWrite': 0, 'isBlacklisted': False, 'maxMemory': 43359456460, 'addTime': '2022-11-30T09:29:56.144GMT', 'executorLogs': {'stdout': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=3&logType=stdout', 'stderr': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=3&logType=stderr'}, 'memoryMetrics': {'usedOnHeapStorageMemory': 0, 'usedOffHeapStorageMemory': 0, 'totalOnHeapStorageMemory': 6384569548, 'totalOffHeapStorageMemory': 36974886912}, 'blacklistedInStages': [], 'attributes': {}, 'resources': {}, 'resourceProfileId': 0, 'isExcluded': False, 'excludedInStages': []}
2022-11-30 09:41:10,810 DEBUG {'id': '2', 'hostPort': 'Not Shown:44877', 'isActive': True, 'rddBlocks': 0, 'memoryUsed': 0, 'diskUsed': 0, 'totalCores': 8, 'maxTasks': 8, 'activeTasks': 0, 'failedTasks': 0, 'completedTasks': 0, 'totalTasks': 0, 'totalDuration': 0, 'totalGCTime': 0, 'totalInputBytes': 0, 'totalShuffleRead': 0, 'totalShuffleWrite': 0, 'isBlacklisted': False, 'maxMemory': 43359456460, 'addTime': '2022-11-30T09:29:56.094GMT', 'executorLogs': {'stdout': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=2&logType=stdout', 'stderr': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=2&logType=stderr'}, 'memoryMetrics': {'usedOnHeapStorageMemory': 0, 'usedOffHeapStorageMemory': 0, 'totalOnHeapStorageMemory': 6384569548, 'totalOffHeapStorageMemory': 36974886912}, 'blacklistedInStages': [], 'attributes': {}, 'resources': {}, 'resourceProfileId': 0, 'isExcluded': False, 'excludedInStages': []}
2022-11-30 09:41:10,810 DEBUG {'id': '1', 'hostPort': 'Not Shown:38769', 'isActive': True, 'rddBlocks': 0, 'memoryUsed': 0, 'diskUsed': 0, 'totalCores': 8, 'maxTasks': 8, 'activeTasks': 0, 'failedTasks': 0, 'completedTasks': 0, 'totalTasks': 0, 'totalDuration': 0, 'totalGCTime': 0, 'totalInputBytes': 0, 'totalShuffleRead': 0, 'totalShuffleWrite': 0, 'isBlacklisted': False, 'maxMemory': 43359456460, 'addTime': '2022-11-30T09:29:55.989GMT', 'executorLogs': {'stdout': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=1&logType=stdout', 'stderr': 'http://Nolt Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=1&logType=stderr'}, 'memoryMetrics': {'usedOnHeapStorageMemory': 0, 'usedOffHeapStorageMemory': 0, 'totalOnHeapStorageMemory': 6384569548, 'totalOffHeapStorageMemory': 36974886912}, 'blacklistedInStages': [], 'attributes': {}, 'resources': {}, 'resourceProfileId': 0, 'isExcluded': False, 'excludedInStages': []}
2022-11-30 09:41:10,810 DEBUG {'id': '0', 'hostPort': 'Not Shown:40909', 'isActive': True, 'rddBlocks': 0, 'memoryUsed': 0, 'diskUsed': 0, 'totalCores': 8, 'maxTasks': 8, 'activeTasks': 0, 'failedTasks': 0, 'completedTasks': 0, 'totalTasks': 0, 'totalDuration': 0, 'totalGCTime': 0, 'totalInputBytes': 0, 'totalShuffleRead': 0, 'totalShuffleWrite': 0, 'isBlacklisted': False, 'maxMemory': 43359456460, 'addTime': '2022-11-30T09:29:55.853GMT', 'executorLogs': {'stdout': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=0&logType=stdout', 'stderr': 'http://Not Shown:40000/logPage/?appId=app-20221130092950-0000&executorId=0&logType=stderr'}, 'memoryMetrics': {'usedOnHeapStorageMemory': 0, 'usedOffHeapStorageMemory': 0, 'totalOnHeapStorageMemory': 6384569548, 'totalOffHeapStorageMemory': 36974886912}, 'blacklistedInStages': [], 'attributes': {}, 'resources': {}, 'resourceProfileId': 0, 'isExcluded': False, 'excludedInStages': []}
2022-11-30 09:41:10,810 INFO Debugging API endpoint https://insights-collector.eu01.nr-data.net/accounts//events
2022-11-30 09:41:10,810 INFO Debugging API endpoint {'Api-Key': '', 'Content-Encoding': 'gzip'}
2022-11-30 09:41:12,264 ERROR newrelic events collector responded with status code 404
NOTE: # ( Please provide specifics of the local error logs, Browser Dev Tools console, etc. if appropriate and possible. )
Your Environment
- ex: Browser name and version:
- ex: Operating System and version:
Additional context
Please test & make sure your documentation is clear in depicting steps which will help us to use it effectively, rather than giving minimal information insights.