prometheus_system_exporter

command module
v0.0.0-...-9e5a61b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

README

Prometheus System Exporter

Enabling specific stats

Before running the program you should check the settings.ini file located at /etc/prometheus_system_exporter/settings.ini Enable any non default stats you would like to have exported to prometheus Disable any collectors you don't want by specifying the value as false or by commenting out the line with a # at the beginning of the line

Source settings

By default the source port is 9091, this needs to be specified in the source in your graphing app such as Grafana and can also be updated in the settings file

Installation

the exporter WILL BE registered as a service but prometheus need to also be running and you need to modify your /etc/prometheus/prometheus.yml file for prometheus to export your custom stats you should add a target in your jobs section specifying the port number indicated in your /etc/prometheus_system_exporter/settings.ini file, if you have not changed the default port then this will be 9091. an example of the section in the prometheus.yml file is below.

  • job_name: node

    If prometheus-node-exporter is installed, grab stats about the local

    machine by default.

    static_configs: - targets: ['localhost:9100','localhost:9091']

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL