Created
May 19, 2015 03:00
-
-
Save zetas/da127aae3830414d86a3 to your computer and use it in GitHub Desktop.
Icehouse Ceilometer config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################### | |
# Existing | |
################### | |
connection = mongodb://{{ db_mongo_servers }}/{{ db_name }}?readPreference=primaryPreferred&replicaSet={{ db_replset }} | |
mongodb_replica_set = {{ db_replset }} | |
connection = mongodb://{{ db_host }}:{{ db_port }}/{{ db_name }} | |
################## | |
# Proposed | |
################## | |
# db_params is sudo code and not implemented but intends to encapsulate whatever replication or additional settings are necessary | |
# regardless of the backing database type. | |
connection = {{ db_select }}://{{ db_host }}:{{ db_port }}/{{ db_name }}{{ db_params }} | |
# There is no telemetry config value for mysql replication. Either not needed or not supported. | |
{% if db_select == ‘mongodb’ && db_replset: -%} | |
mongodb_replica_set = {{ db_replset }} | |
{% endif %} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment