ArangoDB-Community / arangodb-net-standard

A consistent, comprehensive, minimal interface to enable .NET applications to use the complete range of features exposed by the ArangoDB REST API.
Apache License 2.0
77 stars 30 forks source link

Header for driver version and other info #440

Closed tjoubert closed 1 year ago

tjoubert commented 2 years ago

There is a requirement for a new header that will contain information about the driver and will be supplied with every request. The name of the header is x-arango-driver and the format of the value is driverName/version ([flags...]). flags are semicolon separated list of flags/tags. Eg. one flag could be cloud to denote that the driver is configured to use cloud-optimized behavior. For example: x-arango-driver : ArangoDBNetStandard/1.2.0 (cloud)

DiscoPYF commented 2 years ago

Thanks for the info 👍

There is a requirement for a new header that will contain information about the driver and will be supplied with every request.

What's driving the requirement/Where does it come from? Is it something ArangoDB will use for analytics on Oasis instances?

tjoubert commented 2 years ago

@DiscoPYF , this is a requirement from the API team and we are not sure what they are going to use the information for.

DiscoPYF commented 2 years ago

Copy that, thanks @tjoubert 👍