Azure Iothub, Total devices growing without us actually adding a device

Collin Koornstra 11 Reputation points
2020-10-07T07:46:04.713+00:00

For a IoT project we use IoTHub to connect our devices to the cloud. The last week we noticed that our device count randomly grew everynight. Its seems like a random device is connected and after 10 minutes or less it automaticly disconnects.
We're currently testing a use-case to see if IoTHub could be used in our production environment but before we make the choice we would like to know why there are random devices appearing.

30624-image.png

As you can see in this image our total devices started spiking everynight since this weekend.

Is anyone else experiencing the same issue?

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
{count} vote

1 answer

Sort by: Most helpful
  1. António Sérgio Azevedo 7,661 Reputation points Microsoft Employee
    2020-11-13T16:26:09.567+00:00

    Update March 2021

    =============

    THIS IS NOW FIXED

    You can now start using Total Devices Count Metric again.

    PS: Ignore the average Aggregation in Total Devices Count metric and use Max only.

    "Average of total device count, is aggregated slightly different from Max/Min. Max/min is taken whenever there is a snapshot data point, i.e. total device count in minutely interval; whereas average is computed upon sum/count. Depending on how many data points emitted per minute interval, there will be a small variance spread across the central line. Upon observing the wavy spike below, it is completely normal and should be tolerated."

    Update November 2020

    =============

    Hello,
    We have confirmed this is a bug and is currently being fixed. Please check the Root Cause Analysis and mark this as answer or let us know any concerns you may have while this is being fixed:

    Root cause: We have identified a bug in service emitting a metric for total device count twice within a minute, resulting higher number of devices (than customer actually has) to shown in Total Device Count tile of the IoT Hub dashboard.
    Mitigation: As a workaround, please use 'IoT Hub Usage' tile instead of 'Total Device Count'
    Next Steps: We are working on fixing the concurrency issue with the tasks that update the 'totalDeviceCount' metric.

    Thank you so much for your time @Collin Koornstra @Sander van de Velde

    Remember:

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.
    1 person found this answer helpful.