Skip to content

Instantly share code, notes, and snippets.

@matschaffer
Last active August 29, 2015 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matschaffer/71fb91e6390d3928d8e2 to your computer and use it in GitHub Desktop.
Save matschaffer/71fb91e6390d3928d8e2 to your computer and use it in GitHub Desktop.
mats-guess.toml
[hekad]
maxprocs = 2
[statsd_input]
type = "StatsdInput"
stat_accum_name = "stat_accumulator"
address = ":8125"
[stat_accumulator]
type = "StatAccumInput"
ticker_interval = 30
emit_in_fields = true
[stat_graph]
type = "SandboxFilter"
filename = "lua_filters/stat_graph.lua"
ticker_interval = 30
preserve_data = true
message_matcher = "Type == 'heka.statmetric'"
[stat_graph.config]
num_rows = 300
secs_per_row = 1
stats = "stats.counters.000000.count stats.counters.000001.count stats.counters.000002.count"
stat_labels = "counter_0 counter_1 counter_2"
preservation_version = 0
[DashboardOutput]
ticker_interval = 30
[statmetric_influx_encoder]
type = "SandboxEncoder"
filename = "lua_encoders/statmetric_influx.lua"
[influx]
type = "HttpOutput"
message_matcher = "Type == 'heka.statmetric' && Field[foo] == 'something'"
address = "http://127.0.0.1:8086/db/testdatabase/series"
encoder = "statmetric_influx_encoder"
username = "testdatabaseuser"
password = "-my password-"
[influx2]
type = "HttpOutput"
message_matcher = "Type == 'heka.statmetric' && Field[foo] == 'somethingelse'"
address = "http://127.0.0.1:8086/db/testdatabase2/series"
encoder = "statmetric_influx_encoder"
username = "testdatabaseuser"
password = "-my password-"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment