- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
UI Extensions enable developers to extend the native functionality of Datadog through custom dashboard widgets. For example, if there is a data visualization you want that Datadog does not support, or a common remediation workflow you execute in a third-party platform, you could write a UI Extension to extend this functionality within Datadog.
Create a Datadog app for your UI Extension:
yarn create @datadog/app
Navigate to the folder you have created:
cd starter-kit
Set up your development environment:
yarn start
This starts your local development server on http://localhost:3000/
.
If you see the following message, your application is running:
Note that there are two pages:
http://localhost:3000
: A main controller that orchestrates all of your different extensions (such as widgets, menus, or modals). It will come in handy as you enrich app functionality.http://localhost:3000/widget
: Components for widgets, modals, or anything that needs a dedicated display.See the Developer Platform Developer Guide for details about this architecture.
Navigate to Integrations > Developer Platform and click + New App.
Enter a unique name for your application.
Optionally, once you’re presented with the dashboard for your new application, you can change the app name, give the app a more detailed description, or change its icon.
Before you can add your app to a dashboard, you must enable it by clicking on UI Extensions.
Once this view loads, click on the Enable UI Extensions button.
Once you’re presented with more options for your app, change the Root URL and Debug Mode Root URL to match the localhost
version of the widget you’re running. The main controller path is /widget
. These URL values will change as you build your application and begin to host it on your own infrastructure.
Turn the toggle to Dashboard Custom Widget on. This generates JSON for the app.
In this example, the JSON output contains a value called Your first widget
. This is the name of your widget as it appears in the menu to add to your Dashboards.
Navigate to your dashboard and add a widget.
The Custom Widgets section is at the bottom of the sidebar. Find your widget in the list and add it to your dashboard.
A preview of your new widget appears, along with some options. Scroll down and click Done to add it to your dashboard.
To build your application, run yarn build
in your terminal. Then, move your static generated site to the hosting platform of your choice and update the URLs in the app settings.
When OAuth API Access is enabled, users need to be authenticated before using the app. This feature allows you to integrate your existing authentication mechanism (for example, cookie-based username and password login) with the Developer Platform.