You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
File "python/bootstrap.py", line 49, in
methodsmethod
File "python/bootstrap.py", line 43, in
methods = {'collect': lambda: program.run_collect_performance_counters(docker_socket=_docker_socket,
sdk_file=_sdk_info_file, docker_info_file=_docker_info_path, collect_interval=collect_interval),
File "/usr/docker/ApplicationInsights-Docker/build/docker/python/appinsights/program.py", line 49, in
run_collect_performance_counters
collector.collect_stats_and_send()
File "/usr/docker/ApplicationInsights-Docker/build/docker/python/appinsights/dockercollector.py", line 76, in
collect_stats_and_send
The issue has been fixed in v0.9.2.
Can you please pull the latest version and check if the issue resolved?
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHubhttps://github.com//issues/23#issuecomment-220895745
Hi,
i have configured and ran the docker images/container but when i go to the Azure/Application insight portal i receive the 'Error Retrieving Data',
The container log is:
......
Starting to collect events from: MetricCollectionPythonBoostrapper
docker : Traceback (most recent call last):
At line:1 char:1
docker logs --tail=30 3657bfccd9fa *> log.txt
File "python/bootstrap.py", line 49, in
methodsmethod
File "python/bootstrap.py", line 43, in
methods = {'collect': lambda: program.run_collect_performance_counters(docker_socket=_docker_socket,
sdk_file=_sdk_info_file, docker_info_file=_docker_info_path, collect_interval=collect_interval),
File "/usr/docker/ApplicationInsights-Docker/build/docker/python/appinsights/program.py", line 49, in
run_collect_performance_counters
collector.collect_stats_and_send()
File "/usr/docker/ApplicationInsights-Docker/build/docker/python/appinsights/dockercollector.py", line 76, in
collect_stats_and_send
self._update_containers_state(containers=containers)
File "/usr/docker/ApplicationInsights-Docker/build/docker/python/appinsights/dockercollector.py", line 175, in
_update_containers_state
list(executor.map(lambda c: self._update_container_state(c), containers))
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 549, in result_iterator
yield future.result()
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 395, in result
return self.__get_result()
File "/usr/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(_self.args, *_self.kwargs)
File "/usr/docker/ApplicationInsights-Docker/build/docker/python/appinsights/dockercollector.py", line 175, in
list(executor.map(lambda c: self._update_container_state(c), containers))
File "/usr/docker/ApplicationInsights-Docker/build/docker/python/appinsights/dockercollector.py", line 181, in
_update_container_state
ikey = self._get_container_sdk_ikey(container)
File "/usr/docker/ApplicationInsights-Docker/build/docker/python/appinsights/dockercollector.py", line 205, in
_get_container_sdk_ikey
return None if sdk_info_file_content is None else sdk_info_file_content.split('=')[1]
IndexError: list index out of range
Python bootstrapper MetricCollectionPythonBoostrapper has exited with exit code: 1
The text was updated successfully, but these errors were encountered: