Forge Home

prometheus

Jetstack module to configure prometheus

14,008 downloads

6,278 latest version

4.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.5.0-alpha2 (latest)
  • 0.5.0-alpha1
  • 0.4.1
  • 0.4.1-rc1 (pre-release)
  • 0.4.0
  • 0.4.0-rc4 (pre-release)
  • 0.4.0-rc3 (pre-release)
  • 0.4.0-rc2 (pre-release)
  • 0.4.0-rc1 (pre-release)
  • 0.3.0
  • 0.3.0-rc5 (pre-release)
  • 0.3.0-rc4 (pre-release)
  • 0.2.1
  • 0.2.0
  • 0.2.0-rc5 (pre-release)
  • 0.2.0-rc3 (pre-release)
  • 0.2.0-rc2 (pre-release)
  • 0.1.2
  • 0.1.2-rc3 (pre-release)
  • 0.1.2-rc2 (pre-release)
released Aug 24th 2018

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'jetstack-prometheus', '0.5.0-alpha2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jetstack-prometheus
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jetstack-prometheus --version 0.5.0-alpha2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

jetstack/prometheus — version 0.5.0-alpha2 Aug 24th 2018

prometheus

Table of Contents

  1. Description
  2. Classes
  3. Defined Types

Description

This module is part of Tarmak and should currently be considered alpha.

Travis

Classes

prometheus

Parameters

systemd_path
  • Type: String
  • Default: '/etc/systemd/system'
namespace
  • Type: String
  • Default: 'monitoring'
role
  • Type: Optional[Enum['etcd','master','worker']]
  • Default: $::prometheus::params::role
etcd_cluster
  • Type: Any
  • Default: $::prometheus::params::etcd_cluster
etcd_k8s_main_port
  • Type: Integer[1025,65535]
  • Default: $::prometheus::params::etcd_k8s_main_port
etcd_k8s_events_port
  • Type: Integer[1025,65535]
  • Default: $::prometheus::params::etcd_k8s_events_port
etcd_overlay_port
  • Type: Integer[1024,65535]
  • Default: $::prometheus::params::etcd_overlay_port

prometheus::blackbox_exporter

Sets up a blackbox exporter to blackbox probe in-cluster services and pods

Parameters

image
  • Type: String
  • Default: 'prom/blackbox-exporter'
version
  • Type: String
  • Default: '0.12.0'
port
  • Type: Integer
  • Default: 9115
replicas
  • Type: Integer
  • Default: 2

prometheus::blackbox_exporter_etcd

exporter_# Sets up a blackbox exporter to forward etcd metrics from etcd nodes

Parameters

download_url
  • Type: String
  • Default: 'https://github.com/jetstack-experimental/blackbox_exporter/releases/download/v#VERSION#/blackbox_exporter_#VERSION#_linux_amd64'
version
  • Type: String
  • Default: '0.4.0-jetstack'
config_dir
  • Type: String
  • Default: '/etc/blackbox_exporter'
port
  • Type: Integer
  • Default: 9115

prometheus::kube_state_metrics

Parameters

image
  • Type: String
  • Default: 'gcr.io/google_containers/kube-state-metrics'
version
  • Type: String
  • Default: '1.1.0'
resizer_image
  • Type: String
  • Default: 'gcr.io/google_containers/addon-resizer'
resizer_version
  • Type: String
  • Default: '1.0'

prometheus::node_exporter

Parameters

image
  • Type: String
  • Default: 'prom/node-exporter'
version
  • Type: String
  • Default: '0.15.2'
download_url
  • Type: String
  • Default: 'https://github.com/prometheus/node_exporter/releases/download/v#VERSION#/node_exporter-#VERSION#.linux-amd64.tar.gz'
sha256sums_url
  • Type: String
  • Default: 'https://github.com/prometheus/node_exporter/releases/download/v#VERSION#/sha256sums.txt'
signature_url
  • Type: String
  • Default: 'https://releases.tarmak.io/signatures/node_exporter/#VERSION#/sha256sums.txt.asc'
port
  • Type: Any
  • Default: 9100

prometheus::params

prometheus::server

Parameters

image
  • Type: String
  • Default: 'prom/prometheus'
version
  • Type: String
  • Default: '2.2.1'
reloader_image
  • Type: String
  • Default: 'jimmidyson/configmap-reload'
reloader_version
  • Type: String
  • Default: '0.1'
retention
  • Type: String
  • Default: '720h'
port
  • Type: Integer[1025,65535]
  • Default: 9090
external_url
  • Type: String
  • Default: ''
persistent_volume
  • Type: Boolean
  • Default: false
persistent_volume_size
  • Type: Integer
  • Default: 15
kubernetes_token_file
  • Type: String
  • Default: '/var/run/secrets/kubernetes.io/serviceaccount/token'
kubernetes_ca_file
  • Type: String
  • Default: '/var/run/secrets/kubernetes.io/serviceaccount/ca.crt'

DefinedTypes

prometheus::rule

Parameters

expr
  • Type: String
summary
  • Type: String
description
  • Type: String
for
  • Type: String
  • Default: '5m'
labels
  • Type: Any
  • Default: {'severity' => 'page'}
order
  • Type: Integer
  • Default: 10

prometheus::scrape_config

Parameters

order
  • Type: Integer
config
  • Type: Any
  • Default: {}
job_name
  • Type: Any
  • Default: $title

prometheus::wget_file

Parameters

url
  • Type: String
destination_dir
  • Type: String
destination_file
  • Type: String
  • Default: ''
user
  • Type: String
  • Default: 'root'
umask
  • Type: String
  • Default: '022'