All Downloads are FREE. Search and download functionalities are using the official Maven repository.

form.node.1.5.8.source-code.node-kamon.conf Maven / Gradle / Ivy

The newest version!
# Performance metrics
kamon = {
  # Set to "yes", if you want to report metrics
  enable = no

  # A node identification
  environment {
    service = "waves-node"

    # An unique id of your node to distinguish it from others
    # host = ""
  }

  metric {
    # An interval within metrics are aggregated. After it, them will be sent to the server
    tick-interval = 10 seconds

    instrument-factory.default-settings.histogram {
      lowest-discernible-value = 100000 # 100 microseconds
      highest-trackable-value = 2000000000000 # 200 seconds
      significant-value-digits = 0
    }
  }

  # Reporter settings
  influxdb {
    hostname = "127.0.0.1"
    port = 8086
    database = "mydb"

    # authentication {
    #   user = ""
    #   password = ""
    # }
  }

  modules {
    influxdb-span-reporter {
      enabled = yes
      name = "InfluxDB span reporter"
      description = "InfluxDB span reporter"
      factory = "com.wavesplatform.metrics.InfluxDBSpanReporterFactory"
    }

    http-request-span-reporter {
      enabled = yes
      name = "HTTP request span logger"
      description = "HTTP request span logger"
      factory = "com.wavesplatform.metrics.HttpSpanLoggerFactory"
    }
  }
} ${?waves.kamon}

# Non-aggregated data (information about blocks, transactions, ...)
metrics = {
  enable = ${kamon.enable}
  node-id = -1 # ${kamon.environment.host}

  // Blockchain responsiveness special metrics
  collect-responsiveness-metrics = off
  create-responsiveness-csv = off
  responsiveness-metrics-retention-policy = ""

  influx-db {
    uri = "http://"${kamon.influxdb.hostname}":"${kamon.influxdb.port}
    db = ${kamon.influxdb.database}
    retention-policy = ""

    username = ${?kamon.influxdb.authentication.user}
    password = ${?kamon.influxdb.authentication.password}

    batch-actions = 100
    batch-flash-duration = 5s
  }
} ${?waves.metrics}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy