emiller42 / splunk-statsd-backend

A backend plugin for Statsd to output metrics to the Splunk HTTP Event Collector (HEC)
MIT License
11 stars 2 forks source link

replace deprecated 'request' module with 'axios' #16

Closed emiller42 closed 2 years ago

emiller42 commented 2 years ago

request has been in maintenance mode since 2019, (https://github.com/request/request/issues/3142) and is long overdue for replacement here.

axios is a widely used and actively maintained HTTP client. It's install footprint is significantly smaller than request, and it meets the basic needs of this backend, making it a straightforward choice for a replacement.