Skip to content

EXPRESSCLUSTER/clp_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

clp_exporter

  • This is sample exporter for EXPRESSCLUSTER.
  • This exporter can get the following data.
    • Performance data of each mirror disk resource
    • Elapse time of each monitor resource

How to Build

  1. Clone this repository.
    git clone https://github.com/EXPRESSCLUSTER/clp_exporter.git
  2. Move to src directory.
    cd clp_exporter/src
  3. Initialize and build clp_exporter.
    go mod init clp_exporter
    go mod tidy
    go build

How to Use

+---------------------+
| Ubuntu Server 24.04 |
| Prometheus          |
+-+-------------------+
  |
  |  +----------------------------------+
  |  | Node 1                           |
  |  | - AlmaLinux 9.6                  |
  +--+ - EXPRESSCLUSTER X for Linux 5.3 |
  |  | - clp_exporter                   |
  |  +----------------------------------+
  |
  |  +----------------------------------+
  |  | Node 2                           |
  |  | - AlmaLinux 9.6                  |
  +--+ - EXPRESSCLUSTER X for Linux 5.3 |
     | - clp_exporter                   |
     +----------------------------------+

  1. Install Prometheus.
  2. Install EXPRESSCLUSTER and create a cluster.
  3. Save clp_exporter on both Node 1 and 2.
  4. Run clp_exporter.
    ./clp_exporter
  5. Open prometheus.yml and add IP address of Node 1 and 2 as below.
    vim /etc/prometheus/prometheus.yml
      - job_name: clp
        static_configs:
          - targets: ['192.168.122.11:29090']
            labels:
              name: node1
          - targets: ['192.168.122.12:29090']
            labels:
              name: node2
    
  6. Open web browser and access to Prometheus.
    http://<IP address>:9090
  7. Add the metrics of EXPRESSCLUSTER.
    • clp_mirror_<mirror disk resource name>_<performance data>
    • clp_monitor_<monitor resoruce name>

About

Sample exporter for EXPRESSCLUSTER

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages