Commit graph

527 commits

Author SHA1 Message Date
Johannes 'fish' Ziemke
e26a5e4728 Add Version variable 2016-05-03 20:25:42 +02:00
Johannes 'fish' Ziemke
1f1c0f7030 Merge pull request #43 from prometheus/fish/vendor-all-the-things
Vendor dependencies
2016-05-03 11:25:23 -07:00
Johannes 'fish' Ziemke
a78a6d2635 Vendor dependencies 2016-05-03 19:25:23 +02:00
Johannes 'fish' Ziemke
dd0b68f2d8 Merge pull request #41 from prometheus/fish/fix-metric-suffix
Drop _count suffix for loaded_mappings metric
2016-05-03 09:54:20 -07:00
Johannes 'fish' Ziemke
dacfb3f1be Drop _count suffix for loaded_mappings metric
This makes the naming consistent with our best pratices.
2016-05-03 18:51:16 +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
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
60dbb43e8a Merge pull request #36 from prometheus/increase-udp-buf
Increase receivable UDP datagram size to 65535 bytes.
2016-04-29 18:13:07 +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
Julius Volz
121026ae3d Merge pull request #33 from klobucar/warn-on-negative
Don't panic when negative number counter is submitted.
2016-04-01 20:00:49 +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
Ben Kochie
85384f7bc6 Merge pull request #32 from SuperQ/master
Update for 0.2.0 release
2016-03-21 14:42:17 +01:00
Ben Kochie
6a84b510c6 Release 0.2.0
* Update Makefile.
* Add CHANGELOG.md.
2016-03-20 10:52:31 +01:00
Ben Kochie
b23cd0ab5b Update build
* Add `.gitignore`.
* Update Makefile.COMMON from prometheus/utils.
2016-03-20 09:40:05 +01: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
Julius Volz
e9eb193ff9 Merge pull request #31 from mmethner/master
fix documentation for docker udp port publishing
2016-02-01 17:48:33 +01:00
Mathias Methner
dc0ab29c33 fix documentation for docker udp port publishing 2016-02-01 16:54:59 +01:00
Julius Volz
e8f1e9c9c3 Update Julius's email address in AUTHORS.md 2015-10-26 02:25:54 +01:00
Julius Volz
3727277927 Merge pull request #26 from macb/exporter_rename
rename bridge to exporter
2015-10-17 15:50:01 +02:00
Julius Volz
3bf0889452 Merge pull request #25 from macb/root_endpoint
add root endpoint with redirect
2015-10-15 06:21:24 +02:00
Julius Volz
28d4020341 Merge pull request #24 from macb/allow_hyphen_hostname
allow metrics with dashes when mapping
2015-10-12 02:52:22 +02:00
Mac Browning
ea7341a6c4 rename bridge -> exporter 2015-10-09 20:34:28 -04:00
Mac Browning
c4ab11d05c add root endpoint with redirect 2015-10-09 20:26:05 -04:00
Mac Browning
411b071f1f allow metrics with dashes when mapping 2015-10-09 19:38:21 -04:00
Björn Rabenstein
4270a5ed7e Merge pull request #23 from prometheus/move-to-common
Move from client_golang/model to common/model
2015-09-17 14:38:16 +02:00
beorn7
6a1c44989b Move from client_golang/model to common/model 2015-09-17 13:14:18 +02:00
Julius Volz
6b318a471e Merge pull request #22 from Jimdo/config_udp_buffer
Allow configuration of UDP read buffer
2015-09-09 17:55:53 +02:00
Fabian Stehle
3d7b731cfd Allow configuration of UDP read buffer 2015-09-09 17:50:32 +02:00
Julius Volz
b6210fc395 Merge pull request #17 from sdurrheimer/master
New Dockerfile using alpine-golang-make-onbuild base image
2015-07-13 12:17:32 +02:00
Steve Durrheimer
395c1422e5 Add Docker instructions to the README 2015-07-11 13:22:06 +02:00
Steve Durrheimer
c2d70fe7dc New Dockerfile using alpine-golang-make-onbuild base image 2015-06-18 20:50:31 +02:00
Steve Durrheimer
c8430495ae Update Makefile.COMMON from prometheus/utils 2015-06-18 20:50:31 +02:00
Julius Volz
e0bf2be66a Merge pull request #16 from prometheus/document-no-statsd-case
Document use-case without any StatsD server.
2015-06-18 20:15:14 +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
Julius Volz
ce864c0131 Merge pull request #14 from prometheus/migrate-logging
Migrate logging to prometheus/log.
2015-05-29 14:22:36 +02:00
Julius Volz
1ee380cc39 Migrate logging to prometheus/log. 2015-05-29 13:45:11 +02:00
Julius Volz
ccbaa9d754 Merge pull request #12 from brian-brazil/fix-readme
Correct example, need to specify variables like in bash.
2015-04-17 00:41:32 +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
ec25a3dbfe Update Makefile.COMMON 2015-03-28 01:14:55 +01:00
Julius Volz
729bdfeef7 Update usage flags in README.md. 2015-03-23 13:45:29 +01:00
Julius Volz
9715b18315 Merge pull request #9 from prometheus/common-make-infra
Use Makefile.COMMON for building statsd_bridge.
2015-02-23 17:38:42 +01:00
Julius Volz
2ec8131d3b Use Makefile.COMMON for building statsd_bridge. 2015-02-23 16:46:25 +01:00
Julius Volz
9971e3cd30 Merge pull request #8 from prometheus/fix-license
Fix license headers to match LICENSE file.
2015-02-19 13:09:21 +01:00
Julius Volz
b299c8a72d Fix license headers to match LICENSE file. 2015-02-19 01:04:25 +01:00
juliusv
a373aee28e Merge pull request #7 from bracki/cosmetics
Cosmetics
2015-02-11 22:43:17 +01:00
Jan Brauer
c8a749f7c5 Use log.fatalf 2015-02-11 22:31:49 +01:00