Commit graph

10 commits

Author SHA1 Message Date
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
Tobias Schmidt
ba9c37eb20 Merge pull request #40 from Jimdo/dogstats-extensions-squashed
Dogstats extensions squashed
2016-05-03 12:42:38 -04:00
Johannes 'fish' Ziemke
3d0ccb9ed5 Count events for which no mapping was found 2016-05-03 18:39:57 +02:00
Ilya Margolin
0b792e0be6 DogStatsD: review changes 2016-05-03 18:28:33 +02:00
Daniel Bonkowski
8f36baf045 sanitize tag keys
- add tests for edge cases
 - fix typo
2016-05-03 18:27:42 +02:00
Johannes 'fish' Ziemke
f031e30721 Add flag to disable metric type suffixes 2016-05-03 01:16:34 +02:00
Julius Volz
c9baaf5ba1 Increase receivable UDP datagram size to 65535 bytes.
Fixes https://github.com/prometheus/statsd_exporter/issues/35
2016-04-29 17:39:55 +02:00
Jonathon Klobucar
494cc38bf8 Don't panic when negative number counter is submitted.
Instead now we will send a warning message to the logs
and continue on with our day.

Also a guard has been added when we detect a channel has been
closed and the `Exporter.Listen` function will return out of
its loop vs always running. When a channel is closed there will
be no more data to consume, so this seems correct. It also allows
for a test to be written for the panic.
2016-04-01 10:53:20 -07:00
Peter Woodman
ab7c27ee77 Support datadog extensions to statsd datagrams
Datadog's format extensions allow attaching labels and tags to statsd
metrics, and are documented at
http://docs.datadoghq.com/guides/dogstatsd/#datagram-format

Additionally changes compare method in tests to reflect.DeepEqual, as
the tag maps don't sort deterministically, corrects an inversion in
displaying test failure cases, and treats an invalid sample value as 1
instead of throwing out the sample.
2016-03-04 16:22:34 +01:00
Mac Browning
ea7341a6c4 rename bridge -> exporter 2015-10-09 20:34:28 -04:00
Renamed from bridge.go (Browse further)