- Description
- Setup - The basics of getting started with chronograf
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Installs, configures and manages Chronograf, the monitoring and visualization UI of the Tick stack.
Default configuration
-
manages GPG key, repository (default:
manage_repo = true
)- default:
repo_location = https://repos.influxdata.com/
andrepo_type = 'stable'
- default:
-
manages package
-
manages directories and configuration files (referring to templates)
-
Debian:
/lib/systemd/system/chronograf.service
-
CentOS:
/etc/systemd/system/chronograf.service
-
/etc/default/chronograf
-
-
starts service "chronograf" immediately (default:
manage_service = true
) -
set up connection to influx and kapacitor upon request, also based on templates
/usr/share/chronograf/resources/
For an extensive list of requirements, see metadata.json
.
The module comes along with several configuration files (see templates). Change configuration settings in according hiera level or via hash.
-
service-defaults.erb
- following keys are supported to be added in single line mode
- host = '0.0.0.0'
- port = 8888
- tls_certificate
- token_secret
- log_level ['error','warn','info','debug']
- public_url
- generic_client_id
- generic_client_secret
- generic_auth_url
- generic_token_url
- use_id_token ['true','false']
- jwks_url
- generic_api_url
- generic_api_key
- generic_scopes
- generic_domains
- generic_name
- google_client_id
- google_client_secret
- google_domains
- following keys are supported to be added in single line mode
-
systemd.service.erb
-
With two defines setup the connection to influx and kapacitor.
Please refer to Chronograf documentation for the defaults used.
- when one of the other influxdata modules already handles GPG keys and repository
class { 'chronograf':
manage_repo => false,
}
- when chronograf shall handle GPG keys and repository
class { 'chronograf':
manage_repo => true,
}
class { 'chronograf':
manage_repo => true,
host => '127.0.0.90',
tls_certificate => 'cert-bar',
log_level => 'info',
use_id_token => 'false',
}
chronograf::connection::influx { 'MyInfluxDB':
ensure => 'present',
id => '10000',
username => 'telegraf',
password => 'metricsmetricsmetrics',
url => 'http://localhost:8086',
type => 'influx',
insecure_skip_verify => false,
default => true,
telegraf => 'telegraf',
organization => 'example_org',
}
chronograf::connection::kapacitor { 'MyKapacitor':
ensure => 'present',
id => '10010',
src_id => '10010',
url => 'http://localhost:9092',
active => true,
organization => 'example_org',
}
Please see document REFERENCE.md
.
For an extensive list of supported operating systems, see metadata.json
.
- module: kogitoapp-chronograf
- version: 1.0.0
- author: Kogito UG hello@kogito.network
- summary: Module for configuring Chronograf
- license: Apache-2.0
- source: https://github.com/kogitoapp/puppet-chronograf