Skip to content

InfluxDB

LinShunKang edited this page Feb 4, 2022 · 8 revisions

MyPerf4J supports InfluxDB for data storage by default.

3.x

  • MyPerf4J writes metrics in LineProtocol format to the user-specified InfluxDB.

Specific steps are as follows:

  • Modify MyPerf4JPropFile
    • Configure metrics.exporter=http.influxdb
    • Configure influxdb.hostinfluxdb.portinfluxdb.database etc.
  • MyPerf4J supports both InfluxDB v1.x and v2.x:
  • Next Step

2.x and before

  • MyPerf4J writes metrics in LineProtocol format to the user-specified log file.
  • Read data from the log file via Telegraf and import it into InfluxDB.

Specific steps are as follows:

Clone this wiki locally