Skip to content

Should the user-agent always contain gophercloud/2.0.0 #2511

@UmBsublime

Description

@UmBsublime

Discussed in #2505

Originally posted by UmBsublime November 10, 2022
Hi,

I am parsing my openstack api logs and trying to identify what API-clients and SDKs our user-base implement to consume our services. To do this I can usually check the HTTP user-agent for the specific sdk and version being used.

When parsing for usage of gophercloud the user-agent is set statically to gophercloud/2.0.0
I am curious as to what this represents since it does not relate to the SDK version.

https://github.com/gophercloud/gophercloud/blob/master/provider_client.go#L17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions