- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
When you have Datadog App Builder apps embedded in your dashboards, you can take direct actions on your resources, and all of the relevant data and context is immediately available. Link your app with the dashboard’s time frame and template variables to dynamically set the scope of the app’s actions, which allows you to carry out actions in your environment at any needed scope.
Add a previously published app to your dashboard by dragging the App widget type out of the dashboard’s widget tray:
The App Editor modal appears, allowing you to select an app and provide it with a title:
You can link your app to template variables anywhere that supports template expressions in your queries or app elements. You can also link your app to the time frame that is selected on your dashboard.
When you change the value of a template variable or time frame on the dashboard, the linked app elements update automatically. For example, when you select an instance_id
value using the template variable dropdown or directly from a graph, the instance_id
value is added to the app’s filter. This allows you to perform actions on that specific instance:
To populate a select component with a list of all available template variables, add the following template expression to your select component’s Options field:
${global?.dashboard?.templateVariables?.map(tvar => tvar.name )}
To list all of the available values of a specific template variable, use the following template expression:
${global?.dashboard?.templateVariables?.find(v => v.name === '<TEMPLATE_VARIABLE_NAME>')?.availableValues}
To get the selected value of a template variable, use the following template expressions:
${global?.dashboard?.templateVariables?.find(v => v.name === '<TEMPLATE_VARIABLE_NAME>')?.value}
${global?.dashboard?.templateVariables?.find(v => v.name === '<TEMPLATE_VARIABLE_NAME>')?.values}
To get the time frame start value, use the following template expressions:
${global?.dashboard?.timeframe?.start}
${new Date(global?.dashboard?.timeframe?.start).toLocaleString()}
To get the time frame end value, use the following template expressions:
${global?.dashboard?.timeframe?.end}
${new Date(global?.dashboard?.timeframe?.end).toLocaleString()}
To add a button that sets the value of a date range picker component to the dashboard’s time frame, perform the following steps:
${global?.dashboard?.timeframe}
추가 유용한 문서, 링크 및 기사:
Do you have questions or feedback? Join the #app-builder channel on the Datadog Community Slack.