ClickHouse / ClickHouse/ClickHouse

gRPC to support user-agent header

Open
#45,044 0 comments 0 reactions 0 assignees View on GitHub
comp-protocols external feature
Dominant language
C++
Stars
49.9k
Forks
9k
Avg merge
21h 32m
Merged PRs (30d)
515

Description

Can we support user-agent header in gRPC like in http/https? The idea is to log user-agent in system.query_log.http_user_agent.

With ClickHouse/clickhouse-jdbc#1182, when JDBC driver uses http protocol, something like `ClickHouse-JdbcDriver/0.4.0-SNAPSHOT (Mac OS X/13.1; OpenJDK 64-Bit Server VM/Temurin-17+35; Apache-HttpClient/5.2.1; rv:f00a176)` will be logged in system.query_log. It would be great if we can do the same for gRPC.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.