Legacy Dev Forum Posts

 View Only

Sign Up

v2.telephony.providers.edges.trunks.{trunkId}.metrics emits messages even when there are no changes

  • 1.  v2.telephony.providers.edges.trunks.{trunkId}.metrics emits messages even when there are no changes

    Posted 06-05-2025 18:19

    draeder | 2021-04-09 18:46:39 UTC | #1

    I'm getting trunk metrics with the Notifications subscriptions. I've noticed that all trunks that I'm subscribed to will occasionally send messages at virtually the same time, despite nothing having changed in the new trunk metrics when compared to the old.

    Is this expected behavior?

    Thanks, Dan


    draeder | 2021-04-10 23:45:08 UTC | #2

    I think I found my issue -- Inadvertently, I was starting multiple websockets connections. So, the Notifications API was sending me upwards of 10 notifications at a time for each trunk I was subscribed to. Reworking how I connect to websockets will correct this.


    system | 2021-05-11 23:45:11 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 10577