Hi, Is the following a known issue: "opentelemetry...
# support
u
Hi, Is the following a known issue: "opentelemetry.sdk.metrics._internal.instrument", "funcName": "callback", "lineno": 139, "message": "Callback failed for instrument system.swap.utilization.", "exc_info": "Traceback (most recent call last):\n File \"/usr/local/lib/python3.10/site-packages/opentelemetry/sdk/metrics/_internal/instrument.py\", line 132, in callback\n for api_measurement in callback(callback_options):\n File \"/usr/local/lib/python3.10/site-packages/opentelemetry/instrumentation/system_metrics/__init__.py\", line 423, in _get_system_swap_utilization\n getattr(system_swap, metric) / system_swap.total,\nZeroDivisionError: division by zero
s
This was fixed in recent release. Please try upgrading to v0.34b0 https://github.com/open-telemetry/opentelemetry-python-contrib/releases/tag/v0.34b0 This is fixed and will be part of 0.35b0 release.
u
@Srikanth Chekuri do we know when it will be available? Right now, we don't see any metrics going to signoz
s
It comes from upstream repo which follows monthly release https://github.com/open-telemetry/opentelemetry-python-contrib#releasing so maybe in another two weeks. But this error doesn’t stop sending other metrics from being exporter to SigNoz. You should be able to send other metrics to SigNoz irrespective it.