- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
",t};e.buildCustomizationMenuUi=t;function n(e){let t='
",t}function s(e){let n=e.filter.currentValue||e.filter.defaultValue,t='${e.filter.label}
`,e.filter.options.forEach(s=>{let o=s.id===n;t+=``}),t+="${e.filter.label}
`,t+=`The Wildcard widget is a powerful and flexible visualization tool in Datadog that lets you build custom visual representations using the Vega-Lite grammar.
By the end of this tutorial, you will be able to:
Rather than starting from scratch, import a request from an existing widget. Copy the query from a widget you’re interested in exploring further (such as a Top List). To get started, you can use widgets from your prebuilt dashboards.
In the query editor:
p50:trace.http.request{*} by {service}
→ p50
.At the top of the query editor:
Datadog automatically creates a visualization based on your query.
{
"response_format": "scalar",
"queries": [
{
"query": "avg:system.cpu.user{*} by {env}",
"data_source": "metrics",
"name": "query1",
"aggregator": "last"
},
{
"query": "max:system.cpu.user{*} by {env}",
"data_source": "metrics",
"name": "query2",
"aggregator": "last"
}
],
"formulas": [
{ "formula": "query1" },
{ "formula": "query2" }
],
"sort": {
"count": 15,
"order_by": [
{
"type": "formula",
"index": 0,
"order": "desc"
}
]
}
}
To add interactivity to your graph, enable context menu support.
{
"$schema": "https://vega.github.io/schema/vega-lite/v5.json",
"description": "Bar chart showing CPU usage by environment with Datadog context menu support",
"data": {
"name": "table1"
},
"mark": "bar",
"encoding": {
"x": {
"field": "env",
"type": "nominal",
"sort": "-y",
"title": "Environment"
},
"y": {
"field": "query1",
"type": "quantitative",
"title": "CPU Usage (%)"
},
"tooltip": [
{
"field": "env",
"type": "nominal"
},
{
"field": "query1",
"type": "quantitative",
"title": "CPU Usage (%)"
},
{
"field": "timestamp",
"type": "temporal",
"title": "Timestamp"
}
]
},
"params": [
{
"name": "datadogPointSelection",
"select": "point"
}
]
}
For more information, see Using Vega-Lite with Wildcard Widgets in Datadog.
Wildcard widgets support a wide range of customizations, including:
For more inspiration, see Datadog Wildcard widget examples and Vega-Lite Examples.