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

Commit

Permalink
Specify statsd prefix in application code instead of heka config.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Feb 2, 2015
1 parent 4295019 commit 2403a8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Migrations
Changes
~~~~~~~

- Specify statsd prefix in application code instead of heka config.

- Fix geoip country lookup for entries without countries.

- #274: Extend monitor view to include geoip db status.
Expand Down
1 change: 0 additions & 1 deletion hekad.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ emit_in_payload = true
# For local development and verification ticker_interval is set low.
# In production you like want to stick with 60 seconds instead.
ticker_interval = 5
global_prefix = "stats.location"

[CarbonOutput]
message_matcher = "Type == 'heka.statmetric'"
Expand Down
2 changes: 1 addition & 1 deletion ichnaea/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def configure_stats(config, _client=None): # pragma: no cover
if len(parts) > 1:
port = int(parts[1])

client = PingableStatsClient(host=host, port=port)
client = PingableStatsClient(host=host, port=port, prefix='location')
return set_stats_client(client)


Expand Down

0 comments on commit 2403a8d

Please sign in to comment.