## This environment serves the purpose of enabling collectd to send telemetry and notification data
## through QPID dispatch routers.

resource_registry:
  OS::TripleO::Services::Collectd: ../../deployment/metrics/collectd-container-puppet.yaml

parameter_defaults:
  CollectdConnectionType: amqp1
  CollectdAmqpInstances:
    notify:
      notify: true
      format: JSON
      presettle: false
    telemetry:
      format: JSON
      presettle: true
  BlockStorageExtraConfig:
    tripleo::profile::base::metrics::collectd::amqp_host: "hiera(hiera('block_storage_hostname_resolve_network'))"
  CephStorageExtraConfig:
    tripleo::profile::base::metrics::collectd::amqp_host: "hiera(hiera('ceph_storage_hostname_resolve_network'))"
  ObjectStorageExtraConfig:
    tripleo::profile::base::metrics::collectd::amqp_host: "hiera(hiera('object_storage_hostname_resolve_network'))"
