Commit graph

656 commits

Author SHA1 Message Date
Matthias Rampke
588fde9fc1
Update CircleCI orb to 0.5.0
in an attempt to fix the build failure: https://app.circleci.com/pipelines/github/prometheus/statsd_exporter/432/workflows/b27f7966-f1f7-4abf-8ad8-355325f1a02f/jobs/1322
2020-05-26 06:41:58 +00:00
Ben Kochie
7b78f2c1cd
Merge pull request #308 from prometheus/makefile_common
Synchronize Makefile.common from prometheus/prometheus
2020-05-26 07:33:20 +02:00
prombot
fbceeef47a makefile: update Makefile.common with newer version
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-05-19 00:09:49 +00:00
Chai Nadig
d804941a18 Set Flush Interval on EventQueue
Signed-off-by: Chai Nadig <chaitanya.nadig@gmail.com>
2020-05-14 00:03:34 -07:00
Chai Nadig
cc10478f61 reset event.go
Signed-off-by: Chai Nadig <chaitanya.nadig@gmail.com>
2020-05-13 23:58:24 -07:00
Chai Nadig
4eac64eb59 log proto with msg
Signed-off-by: Chai Nadig <chaitanya.nadig@gmail.com>
2020-05-13 23:58:24 -07:00
Chai Nadig
a75e588cf0 Log Ingested Lines
Signed-off-by: Chai Nadig <chaitanya.nadig@gmail.com>
2020-05-13 23:58:24 -07:00
Matthias Rampke
2898eb8c0c
Merge pull request #303 from roidelapluie/go114
Bump go version to 1.14
2020-05-03 14:05:45 +02:00
Julien Pivotto
eb3997b287 Bump go version to 1.14
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-05-01 16:37:16 +02:00
Matthias Rampke
bf8af64f5e
Merge pull request #301 from prometheus/mr/readme-library
Add notes about library usage to the README
2020-04-20 09:44:16 +02:00
Matthias Rampke
f6384291a6
Add notes about library usage to the README
specifically, deny compatibility guarantees, but do note that we
recognize the packages as reusable.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-04-17 12:02:15 +00:00
Matthias Rampke
682bc92b45
Add changelog entry & bump version for #298
this deserves a call-out to surface any issues.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2020-04-17 12:01:20 +00:00
Matthias Rampke
1f3adf69c6
Merge pull request #298 from davidsonff/issue-234
:Issue 234: Split into reusable packages.
2020-04-17 13:43:30 +02:00
Frank Davidson
c75b6091b8 Added metrics to unixgram listener.
Signed-off-by: Frank Davidson <frank_davidson@manulife.com>
2020-04-16 12:43:27 -04:00
Matthias Rampke
f0a46c4ec9
Merge pull request #300 from epeay/patch
Fixed typo
2020-04-12 10:08:14 +02:00
Elliott Peay
828e12c345 Fixed typo
Signed-off-by: Elliott Peay <elliott.peay@gmail.com>
2020-04-11 16:14:11 -07:00
Frank Davidson
5ec58a32c2 squash! Updated structs and tests.
squash! Updated structs and tests.

Updated structs and tests.

Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
Signed-off-by: Frank Davidson <frank_davidson@manulife.com>
2020-04-09 11:44:13 -04:00
Frank Davidson
4b3b9ba207 Added license.
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:30:01 -04:00
Frank Davidson
390e862252 Removed redundant files.
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:30:01 -04:00
Frank Davidson
44d4daf599 Removed .exe
Signed-off-by: Frank Davidson <davidfr@americas.manulife.net>
Signed-off-by: Frank Davidson <ffdavidson@gmail.com>
2020-04-08 15:30:01 -04:00
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