tomochain icon indicating copy to clipboard operation
tomochain copied to clipboard

Add and apply InfluxDB related flags

Open trinhdn2 opened this issue 1 year ago • 0 comments

Prerequisite

  • [ ] https://github.com/BuildOnViction/tomochain/pull/428

Changelog

  • [X] Add standalone metrics HTTP server listening, apart from the previous pprof endpoint: --metrics.addr. --metrics.port
  • [X] Add configurable InfluxDB connection flags:
    • General: --metrics.influxdb.endpoint, --metrics.influxdb.tags
    • V1 only: --metrics.influxdb, --metrics.influxdb.database, --metrics.influxdb.username, --metrics.influxdb.password,
    • V2 only: --metrics.influxdbv2, --metrics.influxdb.token, --metrics.influxdb.bucket, --metrics.influxdb.organization

trinhdn2 avatar Feb 01 '24 08:02 trinhdn2