GitHub user kim2yung added a comment to the discussion: Configuring Victoria 
Metrics db instead of H2 db

This is the application.yml looks like-

warehouse:
  store:
    # store history metrics data, enable only one below
    jpa:
      enabled: false
      # The maximum retention time for history records, after which records 
will be deleted
      expire-time: 1h
      # The maximum number of history records retained, if this number is 
exceeded, half of the data in this configuration item will be deleted
      # (please set this configuration reasonably as history records can affect 
performance when it is large)
      max-history-record-num: 6000
    victoria-metrics:
      enabled: true
      url: http://localhost:8428
      username: root
      password: root
    td-engine:
      enabled: false
      driver-class-name: com.taosdata.jdbc.rs.RestfulDriver
      url: jdbc:TAOS-RS://localhost:6041/hertzbeat




In yml, I just enabled the Victoria metrics. And disabled the Jpa, Historical 
charts not coming.

GitHub link: 
https://github.com/apache/hertzbeat/discussions/3249#discussioncomment-12848760

----
This is an automatically sent email for dev@hertzbeat.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@hertzbeat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: dev-h...@hertzbeat.apache.org

Reply via email to