prometheus-uyuni_sd

command module
v0.0.0-...-ac57835 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Prometheus SUSE Manager/Uyuni Service Discovery

This tool connects to SUSE Manager servers and generates Prometheus scrape target configurations, taking advantage of the file-based service discovery mechanism provided by Prometheus.

Prometheus Configuration

Please remember to adjust your prometheus.yml configuration file to use the file service discovery mechanism and point it to the output location of this tool.

Example configuration section of prometheus.yml:

- job_name: 'overwritten-default'
  file_sd_configs:
   - files: ['/data/prometheus/scrape-config/*.yml']

Notes

Added functionality to generate Prometheus target labels from the Custom System Info feature. Currently hardcoded to scrape keys prefixed with "label_".

Credits

Forked from: github.com/cavalheiro/prometheus-suma_sd

Merged code from this SUSE Prometheus Patch

Thanks SUSE for the heavy lifting!

License

This project has been released under the MIT license. Please see the LICENSE.md file for more details.

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
⌂ 换网址