You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As users of Packet tools, API usage by these tools should be visible to Packet. We understand that this kind of information can lead to recognition and better support for specific tools. Support could come in the form of developer time on front-end or back-end aspects of the tools, addressing bugs, adding features, or improving performance.
How can packet-cli help?
All API consumers should be instrumented with an appropriate User-Agent. The UA is included in HTTP calls to the Packet API. The precise User-Agent used in each tool will differ to some degree. The expected components of a UA should include the name and version of the tool itself as well as the primary plugins and libraries contributing to the tool's operation.
This may benefit from packngo exposing the version to consumers or exposing functions like SetUserAgent or PrependUserAgent that enhances the visibility of related tools.
The text was updated successfully, but these errors were encountered:
displague
added a commit
to displague/metal-cli
that referenced
this issue
Jul 1, 2020
What problem are you facing?
As users of Packet tools, API usage by these tools should be visible to Packet. We understand that this kind of information can lead to recognition and better support for specific tools. Support could come in the form of developer time on front-end or back-end aspects of the tools, addressing bugs, adding features, or improving performance.
How can packet-cli help?
All API consumers should be instrumented with an appropriate User-Agent. The UA is included in HTTP calls to the Packet API. The precise User-Agent used in each tool will differ to some degree. The expected components of a UA should include the name and version of the tool itself as well as the primary plugins and libraries contributing to the tool's operation.
For example,
https://github.com/packethost/packet-cli/blob/master/cmd/cli.go#L29 could benefit from a
cli.Client.UserAgent
assignment. In this case, the name and version of the CLI and the name and version ofpackngo
should be included.This may benefit from packngo exposing the version to consumers or exposing functions like
SetUserAgent
orPrependUserAgent
that enhances the visibility of related tools.The text was updated successfully, but these errors were encountered: