Skip to content

SUSE/saptune_exporter

Repository files navigation

Saptune exporter

This is a Prometheus exporter used to enable the monitoring of saptune

The exporter run on port 9758 and it is officially registered upstream at Prometheus doc: https://github.com/prometheus/prometheus/wiki/Default-port-allocations

Table of Contents

  1. Features
  2. Installation
  3. Metrics
  4. Design

Features:

  • saptune solution metric
  • saptune notes metric
  • saptune version metric

Installation:

Other distros: clone this repo and use go build for building the binary

openSUSE

Ensure you have following repository:

https://build.opensuse.org/repositories/network:ha-clustering:sap-deployments:devel

zypper in prometheus-saptune_exporter

systemctl start prometheus-saptune_exporter

The exporters run on 9758 port, so you visit the http endpoint visualize metrics exported.

Usage:

You can run the exporter in any of the nodes you have saptune installed.

$ ./saptune_exporter 
INFO[0000] Saptune Solution collector registered        
INFO[0000] Serving metrics on port 9758                 

Design:

The following project follows convention used by implementation of other exporters like https://github.com/ClusterLabs/ha_cluster_exporter and prometheus upstream conventions.