Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Config options for AMQP1 transport in collectd sensubility
Browse files Browse the repository at this point in the history
This patch exposes configuration options for setting up collectd
sensubility to use AMQP1 transport. This is primarily for
compatability with the Service Telemetry Framework.

Change-Id: Id74eb494e022e88f0a1d5c1044d3a7a283b5178f
Depends-On: https://review.opendev.org/#/c/758482/
  • Loading branch information
pleimer committed Oct 19, 2020
1 parent 771ce6c commit 6fef2d8
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion deployment/metrics/collectd-container-puppet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,14 @@ parameters:
type: json
description: JSON formated definition of standalone checks to be scheduled on client side.
default: {}
CollectdSensubilityTransport:
type: string
description: Bus type for sent data. Options are 'sensu' (rabbitmq) and 'amqp1'
default: sensu
CollectdSensubilityResultsChannel:
type: string
description: AMQP1 channel address
default: collectd/notify
CollectdEnableContainerHealthCheck:
type: boolean
description: >
Expand All @@ -345,7 +353,7 @@ parameters:
default: true
CollectdContainerHealthCheckCommand:
type: string
default: "/scripts/collectd_check_health.py"
default: /scripts/collectd_check_health.py
CollectdContainerHealthCheckInterval:
type: number
description: The frequency in seconds the docker health check is executed.
Expand Down Expand Up @@ -652,6 +660,12 @@ outputs:
handlers: {get_param: CollectdContainerHealthCheckHandlers}
occurrences: {get_param: CollectdContainerHealthCheckOccurrences}
refresh: {get_param: CollectdContainerHealthCheckRefresh}
tripleo::profile::base::metrics::collectd::sensubility::results_channel:
get_param: CollectdSensubilityResultsChannel
tripleo::profile::base::metrics::collectd::sensubility::transport:
get_param: CollectdSensubilityTransport
tripleo::profile::base::metrics::collectd::sensubility::amqp_port:
get_param: CollectdAmqpPort
- {}
- if:
- enable_libpodstats
Expand Down

0 comments on commit 6fef2d8

Please sign in to comment.