Code Monkey home page Code Monkey logo

Comments (6)

nikitapitliya avatar nikitapitliya commented on August 17, 2024

Hi @Ilheu - If your pipeline uses an IoT Hub message sink, then Ava module will send high volume of events to the Azure IoT Hub linked to your edge device.

There are 3 potential ways to reduce the number of messages:
1- Remove IoT Hub message sink node from your pipeline (Customizing a pipeline might be complicated, so start with one of the existing pipelines without IoT Hub sink. Example: Use CVR )
2- Change routing events in avaedge module twin properties (or deployment manifest)
3- Change LogLevel and LogCategories in module twin properties

Can you share which quick start or tutorial you are following and what is the specific use case you want to test?

from video-analyzer.

Ilheu avatar Ilheu commented on August 17, 2024

I'm using IoT Hub message sink, but I thought I only was sending messages to Iot edge locally.

  1. I want to send information to other modules, I don't want to send video to cloud.
  2. I am not using "INTO $upstream" in routing

I was trying to implement this tutorial: https://docs.microsoft.com/en-us/azure/azure-video-analyzer/video-analyzer-docs/use-intel-openvino-tutorial

from video-analyzer.

nikitapitliya avatar nikitapitliya commented on August 17, 2024

Thanks for sharing the details @Ilheu .

What IDE are you using to run the tutorial? If using Visual Studio Code, can you do a quick check on Terminal -> Output under Azure IoT Hub if any messages with label [IoTHubMonitor] appear? This should not happen if you have not used routing INTO upstream.

Although you have disabled telemetry message routing INTO $upstream, you will still see some configuration and platform metrics flowing through IoT Hub. In your IoT Hub portal, look at Monitoring -> Metrics and filter metrics such as

  • Successful direct method invocations
  • Successful twin queries
  • Successful twin reads from back end
  • Successful twin updates from devices

You can find all platform and telemetry related metrics exchanged between an edge device and IoT Hub here.
Refer this doc to learn how IoT Hub charges different operations for its edge devices.

from video-analyzer.

Ilheu avatar Ilheu commented on August 17, 2024

Thank you for the quick support, I don't see anything strange that can be wasting so many messages. This is a screenshot from my Hub with the metrics that you ask.
image
And this is a screenshot of the same chart with the "Total number of messages used (Max)" metric. I think there are too many messages compared to the rest of the metrics.
image

from video-analyzer.

nikitapitliya avatar nikitapitliya commented on August 17, 2024

Hi @Ilheu, can you share your logs by following these instructions to [email protected].

from video-analyzer.

naiteeks avatar naiteeks commented on August 17, 2024

closing this due to inactivity. @Ilheu - please feel free to open the bug, if needed.

from video-analyzer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.