- 필수 기능
- 시작하기
- 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 Consistent color palette is designed to assign stable, repeatable colors to tag values, making it easier to correlate data across charts over time. However, it does not track which colors are already in use within a given widget. This can result in duplicate colors appearing in a single graph, especially when many tag values are displayed.
This guide explains why duplicate tag colors occur when using the Consistent palette and outlines options for mitigating this behavior.
The Consistent palette maps tag values to colors using a deterministic hashing algorithm. This ensures that a specific tag value always appears with the same color across all dashboards, notebooks, and timeframes. However, the palette:
Because the color mapping is fixed and the palette is limited, multiple tag values may be assigned the same color, particularly when the number of tag groups exceeds the number of available colors.
This trade-off prioritizes color consistency across time and views over uniqueness within a single widget.
This behavior is a known limitation of the Consistent palette. In dashboards with many group-by values or dynamic tags, duplicate colors can reduce visual clarity.
While you can manually override colors per series using the color override feature, this can be time-consuming to maintain, especially when:
To simplify this process, consider automating widget creation or updates through scripting instead of maintaining static JSON definitions.
{
"viz": "timeseries",
"requests": [
{
"style": {
"palette": "semantic",
"type": "solid",
"width": "normal"
},
"type": "area",
"formulas": [
{
"style": {
"palette": "classic",
"palette_index": 0
},
"alias": "ap1",
"formula": "query2"
},
{
"style": {
"palette": "classic",
"palette_index": 4
},
"alias": "eu1",
"formula": "query1"
},
{
"style": {
"palette": "green",
"palette_index": 3
},
"alias": "us1",
"formula": "query3"
},
{
"style": {
"palette": "warm",
"palette_index": 3
},
"alias": "us3",
"formula": "query4"
},
{
"style": {
"palette": "purple",
"palette_index": 5
},
"alias": "us5",
"formula": "query5"
}
],
"queries": [
{
"query": "sum:process.reporting_processes.total{app:process-resolver ,datacenter:ap1.prod.dog}.fill(last).rollup(max).weighted()",
"data_source": "metrics",
"name": "query2"
},
{
"query": "sum:process.reporting_processes.total{app:process-resolver ,datacenter:eu1.prod.dog}.fill(last).rollup(max).weighted()",
"data_source": "metrics",
"name": "query1"
},
{
"query": "sum:process.reporting_processes.total{app:process-resolver ,datacenter:us1.prod.dog}.fill(last).rollup(max).weighted()",
"data_source": "metrics",
"name": "query3"
},
{
"query": "sum:process.reporting_processes.total{app:process-resolver ,datacenter:us3.prod.dog}.fill(last).rollup(max).weighted()",
"data_source": "metrics",
"name": "query4"
},
{
"query": "sum:process.reporting_processes.total{app:process-resolver ,datacenter:us5.prod.dog}.fill(last).rollup(max).weighted()",
"data_source": "metrics",
"name": "query5"
}
],
"response_format": "timeseries"
}
],
"yaxis": {
"include_zero": true,
"scale": "linear",
"label": "",
"min": "auto",
"max": "auto"
},
"markers": []
}
Use color overrides for small, stable group sets
If your graph displays a small and relatively fixed number of tag values (fewer than 15), such as datacenters or regions, you can assign a unique color to each series using the color override feature. For more details, see Color overrides.
Use a higher-cardinality palette for larger datasets
For graphs with many tag values, switch to a palette like Datadog16
, which includes more distinct colors and reduces the likelihood of duplication.