- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Supported OS
Get metrics from Google Chrome Lighthouse in real time to:
The Lighthouse check is not included in the Datadog Agent package, so you need to install it.
For Agent v7.21+ / v6.21+, follow the instructions below to install the Lighthouse check on your host. See Use Community Integrations to install with the Docker Agent or earlier versions of the Agent.
Run the following command to install the Agent integration:
datadog-agent integration install -t datadog-lighthouse==<INTEGRATION_VERSION>
Configure your integration similar to core integrations.
Edit the lighthouse.d/conf.yaml
file in the conf.d/
folder at the root of your Agent’s configuration directory to start collecting your Lighthouse metrics.
See the sample lighthouse.d/conf.yaml for all available configuration options.
Node.js LTS (8.9+).
node -v
npm -v
# example
root@hostname:~# npm list -g --depth=0 | grep 'lighthouse'
|_ lighthouse@5.6.0
npm install -g lighthouse
Either Google Chrome/Chromium or Puppeteer.
sudo apt-get update
sudo apt-get install -y chromium-browser
sudo yum install -y epel-release
sudo yum install -y chromium
Note: This integration runs Chrome/Chromium in headless mode. Chrome/Chromium may require kernel 4.4+ on RHEL/CentOS for the headless mode to work properly.
# example
root@hostname:~# npm list -g --depth=0 | grep 'puppeteer'
|_ puppeteer@1.12.2
npm install -g puppeteer --unsafe-perm=true
Verify if dd-agent
user is able to run the lighthouse cli.
sudo -u dd-agent lighthouse <WEB_URL> --output json --quiet --chrome-flags='--headless'
Run the Agent’s status subcommand and look for lighthouse
under the Checks section.
lighthouse.accessibility (gauge) | The google chrome lighthouse score for accessibility Shown as percent |
lighthouse.best_practices (gauge) | The google chrome lighthouse score for best_practices Shown as percent |
lighthouse.performance (gauge) | The google chrome lighthouse score for performance Shown as percent |
lighthouse.pwa (gauge) | The google chrome lighthouse score for pwa Shown as percent |
lighthouse.seo (gauge) | The google chrome lighthouse score for seo Shown as percent |
lighthouse.largest_contentful_paint (gauge) | Largest Contentful Paint marks the time at which the largest text or image is painted. Shown as millisecond |
lighthouse.first_contentful_paint (gauge) | First Contentful Paint marks the time at which the first text or image is painted. Shown as millisecond |
lighthouse.cumulative_layout_shift (gauge) | Cumulative Layout Shift measures the movement of visible elements within the viewport. Shown as unit |
lighthouse.max_potential_fid (gauge) | The maximum potential First Input Delay that your users could experience is the duration of the longest task. Shown as millisecond |
lighthouse.time_to_interactive (gauge) | Time to interactive is the amount of time it takes for the page to become fully interactive. Shown as millisecond |
lighthouse.mainthread_work_breakdown (gauge) | Consider reducing the time spent parsing compiling and executing JS. You may find delivering smaller JS payloads helps with this. Shown as millisecond |
lighthouse.unused_javascript (gauge) | Reduce unused JavaScript and defer loading scripts until they are required to decrease bytes consumed by network activity. Shown as millisecond |
lighthouse.unused_css_rules (gauge) | Reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity. Shown as millisecond |
lighthouse.modern_image_formats (gauge) | Image formats like WebP and AVIF often provide better compression than PNG or JPEG which means faster downloads and less data consumption. Shown as millisecond |
lighthouse.uses_optimized_images (gauge) | Optimized images load faster and consume less cellular data. Shown as millisecond |
lighthouse.render_blocking_resources (gauge) | Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles. Shown as millisecond |
lighthouse.bootup_time (gauge) | Consider reducing the time spent parsing compiling and executing JS. You may find delivering smaller JS payloads helps with this. Shown as millisecond |
lighthouse.server_response_time (gauge) | Keep the server response time for the main document short because all other requests depend on it. Shown as millisecond |
lighthouse.speed_index (gauge) | The number of milliseconds it takes for the contents of a page to be visibly populated. Shown as millisecond |
lighthouse.dom_size (gauge) | The current size of the DOM. A large DOM will increase memory usage cause longer style calculations and produce costly layout reflows. |
lighthouse.total_blocking_time (gauge) | Sum of all time periods between FCP and Time to Interactive when task length exceeded 50ms expressed in milliseconds. Shown as millisecond |
The Lighthouse integration does not include any events.
The Lighthouse integration does not include any service checks.
Need help? Contact Datadog support.