yandex / yandex-tank

Load and performance benchmark tool
Other
2.46k stars 280 forks source link

Support SSL and path for InfluxDB artifact uploader #842

Closed gpchelkin closed 4 years ago

gpchelkin commented 4 years ago

Added more connection options for InfluxDB artifact uploader. Should also be useful for metrics ingestion to other tools such as VictoriaMetrics (Prometheus), which have the same API as InfluxDB, but often with SSL and additional path. Sample config for VictoriaMetrics:

influx:
  enabled: true
  address: vminsert.example.com
  port: 443
  ssl: true
  verify_ssl: false
  path: '/insert/1/influx/api/v2'

Options are added according to InfluxDB-Python reference. Defaults shouldn't break existing configs.

Also added ValueError exception on Pandora collector because in Docker it seems to take some time for Pandora to expose its metrics, and there is no JSON resulting in that error.

gpchelkin commented 4 years ago

Any news?..

nnugumanov commented 4 years ago

@trueival ^^