Skip to content

Python error in GetStatsFunc #6

@chrisjeter

Description

@chrisjeter

Exception in thread Thread-828 (GetStatsFunc):
Traceback (most recent call last):
File "/usr/local/lib/python3.12/threading.py", line 1052, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.12/threading.py", line 989, in run
self._target(*self._args, **self._kwargs)
File "/usr/src/app/python-node-exporter.py", line 207, in GetStatsFunc
CurrentEncryptedLBs = abs(vm['EncryptionStatistics']['EncryptedDataInLBs'] - oldvmdata[0]['EncryptionStatistics']['EncryptedDataInLBs'])
~~^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'EncryptionStatistics'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions