Skip to content

Instantly share code, notes, and snippets.

@rafrombrc
Last active August 29, 2015 14:06
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 rafrombrc/e627e92e5ae1619202af to your computer and use it in GitHub Desktop.
Save rafrombrc/e627e92e5ae1619202af to your computer and use it in GitHub Desktop.
[TcpInput]
address = ":8325"
[StatsToFieldsDecoder]
[scribble_statmetric]
type = "ScribbleDecoder"
[scribble_statmetric.message_fields]
Type = "heka.statmetric"
[stats_multi_decoder]
type = "MultiDecoder"
cascade_strategy = "all"
log_sub_errors = true
subs = ["StatsToFieldsDecoder", "scribble_statmetric"]
[stat_graph]
type = "SandboxFilter"
filename = "lua_filters/stat_graph.lua"
ticker_interval = 1
preserve_data = true
message_matcher = "Type == 'heka.statmetric'"
[stat_graph.config]
num_rows = 300
secs_per_row = 1
stats = "heka.SOMESTATNAME.HERE"
[RstEncoder]
[LogOutput]
message_matcher = "TRUE"
encoder = "RstEncoder"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment