Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1022 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 1022 Bytes

Metrics Exporter

Collect and push various metrics for sqlalarm

Metrics Exporter is for various metrics such as node metrics, JVM metrics, etc, written in scala with pluggable metric collectors.

Extended Support

You can customize the implementation of various metrics-exporter, only need to implement the trait Exporter:

trait Exporter extends TimingJob {

  def collect() : Metrics

}

Scheduling Support

The system will automatically schedule your exporter based on your configuration, for example:

quartz-job:
  - name:  NodeExporter
    class: tech.sqlclub.metrics.exporter.node.NodeExporter
    cron: 0/10 * * * * ?
  ...

The above example will create a scheduled job which collecting machine metrics every 10s.

About

This is an active open-source project. We are always open to people who want to use the system or contribute to it. Welcome everyone to pay attention and commit contributions.