This cookbook provides custom resources for installing and configuring Prometheus and Alertmanager.
- Chef Infra Client 16.0 or later
- A systemd Linux platform listed in LIMITATIONS.md
See LIMITATIONS.md for upstream platform and installation constraints.
- prometheus_install
- prometheus_config
- prometheus_service
- prometheus_job
- prometheus_alertmanager_install
- prometheus_alertmanager_config
- prometheus_alertmanager_service
See migration.md for migration notes from the legacy recipe and attribute interface.
prometheus_install 'prometheus'
prometheus_config 'prometheus'
prometheus_job 'prometheus' do
scrape_interval '15s'
target 'localhost:9090'
end
prometheus_service 'prometheus'Alertmanager:
prometheus_alertmanager_install 'alertmanager'
prometheus_alertmanager_config 'alertmanager'
prometheus_alertmanager_service 'alertmanager'- Author: Ray Rodriguez rayrod2030@gmail.com
- Author: kristian järvenpää kristian.jarvenpaa@gmail.com
- Maintainer: Sous Chefs
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.