본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

GraphQL

원문 보기 위키 갱신

이 문서는 GraphQL을 위한 속성을 정의해요.

출처: 문서

본문

GraphQL 속성

이 문서는 GraphQL을 위한 속성을 정의해요.

속성:

Key Stability Value Type Description Example Values
graphql.document string The GraphQL document being executed. [1] query findBookById { bookById(id: ?) { name } }
graphql.operation.name string The name of the operation being executed. findBookById
graphql.operation.type string The type of the operation being executed. query; mutation; subscription

[1] graphql.document: If instrumentation can reliably identify and redact sensitive information it SHOULD do it.

graphql.operation.type 는 다음과 같은 잘 알려진 값 목록을 가져요. 그중 하나가 해당된다면 해당 값을 반드시 사용해야 하고, 그렇지 않다면 사용자 정의 값을 사용해도 돼요. | Value | Description | Stability | |---|---|---| | mutation | GraphQL mutation | | | query | GraphQL query | | | subscription | GraphQL subscription | |

더 알아보기 (Learn more)