Skip to content

sous-chefs/prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

318 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

prometheus Cookbook

This cookbook provides custom resources for installing and configuring Prometheus and Alertmanager.

Requirements

  • Chef Infra Client 16.0 or later
  • A systemd Linux platform listed in LIMITATIONS.md

See LIMITATIONS.md for upstream platform and installation constraints.

Resources

See migration.md for migration notes from the legacy recipe and attribute interface.

Usage

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'

License & Authors

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.

Sponsor this project

Packages

 
 
 

Contributors