3f037d Refactor Prometheus textfile collection

Authored and Committed by crameleon 3 weeks ago
    Refactor Prometheus textfile collection
    
    - Move existing postfix-queue-size metrics script and systemd units
      to common location
    - Implement concept of base and role specific collectors, allowing
      for easy extension for other use cases without redundant code
    
    Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
    
        
salt/profile/monitoring/prometheus/files/textfile/scripts/postfix-queue-size-metrics.sh.jinja salt/profile/postfix/files/usr/local/libexec/systemd/postfix-queue-size-metrics.sh.j2
file renamed
file was renamed with no change to the file
salt/profile/monitoring/prometheus/files/textfile/systemd/postfix-queue-size-metrics.service.jinja salt/profile/postfix/files/etc/systemd/system/postfix-queue-size-metrics.service.j2
file renamed
file was renamed with no change to the file
salt/profile/monitoring/prometheus/files/textfile/systemd/postfix-queue-size-metrics.timer.jinja salt/profile/postfix/files/etc/systemd/system/postfix-queue-size-metrics.timer.j2
file renamed
file was renamed with no change to the file
file modified
+0 -22