Ambari metrics integration assumes that all metrics are floating point numbers, resulting in dropping of 100s of metrics
Note: If you have a feature request, you should contact support so the request can be properly tracked.
Output of the info page
Agent (v7.53.0)
....
Additional environment details (Operating System, Cloud provider, etc):
Steps to reproduce the issue:
- Set up integration with Ambari
- Enable collection of metrics for component services such as HDFS and YARN
- Check the output of "datadog-agent status" for the metrics that are being ignored
Describe the results you received:
datadog-agent status output is full of messages of the following form:
Warning: Expected a float for rpc.callQueueLen, received 0 Warning: Expected a float for rpc.SentBytes, received 10169111223 ....
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
IIUC this is the offending line : https://github.com/DataDog/integrations-core/blob/master/ambari/datadog_checks/ambari/ambari.py#L101. It could be if isinstance(value, (float, int)): instead.
Hi @meyarivan 👋
We're cleaning up our backlog as part of improving our issue management process. Can you confirm whether this issue is still valid? This will help us prioritize our efforts. Thanks!
This issue has been automatically marked as stale because it has not had activity in the past 15 days.
It will be closed in 30 days if no further activity occurs. If this issue is still relevant, adding a comment will keep it open. Also, you can always reopen the issue if you missed the window.
Thank you for your contributions!
This issue was automatically closed because it has been stale for 30 days with no activity.
If this issue is still relevant, please reopen it or create a new issue with updated information.
Thanks!