confluentinc / ide-sidecar

Sidecar application used by Confluent for VS Code, as a local proxy for Confluent Cloud, Confluent Platform and local Kafka clusters, to help users build streaming applications.
Apache License 2.0
3 stars 3 forks source link

Set user-agent when interacting with CCloud #182

Open jlrobins opened 1 day ago

jlrobins commented 1 day ago

Would be good for sidecar to interact with CCloud using a definite APIF team-approved User-Agent value that they will know how to aggregate.

rhauch commented 23 hours ago

The Confluent for VS Code extension should include the following User-Agent header value in CCloud requests:

Confluent-for-VSCode/v0.1.2 (https://confluent.io; support@confluent.io) sidecar/v0.10.20 (linux/amd64)

or

Confluent-for-VSCode/v${EXTENSION_VERSION} (https://confluent.io; support@confluent.io) sidecar/v${SIDECAR_VERSION} (${PLATFORM}/${ARCH})

where

Changes to CCloud to recognize this agent are under way and should be in production in a few weeks, though those changes are not required and should not dictate the timing of this work.