ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.23k stars 618 forks source link

matt.m@radskunkworks.com - Feature Request - Monitoring of Live Stream #4706

Open akiziltoprak opened 1 year ago

akiziltoprak commented 1 year ago

AMS provides kafka topics for ams-instance-stats and ams-webrtc-stats. When following the guide to setup monitoring of AMS (https://resources.antmedia.io/docs/how-to-monitor-ant-media-servers#which-data-can-you-access-from-ant-media), I realized that I am required to use the AMS's REST API to get monitoring information about specific streams. This means that the current usage of Kafka with AMS enables the ability to monitor the server's health, but it doesn't not provide the ability to monitor an individual stream's health (or group).

The key reason that I need to monitor an individual streams health (or group of streams) are numbered below. In point form below I have provided context to the key reason.

  1. We want to provide insight to operations personelle about the health of a client's cameras

    • our company sends video data from security cameras to AMS, then uses webRTC to pull the video feeds into a client facing and operations facing dashboard.
    • Our operations team needs to quickly verify the health of a stream and identify problems quickly (near zero down time is one of our product offerings )
    • your docs on "how-to-monitor-ant-media-servers" is great to show the "overall health of the server", but I need "overall health of a single stream / group of streams".
  2. create automatic systems that interface between our backend software team and our front-end software team. (alerts, reboot devices that stream into AMS, reboot systems that pull from AMS, etc).

    • using grafana + logstash + elasticSearch + kafka enables dashboard with statistics and the ability to integrate alert systems
    • alert systems can now communicate with our edge devices (that have the security cameras), our backend software services (that interact with AMS), and our dashboard services (that display information from AMS and edge devices)
    • if more granular information about "the overall health of an individual stream" is present, it makes it very easy to setup automated systems via alerts to manage well known cases (e.g a client has 4 camera streams and 1 of them is bad)

End notes: I have been VERY pleased with your company's response time and how you manage feedback and feature requests. This feature request is also detailed in emails with your employee @muratugureminoglu

email subject: AMS Kafka Topics date: Thursday December 22 2022 sent from: matt.m@radskunkworks.com

Please do not hesitate to reach out via email, and I am more than happy to discuss this feature and provide insight /answer any inquiries. Thank you so much and keep up the amazing job ... I love your product!

burak-58 commented 2 weeks ago

Hi, I want to put this this issue into ice box by providing the recent updates for monitoring with New Relic and Grafana. https://antmedia.io/ant-media-server-analytics-with-new-relic/ https://antmedia.io/docs/guides/monitoring/monitoring-ams-with-grafana/