Skip to content

don't hardcode localhost for event hostname#44

Open
itsWill wants to merge 2 commits intodiscord:masterfrom
RiverFinancial:dont_hardcode_statsd_hostname
Open

don't hardcode localhost for event hostname#44
itsWill wants to merge 2 commits intodiscord:masterfrom
RiverFinancial:dont_hardcode_statsd_hostname

Conversation

@itsWill
Copy link

@itsWill itsWill commented Feb 11, 2026

Avoids hardcoding localhost as the endpoint for events, instead uses a configurable statsd host.

@birarda I couldn't find a contributing doc but I would like to propose this change so that workloads that don't run the statsd agent in localhost can use events.

end

@doc false
def statsd_host do
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we only know our hostname at runtime, we can't have this one be a module attribute like the statsd_port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments