cookbook 'prometheus', '~> 1.0.0'
prometheus (8) Versions 1.0.0 Follow8
Provides custom resources for installing and configuring Prometheus and Alertmanager
cookbook 'prometheus', '~> 1.0.0', :supermarket
knife supermarket install prometheus
knife supermarket download prometheus
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](LIMITATIONS.md)
See [LIMITATIONS.md](LIMITATIONS.md) for upstream platform and installation constraints.
Resources
- [prometheus_install](documentation/prometheus_install.md)
- [prometheus_config](documentation/prometheus_config.md)
- [prometheus_service](documentation/prometheus_service.md)
- [prometheus_job](documentation/prometheus_job.md)
- [prometheus_alertmanager_install](documentation/prometheus_alertmanager_install.md)
- [prometheus_alertmanager_config](documentation/prometheus_alertmanager_config.md)
- [prometheus_alertmanager_service](documentation/prometheus_alertmanager_service.md)
See [migration.md](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
- 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.
Dependent cookbooks
| ark >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Change Log
All notable changes to this project will be documented in this file.
1.0.0 (2026-04-29)
⚠ BREAKING CHANGES
- migrate prometheus resources (#36)
Features
Bug Fixes
0.7.6 (2025-10-16)
Bug Fixes
0.7.2 - 2022-02-08
- Remove delivery folder
Standardise files with files in sous-chefs/repo-management
0.7.1 - 2021-06-01
- resolved cookstyle error: Thorfile:1:1 convention:
Style/Encoding - resolved cookstyle error: test/shared/spec_helper.rb:6:10 convention:
Style/ExpandPathArguments
0.7.1 - 2021-06-01
Changed
- Updated attributes and templates for Prometheus 0.15 release.
Added
- Added upstart init for ubuntu platform.
0.5.1 - 2015-03-25
Changed
- Updated documentation.
0.5.0 - 2015-03-25
Added
- Added systemd init for redhat platform family version 7 or greater.
- Default init style per platform.
- Install Prometheus via pre-compiled binary.
- Added the prometheus_job resource for defining Prometheus scraping jobs.
- Attribute flag to externally manage prometheus.conf file.
Changed
- Removed flags that were deprecated in the prometheus 0.12.0 release.
Contributors for this release
- Eric Richardson - External jobs config and prometheus job resource.
Thank You!
0.4.0 - 2015-03-12
Fixed
- Fix init template path bug on chef 11.x.
0.3.0 - 2015-03-11
Fixed
- Fixed cookbook badge in README
0.2.0 - 2015-03-11
Fixed
- License defined in metadata.
0.1.0 - 2015-03-11
Changed
- Initial release of prometheus cookbook
Collaborator Number Metric
1.0.0 passed this metric
Contributing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Cookstyle Metric
1.0.0 passed this metric
No Binaries Metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 passed this metric
1.0.0 passed this metric
Testing File Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.0 failed this metric
1.0.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number