ethereum/trinity

Report metrics to Influx asynchronously

njgheorghita opened this issue · 0 comments

  • Trinity version: x.x.x
  • OS: osx/linux/win
  • Python version (output of python --version):
  • Environment (output of pip freeze):

What is wrong?

Currently the pyformance.reporters.InfluxReporter uses the requests module, which is synchronous, to push metrics data to InfluxDB. We want to replace this with an asynchronous request using aiohttp.

How can it be fixed

Extend pyformance.reporters.InfluxReporter to use an async call with aiohttp.