2021-03-17 10:28:39,853 INFO:Start collecting metrics from REDACTED 2021-03-17 10:28:39,853 INFO:Starting vm metrics collection 2021-03-17 10:28:39,854 INFO:Fetching vim.VirtualMachine inventory 2021-03-17 10:28:39,854 INFO:Retrieving service instance content 2021-03-17 10:28:39,854 INFO:START: _vmware_get_vm_perf_manager_metrics 2021-03-17 10:28:39,855 INFO:Fetching vim.Datastore inventory 2021-03-17 10:28:39,855 INFO:Starting host metrics collection 2021-03-17 10:28:39,855 INFO:Fetching vim.HostSystem inventory 2021-03-17 10:28:39,855 INFO:START: _vmware_get_host_perf_manager_metrics 2021-03-17 10:28:39,939 INFO:Retrieved service instance content Unhandled error in Deferred: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/twisted/internet/defer.py", line 517, in errback self._startRunCallbacks(fail) File "/usr/local/lib/python3.7/site-packages/twisted/internet/defer.py", line 580, in _startRunCallbacks self._runCallbacks() File "/usr/local/lib/python3.7/site-packages/twisted/internet/defer.py", line 662, in _runCallbacks current.result = callback(current.result, *args, **kw) File "/usr/local/lib/python3.7/site-packages/twisted/internet/defer.py", line 1514, in gotResult current_context.run(_inlineCallbacks, r, g, status) --- <exception caught here> --- File "/usr/local/lib/python3.7/site-packages/twisted/internet/defer.py", line 1443, in _inlineCallbacks result = current_context.run(result.throwExceptionIntoGenerator, g) File "/usr/local/lib/python3.7/site-packages/twisted/python/failure.py", line 500, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/usr/local/lib/python3.7/site-packages/vmware_exporter/vmware_exporter.py", line 1845, in _async_render_GET request.finish() File "/usr/local/lib/python3.7/site-packages/twisted/web/server.py", line 279, in finish return http.Request.finish(self) File "/usr/local/lib/python3.7/site-packages/twisted/web/http.py", line 1134, in finish "Request.finish called on a request after its connection was lost; " builtins.RuntimeError: Request.finish called on a request after its connection was lost; use Request.notifyFinish to keep track of this. 2021-03-17 10:28:51,619 INFO:Fetched vim.Datastore inventory (0:00:11.764348) 2021-03-17 10:28:53,853 INFO:Fetched vim.HostSystem inventory (0:00:13.997306) 2021-03-17 10:28:55,108 INFO:Fetched vim.VirtualMachine inventory (0:00:15.254623) 2021-03-17 10:28:56,251 INFO:Finished vm metrics collection 2021-03-17 10:28:56,253 INFO:Finished host metrics collection 2021-03-17 10:28:56,259 INFO:FIN: _vmware_get_host_perf_manager_metrics 2021-03-17 10:28:59,732 INFO:FIN: _vmware_get_vm_perf_manager_metrics 2021-03-17 10:28:59,746 INFO:Finished collecting metrics from REDACTED
Hi, first time here, please let me know if this isn't the place to ask this, but here it goes:
I'm trying to setup vmware_exporter in just a docker container and not passing environment variables, since I'll be having a lot of hosts I need to add. With other projects I managed to find where config files are stored and just create a docker volume with the config file in it and map that into container on a certain path. Just with vmware_exporter I'm unable to find a configuration file inside the container that I could map. I tried creating a config.yml file and map that to /opt/vmware_exporter/kubernetes, but it seems this is more the config.yml to create the container with docker compose.
So, I'd like to find out, is there a config / settings file inside the container that I could use to write my config into?