trinodb/trino

Feature Request: Add Support for Customizable User-Agent Suffix in Object Storage File Systems (S3/GCS/Azure)

kennyhsieh1111 opened this issue · 2 comments

Feature Request

  • Add support for customizable User-Agent Suffix configuration for Trino S3/GCS/Azure object storage file system

Objective
In production environments with multiple Trino clusters, distinguishing which cluster is making requests to object storage services can be crucial for monitoring and debugging. By supporting a configurable User-Agent suffix, Trino could enable administrators to identify the specific cluster responsible for requests in S3 Access Logs, GCS Usage Logs, or Azure Storage Analytics logs.

Example: Google Cloud Storage (GCS)

  • Trino utilizes the gcs-connector jar, which supports the fs.gs.application.name.suffix property. This property appends a custom suffix to the HTTP User-Agent header for all Cloud Storage requests, providing cluster-level identification. (Reference Documentation)

Will be part of the 467 release.

Thanks wendigo appreciate your support 🙏