integrations-core icon indicating copy to clipboard operation
integrations-core copied to clipboard

Ambari metrics integration assumes that all metrics are floating point numbers, resulting in dropping of 100s of metrics

Open meyarivan opened this issue 2 years ago • 3 comments

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:

  1. Set up integration with Ambari
  2. Enable collection of metrics for component services such as HDFS and YARN
  3. 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.

meyarivan avatar Aug 13 '24 15:08 meyarivan

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!

jacjtito avatar Jun 23 '26 13:06 jacjtito

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!

dd-octo-sts avatar Oct 25 '26 22:10 dd-octo-sts

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!

dd-octo-sts avatar Nov 26 '26 16:11 dd-octo-sts