Commit graph

786 commits

Author SHA1 Message Date
Frank Davidson
16b6f95c96 removed ~
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:55 -04:00
Frank Davidson
a455a8ad64 hopefully now linux
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:54 -04:00
Frank Davidson
77e8e78a88 eol update
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:49 -04:00
Frank Davidson
3207ad13ea eol
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:49 -04:00
Frank Davidson
6079c91345 eol=lf
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:49 -04:00
Frank Davidson
b00162470f Adding gitattributes file for managing line ending conversions.
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:49 -04:00
Frank Davidson
d55b42eabb :Issue 234: Split into reusable packages.
Signed-off-by: Frank Davidson <frank_davidson@manulife.com>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:49 -04:00
Aykut Farsak
cb516fa69a Fix Docker Hub URL
Signed-off-by: Aykut Farsak <aykutfarsak@gmail.com>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:29:42 -04:00
Matthias Rampke
37e54d0f47
Merge pull request #294 from aykutfarsak/patch-1
Fix Docker Hub URL
2020-03-05 10:56:57 +01:00
Matthias Rampke
5179715a82
Release 0.15.0
feature release!

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-03-05 09:36:11 +00:00
Matthias Rampke
2ad8989cd2
Add changelog & readme entries for #281
explain the tradeoffs for the cache strategies based on this comment:

https://github.com/prometheus/statsd_exporter/pull/281#issuecomment-573103251

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-03-05 09:35:37 +00:00
Matthias Rampke
60fbaf5e27
Merge pull request #281 from bakins/random-replacement
Add random replacement mapper cache
2020-03-05 10:25:15 +01:00
Aykut Farsak
9778828863 Fix Docker Hub URL
Signed-off-by: Aykut Farsak <aykutfarsak@gmail.com>
2020-03-05 08:35:15 +03:00
bakins
90e247b091 Add random replacement cache
Signed-off-by: bakins <brian@akins.org>
2020-03-04 12:26:59 -05:00
Matthias Rampke
7b027d00a6
Merge pull request #292 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
2020-02-25 10:40:47 +01:00
prombot
7c8c2b571f makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-02-25 00:09:27 +00:00
Matthias Rampke
6cef4dadac
Add changelog entry for #290
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-02-20 15:46:21 +00:00
Matthias Rampke
b4e9e95cf2
Merge pull request #290 from tgummerer/tg/allow-setting-max-age
allow setting granularity for summary metrics
2020-02-20 13:25:40 +01:00
Thomas Gummerer
dae5d782a6 allow setting granularity for summary metrics
The Go client for prometheus aggregates summary metrics over 10
minutes by default, in 5 buckets.  This is not always the behaviour we
want.

Allow tweaking those settings in `statsd_exporter`, so we can
aggregate summary metrics over more or less time, with more or fewer
buckets, and set the cap for the bucket as well.

Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
2020-02-18 18:04:38 +00:00
Thomas Gummerer
80b77513a6 create sub-hierarchies for summary and histogram options
Currently the Buckets and Quantiles settings are top level settings per metric
in the yaml.  In a subsequent commit we're going to allow adding more such
options for summaries, at which point having them all at the top level gets
confusing.

Split the options out into separate hierarchies to allow adding more options,
without adding confusion.  We preserve backwards compatibility by still
accepting the old option, but warning when it is present.

Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
2020-02-18 18:04:27 +00:00
Matthias Rampke
c9c23a4f9e
Merge pull request #289 from bakins/escape-to-mapper
Move escapeMetricName to mapper
2020-01-16 16:55:09 +00:00
bakins
e60f77df30 Move escapeMetricName to mapper
Signed-off-by: bakins <brian@akins.org>
2020-01-16 11:20:37 -05:00
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