Skip to content

gRPC to support user-agent header #45044

@zhicwu

Description

@zhicwu

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-java#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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions