Absolutely, you can use DataDog with LiveKit! The way you integrate them varies a bit depending on whether you're using LiveKit Cloud or a self-hosted setup:
•
LiveKit Cloud: There's a handy native integration that lets you forward agent runtime logs to DataDog simply by setting a client token through the LiveKit CLI.
•
Self-Hosted LiveKit: While there isn't a direct integration for backend logs here, no worries—you can still forward logs to DataDog using external tools like Fluentd or the DataDog Agent from your LiveKit server.
•
Client-Side Logging: This is supported for web or mobile apps using the DataDog browser SDK, and it works great with both LiveKit Cloud and self-hosted servers.
To make sure I guide you in the best way possible, could you share a bit more? Are you aiming to monitor server logs, AI agent logs, or client application logs? Also, are your LiveKit agents running on a self-hosted runner?
Sources:
Log collection | LiveKit Docs |
Log collection | LiveKit Docs |
LiveKit |
.env.example