Commit graph

514 commits

Author SHA1 Message Date
Matthias Rampke
5aae305b35
Release 0.14.1
Add changelog entry for #286, #287, bump version

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-01-13 10:07:06 +00:00
Matthias Rampke
d7f22028aa
Merge pull request #287 from prometheus/mr/fix-udp-logger
Pass logger to UDP listener
2020-01-13 10:05:07 +00:00
Matthias Rampke
3a88bd3ddb
Merge pull request #286 from bakins/273-fsm-cache
Use correct name when multiple names match same FSM match
2020-01-13 09:58:44 +00:00
Matthias Rampke
fa2159f8e8
Pass logger to UDP listener
We were already passing it to the TCP and Unixgram listener, but
somehow left it out of the UDP listener setup.

Fixes #285.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-01-13 09:55:07 +00:00
Brian Akins
b234e1dd4e Use correct name when multiple names match same FSM match
Signed-off-by: Brian Akins <brian@akins.org>
2020-01-11 07:05:20 -05:00
Matthias Rampke
20006621cc
Release v0.14.0
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-01-10 17:01:22 +00:00
Matthias Rampke
512c53c703
Update changelog for #283
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-01-10 14:51:42 +00:00
Matthias Rampke
8a309f2e6e
Merge pull request #284 from prometheus/mr/rename-mapping-cache-metrics
Make mapper cache metric names more specific
2020-01-10 14:47:46 +00:00
Matthias Rampke
4f82807b38
Merge pull request #283 from prometheus/mr/pr-272
PR #272 continued
2020-01-10 14:34:35 +00:00
Matthias Rampke
7e6d394af0
Make mapper cache metric names more specific
cf. https://github.com/prometheus/statsd_exporter/pull/282#issuecomment-573031514

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-01-10 14:32:16 +00:00
Matthias Rampke
53f732d480
Log error and exit instead of panicking
Following the lead of prometheus/prometheus, we prefer to log-and-exit
instead of an unstructured panic.

cf. https://github.com/prometheus/prometheus/pull/3061/files#diff-4a3ccbb3ebdcd530af96f0105fe833c2R182

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-01-10 14:02:59 +00:00
Matthias Rampke
0d72309324
make common-unused
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-01-10 13:19:14 +00:00
Matthias Rampke
6f6d036307
Changelog & version bump for #280 & #282
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-01-10 13:15:10 +00:00
Matthias Rampke
a4a9f26e16
Merge pull request #282 from prometheus/mr/rename-mapping-cache-lengt-metrics
Rename mapping cache length metric
2020-01-10 13:12:32 +00:00
Matthias Rampke
ac3e901f19
Rename mapping cache length metric
The mapper package can be used outside the statsd exporter, so it is
better to use generic names here.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-01-10 13:10:03 +00:00
Matthias Rampke
9d0ea80917
Merge pull request #280 from bakins/cache-metrics
mapper cache: Add cache metrics for total gets and hits
2020-01-10 13:08:21 +00:00
bakins
4b69da2d03 mapper cache: Add cache metrics for total gets and hits
Add metrics to record mapper cache hits and total gets.

Signed-off-by: bakins <brian@akins.org>
2020-01-03 16:46:58 -05:00
Matthias Rampke
2e3d3ab962
Merge pull request #279 from bakins/format-key-optimization
mapper cache: Use string concatenation rather than Sprintf for formatKey
2020-01-01 09:55:02 +01:00
bakins
e60a0b6d00 Use string concatenation rather than Sprintf
Signed-off-by: bakins <brian@akins.org>
2019-12-31 16:40:33 -05:00
Matthias Rampke
d888f25cb6
Merge pull request #275 from ergo/patch-1
Fix format for dogstatsd tags
2019-12-09 12:47:00 +01:00
Marcin Lulek
a1c201d821 Fix format for dogstatsd tags
Only key:value format for dogstatsd is accepted by latest version of statsd exporter.
I've tried both official client and bash scripts to send the data:

    echo "newpure.test:1|c|@0.5|#country:china" | nc -w 1 -u 127.0.0.1 9125` - will work
    echo "newpure.test:1|c|@0.5|#country=china" | nc -w 1 -u 127.0.0.1 9125 - will not work

Signed-off-by: Marcin Lulek <info@webreactor.eu>
2019-12-09 12:34:03 +01:00
Matthias Rampke
eeaefea1e2
Remove v from changelog entries
to conform with the format that promu expects.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2019-12-06 16:11:16 +00:00
Matthias Rampke
600423ad61
Release version 0.13.0
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2019-12-06 15:35:00 +00:00
Matthias Rampke
4f60ae856b
Merge pull request #278 from abbasalizaidi/master
Typo correction
2019-12-02 10:47:01 +01:00
abbasalizaidi
8ebffcfb93 Corrected spellings of the word policy
Signed-off-by: Abbas Ali Zaidi <abbasali.zaidi@fireeye.com>
2019-12-02 12:05:37 +05:30
Matthias Rampke
18a3c26447
Merge pull request #277 from xocasdashdash/updated-docs
Updated docs and added good/bad example yaml
2019-11-26 18:20:07 +01:00
Joaquín Fernández Campo
1aa5127349 Fixed changelog per request.
Signed-off-by: Joaquin Fernandez Campo <jfcampo@gmail.com>
2019-11-26 10:32:19 +01:00
Joaquín Fernández Campo
84657e85ec Updated docs and added good/bad example yaml
Signed-off-by: Joaquin Fernandez Campo <jfcampo@gmail.com>
2019-11-26 10:01:29 +01:00
mhartenbower
5f4f780e16 Add noplogger to tests
Signed-off-by: mhartenbower <matt.hartenbower@gmail.com>
2019-10-13 16:44:16 -05:00
mhartenbower
c710b851c7 Switch to go-kit logging
Fixes #270

Signed-off-by: mhartenbower <matt.hartenbower@gmail.com>
2019-10-13 13:19:28 -05:00
Matthias Rampke
7d2a901b6c
Update changelog for #267 2019-09-20 07:26:18 +00:00
Matthias Rampke
c1db8ba02d
Merge pull request #267 from twooster/add-librato-tag-support
Add librato tag support
2019-09-20 09:19:46 +02:00
Tony Wooster
df740e7778 Minor fixups
Signed-off-by: Tony Wooster <twooster@gmail.com>
2019-09-19 18:31:10 +02:00
Tony Wooster
a4b92689bc DRY up tag-parsing code
Signed-off-by: Tony Wooster <twooster@gmail.com>
2019-09-18 15:33:23 +02:00
Tony Wooster
0e000fe833 Drop metrics with mixed tagging styles
Signed-off-by: Tony Wooster <twooster@gmail.com>
2019-09-18 15:33:23 +02:00
Tony Wooster
e01507a57c Remove "Librato" from tag error messages
Signed-off-by: Tony Wooster <twooster@gmail.com>
2019-09-17 17:35:57 +02:00
Tony Wooster
22619bb8a9 Update README
Signed-off-by: Tony Wooster <twooster@gmail.com>
2019-09-17 17:01:34 +02:00
Tony Wooster
5537c504cc Add support for InfluxDB style tagging
Signed-off-by: Tony Wooster <twooster@gmail.com>
2019-09-17 17:01:34 +02:00
Matthias Rampke
84889bd5ea
Merge pull request #266 from simonpasquier/bump-golang-1.13
Bump golang 1.13
2019-09-16 17:53:59 +02:00
Tony Wooster
2933dd8ad0 Add support for Librato-style tags
Signed-off-by: Tony Wooster <twooster@gmail.com>
2019-09-14 17:14:03 +02:00
Matthias Rampke
a35d17c160
Update changelog for #264 2019-09-13 07:32:37 +00:00
Matthias Rampke
1865ea1be3
Merge pull request #264 from amitsaha/issue-250
Support sampling factor for all statsd metric types
2019-09-13 09:30:55 +02:00
Amit Saha
5b44b372d1 Add test for gauge with sample rate
Signed-off-by: Amit Saha <amitsaha.in@gmail.com>
2019-09-13 14:30:52 +10:00
Amit Saha
1bddef857d Add test
Signed-off-by: Amit Saha <amitsaha.in@gmail.com>
2019-09-13 14:27:48 +10:00
Amit Saha
d64c674394 Fix test
Signed-off-by: Amit Saha <amitsaha.in@gmail.com>
2019-09-13 13:07:12 +10:00
Simon Pasquier
9d822d4196 Fix go.mod and vendor/
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-09-12 17:45:39 +02:00
Simon Pasquier
91cc64da62 *: bump Go version to 1.13
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-09-12 17:36:35 +02:00
Matthias Rampke
b6e4b2a82e
Merge pull request #265 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
2019-09-11 10:05:07 +02:00
prombot
54359d3b06 makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2019-09-11 00:09:20 +00:00
Amit Saha
028531e953 Fix for issue #250
Signed-off-by: Amit Saha <amitsaha.in@gmail.com>
2019-09-09 17:25:19 +10:00