Version information
This version is compatible with:
- Puppet Enterprise 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x
- Puppet >= 6.1.0 < 8.0.0
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'attachmentgenie-tempo', '1.0.0'
Learn more about managing modules with a PuppetfileDocumentation
attachmentgenie-tempo
Deploy and configure tempo on a node.
Description
Grafana Tempo is an open source, easy-to-use and high-scale distributed tracing backend. Tempo is cost-efficient, requiring only object storage to operate, and is deeply integrated with Grafana, Prometheus, and Loki. Tempo can be used with any of the open source tracing protocols, including Jaeger, Zipkin, and OpenTelemetry.
Usage
All options and configuration can be done through interacting with the parameters on the main example class. These are now documented via Puppet Strings
You can view example usage in REFERENCE.
Reference
See REFERENCE.
Limitations
This is where you list OS compatibility, version compatibility, etc.
Development
Running tests
This project contains tests for both rspec-puppet and litmus to verify functionality. For detailed information on using these tools, please see their respective documentation.
Testing quickstart:
pdk bundle install
pdk bundle exec rake 'litmus:provision_list[puppet6]'
pdk bundle exec rake 'litmus:install_agent[puppet6]'
pdk bundle exec rake litmus:install_module
pdk bundle exec rake litmus:acceptance:parallel
pdk bundle exec rake litmus:tear_down
Reference
Table of Contents
Classes
Public Classes
tempo
: Class to install and configure tempo. Use this module to install and configure tempo.
Private Classes
tempo::config
: A short summary of the purpose of this classtempo::install
: A short summary of the purpose of this classtempo::service
: A short summary of the purpose of this class
Classes
tempo
Class to install and configure tempo.
Use this module to install and configure tempo.
Examples
Declaring the class
include ::tempo
Parameters
The following parameters are available in the tempo
class:
bin_dir
config_dir
data_dir
group
install_method
manage_service
manage_user
package_name
package_version
service_name
service_provider
service_ensure
user
version
compactor_config_hash
distributor_config_hash
ingester_config_hash
memberlist_config_hash
multitenancy_enabled
multitenancy_key
server_config_hash
storage_config_hash
query_frontend_config_hash
querier_config_hash
bin_dir
Data type: Stdlib::Absolutepath
Location of tempo binary release.
config_dir
Data type: Stdlib::Absolutepath
Location of tempo config files.
data_dir
Data type: Stdlib::Absolutepath
Location of tempo data directories.
group
Data type: String[1]
Group that owns tempo files.
install_method
Data type: Enum['archive','package']
How to install tempo.
manage_service
Data type: Boolean
Manage the tempo service.
manage_user
Data type: Boolean
Manage tempo user and group.
package_name
Data type: String[1]
Name of package to install.
package_version
Data type: String[1]
Version of tempo to install.
service_name
Data type: String[1]
Name of service to manage.
service_provider
Data type: String[1]
Init system that is used.
service_ensure
Data type: Enum['running','stopped']
The state of the service.
user
Data type: String[1]
User that owns tempo files.
version
Data type: String[1]
Version of tempo to install.
compactor_config_hash
Data type: Optional[Hash]
Compactor config hash.
Default value: undef
distributor_config_hash
Data type: Optional[Hash]
Distributor config hash.
Default value: undef
ingester_config_hash
Data type: Optional[Hash]
Ingestor config hash.
Default value: undef
memberlist_config_hash
Data type: Optional[Hash]
Memberlist config hash.
Default value: undef
multitenancy_enabled
Data type: Boolean
Enable multi tenancy
multitenancy_key
Data type: String[1]
Key name
server_config_hash
Data type: Optional[Hash]
Server config hash.
Default value: undef
storage_config_hash
Data type: Optional[Hash]
Storage config hash.
Default value: undef
query_frontend_config_hash
Data type: Optional[Hash]
Query Frontend config hash.
Default value: undef
querier_config_hash
Data type: Optional[Hash]
Querier config hash.
Default value: undef
1.0.0
- Support for 0.7.0 and 1.0.0
- Support for new config hashes
0.1.0
- Initial release
- Support for Tempo 0.5.0
- No support for jaeger based query frontend
Dependencies
- camptocamp/systemd (>= 1.1.1 < 4.0.0)
- grafana/promtail (>= 1.0.0 < 2.0.0)
- puppet/archive (>= 4.2.0 < 6.0.0)
- puppetlabs/concat (>= 6.0.0 < 8.0.0)
- puppetlabs/stdlib (>= 6.0.0 < 8.0.0)
Copyright (C) 2017 by Bram Vogelaar <bram@attachmentgenie.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.