Commit graph

29 commits

Author SHA1 Message Date
Brian Akins 6738c909a5 Add drop action for matches 2018-01-02 17:21:50 -05:00
Matthias Rampke a794d58413
Fix incorrect --help output in README
This removes the not actually available log flags from the README. We
should really have those (#111), but at least it's less confusing this
way.

Fixes #110.
2017-11-29 14:20:24 +00:00
Brian Akins e58bf8e1ca Set name in mapping, rather than from special label with key 'name' 2017-11-13 07:23:14 -05:00
Matthias Rampke 0ac908603a Update documentation of metric name escaping.
The escaping changed in 728bdc52ae, before
0.1.0. Add a test for the escape function, and test various cases,
including those mentioned in the README.

This reveals that the README is inaccurate, adjust it to what has been
the reality for many years. Fixes #97.
2017-11-10 20:34:10 +00:00
Matthias Rampke 6c04ec1d89 Fix mapping example in the README
Strings with leading asterisks need to be escaped in YAML.

Add the same examples into the test suite to make sure they do what we
claim they do.

Fixes #102.
2017-11-10 20:19:41 +00:00
Dave Rawks ab2a88c06f Allow help text to be customized (#87)
* Updated mappings to accept custom help text in YAML config
* Updated exporter to display configured help messages
* Update README to reflect aditional configurability
* Removed inaccurate comment

* Removed some cruft from a rebase
2017-10-04 18:11:58 +02:00
Ben Kochie 9accf494a9 Merge pull request #98 from drawks/remove_legacy_mapper
Removes support for legacy mapper config
2017-09-29 10:08:08 +02:00
Dave Rawks ec3cc120e2 Resolves #84 adds support for regex mappers (#85)
* Added `regex` match_type as valid config callout in both individual mappers
    and mapper defaults
  * Added test coverage for changes
  * Updated documentation to reflect usage of `match_type` parameter and
    provide example of a raw regex match rule
2017-09-29 09:57:17 +02:00
Dave Rawks 0478c40ab0 Removes -statsd.add-suffix option flag
* Remove option flag
* Update NewExporter call signature to not take suffix boolean
* Update tests to reflect new behavior and signature
* Update documentation to reflect option flag removal
2017-09-28 11:30:17 -07:00
Dave Rawks 892b725faf Removes support for legacy mapper config
* Removed legacy mapper config parser
  * Removed logic to switch to YAML parsing based on mapping filename
  * Removed tests for legacy mapper config
  * Remove references to legacy mapper config format from `README.md`
2017-09-28 11:11:26 -07:00
Julius Volz aeab2905ad Merge pull request #66 from bakins/extended-config
Allow histograms for timer metrics
2017-08-03 17:25:30 +02:00
jwfang bbdbb9a050 update README for tcp listener, fix #75 2017-08-02 13:22:28 +08:00
Brian Akins 9bca336876 Simple YAML configuration docs 2017-08-01 07:26:44 -04:00
Jason Mooberry 5018c7415a Allow comments in mapping files 2017-05-23 18:12:17 -04:00
Johannes 'fish' Ziemke cdeb0c9743 Use promu/docker/circleci based release process 2016-05-03 23:08:02 +02:00
Johannes 'fish' Ziemke 8e43fc2654 Merge pull request #37 from prometheus/fish/remove-auto-suffixes
Make metric suffixes optional, expose unmapped events
2016-05-03 09:46:59 -07:00
Ilya Margolin 0b792e0be6 DogStatsD: review changes 2016-05-03 18:28:33 +02:00
Johannes 'fish' Ziemke f031e30721 Add flag to disable metric type suffixes 2016-05-03 01:16:34 +02:00
Mathias Methner dc0ab29c33 fix documentation for docker udp port publishing 2016-02-01 16:54:59 +01:00
Mac Browning ea7341a6c4 rename bridge -> exporter 2015-10-09 20:34:28 -04:00
Steve Durrheimer 395c1422e5 Add Docker instructions to the README 2015-07-11 13:22:06 +02:00
Julius Volz 143288bf07 Document use-case without any StatsD server.
Fixes https://github.com/prometheus/statsd_bridge/issues/15
2015-06-18 14:24:46 +02:00
Brian Brazil a054446e2f Correct example, need to specify variables like in bash.
See http://golang.org/pkg/regexp/#Regexp.Expand
2015-04-16 23:35:46 +01:00
Julius Volz 729bdfeef7 Update usage flags in README.md. 2015-03-23 13:45:29 +01:00
juliusv fe0359ec09 Update README.md 2013-07-06 00:32:52 +02:00
juliusv 9cee127f0d Wrap README.md lines 2013-07-05 23:51:30 +02:00
juliusv a3dfea3958 Update README.md 2013-07-05 23:49:05 +02:00
juliusv fc78bc553d Update README.md 2013-07-05 23:45:20 +02:00
juliusv 8614367958 Create README.md 2013-07-02 18:29:40 +02:00