feat: add exportarr metrics
- add class to manage the exportarr service - add exportarr to each *arr application
This commit is contained in:
@@ -135,6 +135,9 @@ lookup_options:
|
||||
certbot::client::domains:
|
||||
merge:
|
||||
strategy: deep
|
||||
profiles::metrics::exportarr:
|
||||
merge:
|
||||
strategy: deep
|
||||
|
||||
facts_path: '/opt/puppetlabs/facter/facts.d'
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
hiera_include:
|
||||
- lidarr
|
||||
- profiles::nginx::ldapauth
|
||||
- profiles::metrics::exportarr
|
||||
|
||||
# manage lidarr
|
||||
lidarr::params::user: lidarr
|
||||
@@ -54,3 +55,11 @@ profiles::consul::client::node_rules:
|
||||
- resource: service
|
||||
segment: lidarr
|
||||
disposition: write
|
||||
|
||||
profiles::metrics::exportarr:
|
||||
app: 'lidarr'
|
||||
config_path: '/opt/lidarr/config.xml'
|
||||
api_key: "%{hiera('lidarr::api_key')}"
|
||||
version: '2.0.1'
|
||||
app_port: "%hiera('lidarr::params::port')"
|
||||
enable_additional_metrics: true
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
hiera_include:
|
||||
- prowlarr
|
||||
- profiles::nginx::ldapauth
|
||||
- profiles::metrics::exportarr
|
||||
|
||||
# manage prowlarr
|
||||
prowlarr::params::user: prowlarr
|
||||
@@ -54,3 +55,11 @@ profiles::consul::client::node_rules:
|
||||
- resource: service
|
||||
segment: prowlarr
|
||||
disposition: write
|
||||
|
||||
profiles::metrics::exportarr:
|
||||
app: 'prowlarr'
|
||||
config_path: '/opt/prowlarr/config.xml'
|
||||
api_key: "%{hiera('prowlarr::api_key')}"
|
||||
version: '2.0.1'
|
||||
app_port: "%hiera('prowlarr::params::port')"
|
||||
enable_additional_metrics: true
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
hiera_include:
|
||||
- radarr
|
||||
- profiles::nginx::ldapauth
|
||||
- profiles::metrics::exportarr
|
||||
|
||||
# manage radarr
|
||||
radarr::params::user: radarr
|
||||
@@ -55,3 +56,11 @@ profiles::consul::client::node_rules:
|
||||
- resource: service
|
||||
segment: radarr
|
||||
disposition: write
|
||||
|
||||
profiles::metrics::exportarr:
|
||||
app: 'radarr'
|
||||
config_path: '/opt/radarr/config.xml'
|
||||
api_key: "%{hiera('radarr::api_key')}"
|
||||
version: '2.0.1'
|
||||
app_port: "%hiera('radarr::params::port')"
|
||||
enable_additional_metrics: true
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
hiera_include:
|
||||
- readarr
|
||||
- profiles::nginx::ldapauth
|
||||
- profiles::metrics::exportarr
|
||||
|
||||
# manage readarr
|
||||
readarr::params::user: readarr
|
||||
@@ -54,3 +55,11 @@ profiles::consul::client::node_rules:
|
||||
- resource: service
|
||||
segment: readarr
|
||||
disposition: write
|
||||
|
||||
profiles::metrics::exportarr:
|
||||
app: 'readarr'
|
||||
config_path: '/opt/readarr/config.xml'
|
||||
api_key: "%{hiera('readarr::api_key')}"
|
||||
version: '2.0.1'
|
||||
app_port: "%hiera('readarr::params::port')"
|
||||
enable_additional_metrics: true
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
hiera_include:
|
||||
- sonarr
|
||||
- profiles::nginx::ldapauth
|
||||
- profiles::metrics::exportarr
|
||||
|
||||
# manage sonarr
|
||||
sonarr::params::user: sonarr
|
||||
|
||||
Reference in New Issue
Block a user