gRPC metadata headers
YDB uses the following gRPC metadata headers:
-
gRPC headers which a client sends to YDB:
x-ydb-database
- databasex-ydb-auth-ticket
- auth token from a credentials providerx-ydb-sdk-build-info
- YDB SDK build infox-ydb-trace-id
- user-defined request ID. If not defined by client YDB SDK generates automatically using UUID formatx-ydb-application-name
- optional user-defined application namex-ydb-client-capabilities
- supported client SDK capabilities (session-balancer
and other)x-ydb-client-pid
- client application process IDtraceparent
- OpenTelemetry trace ID (specification)
-
gRPC headers which YDB sends to client with responses:
x-ydb-server-hints
- notifications from YDB (such assession-close
and other)x-ydb-consumed-units
- consumed units on the current request