Defined Type: thanos::tracing

Defined in:
modules/thanos/manifests/tracing.pp

Overview

Parameters:

  • service_name (String)
  • sampler_type (Thanos::Tracing::Sampler)
  • ensure (Wmflib::Ensure) (defaults to: present)
  • sampler_param (Optional[String]) (defaults to: undef)
  • file_path (Stdlib::Unixpath) (defaults to: $title)


12
13
14
15
16
17
18
19
20
21
22
23
# File 'modules/thanos/manifests/tracing.pp', line 12

define thanos::tracing (
  String $service_name,
  Thanos::Tracing::Sampler $sampler_type,
  Wmflib::Ensure $ensure = present,
  Optional[String] $sampler_param = undef,
  Stdlib::Unixpath $file_path = $title,
) {
    file { $file_path:
        ensure  => present,
        content => template('thanos/tracing-config.yaml.erb'),
    }
}