Apr 25 09:13:31 xx python[26934]: Traceback (most recent call last):
Apr 25 09:13:31 xx python[26934]: File "/opt/tcs/venv/lib/python3.9/site-packages/quart/app.py", line 1489, in handle_request
Apr 25 09:13:31 xx python[26934]: return await self.full_dispatch_request(request_context)
Apr 25 09:13:31 xx python[26934]: File "/opt/tcs/venv/lib/python3.9/site-packages/quart/app.py", line 1514, in full_dispatch_request
Apr 25 09:13:31 xx python[26934]: result = await self.handle_user_exception(error)
Apr 25 09:13:31 xx python[26934]: File "/opt/tcs/venv/lib/python3.9/site-packages/quart/app.py", line 964, in handle_user_exception
Apr 25 09:13:31 xx python[26934]: raise error
Apr 25 09:13:31 xx python[26934]: File "/opt/tcs/venv/lib/python3.9/site-packages/quart/app.py", line 1512, in full_dispatch_request
Apr 25 09:13:31 xx python[26934]: result = await self.dispatch_request(request_context)
Apr 25 09:13:31 xx python[26934]: File "/opt/tcs/venv/lib/python3.9/site-packages/quart/app.py", line 1557, in dispatch_request
Apr 25 09:13:31 xx python[26934]: return await self.ensure_async(handler)(**request_.view_args)
Apr 25 09:13:31 xx python[26934]: File "/opt/tcs/monitor-exporter/monitor_exporter/proxy.py", line 49, in get_metrics
Apr 25 09:13:31 xx python[26934]: await asyncio.get_event_loop().create_task(monitor_data.get_perfdata())
Apr 25 09:13:31 xx python[26934]: File "/opt/tcs/monitor-exporter/monitor_exporter/perfdata.py", line 146, in get_perfdata
Apr 25 09:13:31 xx python[26934]: normilized_value, prometheus_key_with_labels = self.create_metric(check_command, labels,
Apr 25 09:13:31 xx python[26934]: File "/opt/tcs/monitor-exporter/monitor_exporter/perfdata.py", line 171, in create_metric
Apr 25 09:13:31 xx python[26934]: perf_unit, perf_value, perf_warn, perf_crit = Perfdata.get_perfdata_value_unit(perf_data_value)
Apr 25 09:13:31 xx python[26934]: File "/opt/tcs/monitor-exporter/monitor_exporter/perfdata.py", line 205, in get_perfdata_value_unit
Apr 25 09:13:31 xx python[26934]: perf_crit = value['warn']
Apr 25 09:13:31 xx python[26934]: KeyError: 'warn'