Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to enable/disable log listener connections #3

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ graphite_api_carbon_cache_query_port: 7002
graphite_api_carbon_max_cache_size: inf
graphite_api_carbon_max_updates_per_second: 500
graphite_api_carbon_max_creates_per_minute: 50
graphite_api_carbon_log_listener_connections: "False"

# Setup Graphite-Whisper
graphite_api_whisper: yes
Expand Down
6 changes: 3 additions & 3 deletions templates/carbon.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = {{ graphite_api_carbon_pickle_port }}

# Set to false to disable logging of successful connections
LOG_LISTENER_CONNECTIONS = True
LOG_LISTENER_CONNECTIONS = {{ graphite_api_carbon_log_listener_connections }}

# Per security concerns outlined in Bug #817247 the pickle receiver
# will use a more secure and slightly less efficient unpickler.
Expand Down Expand Up @@ -224,7 +224,7 @@ PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2014

# Set to false to disable logging of successful connections
LOG_LISTENER_CONNECTIONS = True
LOG_LISTENER_CONNECTIONS = {{ graphite_api_carbon_log_listener_connections }}

# Carbon-relay has several options for metric routing controlled by RELAY_METHOD
#
Expand Down Expand Up @@ -295,7 +295,7 @@ PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2024

# Set to false to disable logging of successful connections
LOG_LISTENER_CONNECTIONS = True
LOG_LISTENER_CONNECTIONS = {{ graphite_api_carbon_log_listener_connections }}

# If set true, metric received will be forwarded to DESTINATIONS in addition to
# the output of the aggregation rules. If set false the carbon-aggregator will
Expand Down