ansible-collections / logicmonitor

Repo to house LogicMonitor Collection
BSD 3-Clause "New" or "Revised" License
7 stars 12 forks source link

add a considerate User Agent header #10

Closed mikerodrigues closed 8 months ago

mikerodrigues commented 1 year ago
SUMMARY

Added a user agent as it is best practice when using an HTTP API. This will help LM debug possible customer issues with the integration.

I simply added an entry to the headers that get configured during message authentication. I considered referring to the version as a variable, but parsing the yml file with that info seemed a bit heavy of a change, compared to just updating it manually when the version is otherwise bumped.

ISSUE TYPE
COMPONENT NAME

user agent