DataDog / browser-sdk

Datadog Browser SDK
Apache License 2.0
305 stars 136 forks source link

Datadog Browser SDK

Collect and send browser data to Datadog.

Getting Started

Log collection

See the dedicated Datadog Browser Log Collection documentation to learn how to forward logs from your browser application to Datadog.

Real User Monitoring

See the dedicated Datadog Browser RUM Collection documentation to learn how to send RUM data from your browser application to Datadog.

npm packages

This repository contains several packages:

Package npm size
browser-logs npm version bundle size
browser-rum npm version bundle size
browser-rum-slim npm version bundle size
browser-rum-core npm version bundle size
browser-worker npm version bundle size
browser-core npm version bundle size

CDN bundles

Datadog provides one CDN bundle per site:

Site logs rum rum-slim
US1 https://www.datadoghq-browser-agent.com/us1/v5/datadog-logs.js https://www.datadoghq-browser-agent.com/us1/v5/datadog-rum.js https://www.datadoghq-browser-agent.com/us1/v5/datadog-rum-slim.js
US3 https://www.datadoghq-browser-agent.com/us3/v5/datadog-logs.js https://www.datadoghq-browser-agent.com/us3/v5/datadog-rum.js https://www.datadoghq-browser-agent.com/us3/v5/datadog-rum-slim.js
US5 https://www.datadoghq-browser-agent.com/us5/v5/datadog-logs.js https://www.datadoghq-browser-agent.com/us5/v5/datadog-rum.js https://www.datadoghq-browser-agent.com/us5/v5/datadog-rum-slim.js
EU1 https://www.datadoghq-browser-agent.com/eu1/v5/datadog-logs.js https://www.datadoghq-browser-agent.com/eu1/v5/datadog-rum.js https://www.datadoghq-browser-agent.com/eu1/v5/datadog-rum-slim.js
US1-FED https://www.datadoghq-browser-agent.com/datadog-logs-v5.js https://www.datadoghq-browser-agent.com/datadog-rum-v5.js https://www.datadoghq-browser-agent.com/datadog-rum-slim-v5.js