Correlation ID 정책 구성 참조
Correlation ID 정책 구성 참조 (Correlation ID Policy Configuration Reference)
이 문서는 Correlation ID 정책에서 설정할 수 있는 항목을 정리해 둔 구성 참조 자료예요. Correlation ID는 요청 하나하나에 고유한 ID를 붙여서, 여러 서비스를 거치는 동안 요청 흐름을 추적하기 쉽게 해 주는 기능이에요. 어떤 헤더에 ID를 담을지(header_name), 어떤 방식으로 생성할지(generator), 이 헤더를 클라이언트에게 다시 돌려줄지(echo_downstream) 같은 설정과 기본값을 여기에서 확인할 수 있어요
출처: 문서
본문
{
"properties": {
"config": {
"type": "object",
"properties": {
"header_name": {
"type": "string",
"description": "The HTTP header name to use for the correlation ID.",
"default": "Kong-Request-ID"
},
"generator": {
"type": "string",
"enum": [
"tracker",
"uuid",
"uuid#counter"
],
"description": "The generator to use for the correlation ID. Accepted values are `uuid`, `uuid#counter`, and `tracker`. See [Generators](#generators).",
"default": "uuid#counter"
},
"echo_downstream": {
"type": "boolean",
"description": "Whether to echo the header back to downstream (the client).",
"default": false
}
}
}
}
}
더 알아보기 (Learn more)
이 문서에는 원문에서 추출한 별도의 관련 문서 링크가 없어요.