Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/manifests/swh/deploy/webapp.pp
Show First 20 Lines • Show All 276 Lines • ▼ Show 20 Lines | profile::prometheus::export_scrape_config {"swh-webapp_${fqdn}": | ||||
job => "swh-webapp", | job => "swh-webapp", | ||||
target => "${vhost_name}:443", | target => "${vhost_name}:443", | ||||
scheme => "https", | scheme => "https", | ||||
metrics_path => '/metrics/prometheus', | metrics_path => '/metrics/prometheus', | ||||
labels => { | labels => { | ||||
vhost_name => $vhost_name, | vhost_name => $vhost_name, | ||||
}, | }, | ||||
} | } | ||||
include profile::filebeat | |||||
profile::filebeat::log_input { 'webapp-non-ssl-access': | |||||
paths => [ '/var/log/apache2/archive.softwareheritage.org_non-ssl_access.log' ], | |||||
ardumont: swh/deploy/deposit.pp could use this as well ;) | |||||
fields => { 'apache_log_type' => 'access_log' }, | |||||
} | |||||
} | } |
swh/deploy/deposit.pp could use this as well ;)