Azure / batch-insights

One liners to enable Application insights on azure batch
MIT License
24 stars 16 forks source link

No metrics shown in batch explorer and app insights #49

Closed okhoma closed 3 years ago

okhoma commented 3 years ago

Batch configured, but metrics are not collected

start\stdout.log

SUCCESS: Specified value was saved.
Starting App insights background process in D:\batch\tasks\startup\wd

TaskPath                                       TaskName                          State     
--------                                       --------                          -----     
\                                              batchappinsights                  Ready     
\                                              batchappinsights                  Running   

startup\wd\nodestats.log

WARN Using postional arguments for Node ID, PoolID, KEY and  Process names is deprecated. Use --poolID, --nodeID, --instKey, --process 
WARN It will be removed in 2.0.0                  
User configuration:
   Pool ID: psl1
   Node ID: tvmps_******
   Instrumentation Key: xxxxx
   Aggregation: 1
   Disable: []
   Monitoring processes: [--poolID]
BatchInsights configuration:
   Pool ID: psl1
   Node ID: tvmps_966f3398e2dcc0f5778aa0650e26720476375e2eebd4dddbb14d1bbd4bc80110_d
   Instrumentation Key: xxxxx
   Aggregation: 1m0s
   Sampling rate: 5000000000
   Disable: {"diskIO":false,"diskUsage":false,"networkIO":false,"gpu":false,"cpu":false,"memory":false}
   Monitoring processes: [--poolID]
System information:
   OS: windows
No GPU detected. Nvidia driver might be missing. Error while initializing NVML NVIDIA driver is not loaded

Batch configuration

image

image

okhoma commented 3 years ago

Statistics were collected and reported properly but not displayed in Batch Explorer due to firewall issues.