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.25k stars 622 forks source link

Make compatible Datadog using Ant Media Server #3995

Open SelimEmre opened 2 years ago

SelimEmre commented 2 years ago

There are some steps for integrating Datadog to Ant Media Server. Here are the details:

Step 1 - Install Datadog

Firstly, you need to create a Datadog account in this link. After that just go Integrations / Agent section like this URL: https://app.datadoghq.com/account/settings#agent/ubuntu. Select Ubuntu. Run installation command as below:

DD_AGENT_MAJOR_VERSION=7 DD_API_KEY=XXXXXXXXXXXXXXXXXXXX DD_SITE="datadoghq.com" bash -c "$(curl -L https://s3.amazonaws.com/dd-agent/scripts/install_script.sh)"

Check it for more details: https://docs.datadoghq.com/agent/

Step 2 - Configure Datadog settings

Enable process monitoring: Edit process_config parameter in /etc/datadog-agent/datadog.yaml

process_config:
    enabled: 'true'

Check it for more details: https://docs.datadoghq.com/infrastructure/process/?tab=linuxwindows

Enable network performance monitoring: Create system-probe.yaml file with example settings.

sudo -u dd-agent cp /etc/datadog-agent/system-probe.yaml.example /etc/datadog-agent/system-probe.yaml

Add network config parameter in /etc/datadog-agent/system-probe.yaml

network_config: 
    enabled: true

Check it for more details: https://docs.datadoghq.com/network_monitoring/performance/setup/?tab=agentlinux

Screenshot from 2022-02-26 01-17-44

Screenshot from 2022-02-26 01-18-59

SelimEmre commented 2 years ago

https://github.com/ant-media/Ant-Media-Server/wiki/Monitor-Ant-Media-Server-with-Datadog