Commit graph

634 commits

Author SHA1 Message Date
Matthias Rampke
ed37775e02
Merge pull request #309 from prometheus/mr/issue-256
Allow single-letter components in metric names
2020-06-19 14:15:01 +02:00
Matthias Rampke
b64e07c7d9
Changelog and documentation update for #314
Update the README to reflect #314. Add an entry to the changelog
with extended compatibility notes.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-06-19 11:56:55 +00:00
Matthias Rampke
7ba3550f8f
Merge pull request #314 from glightfoot/histogram-type
[307] Add support for histograms and distributions without unit conversion
2020-06-19 13:00:06 +02:00
glightfoot
aa591e3e8e add test for signalfx/dogstatsd mixed tags
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-17 13:14:39 -04:00
glightfoot
b4ce2913fa add signalfx tag parsing to main benchmark tests
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-16 17:18:41 -04:00
glightfoot
32f1677f81 add signalfx tag parsing
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-16 16:32:59 -04:00
glightfoot
38414f106a add benchmark for LineToEvents
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-16 16:32:01 -04:00
glightfoot
4a64979563 move mapping and mapper_defaults into their own files with their unmarshalers
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-16 07:46:53 -04:00
glightfoot
1444824911 fix yaml tags
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-15 18:47:17 -04:00
glightfoot
bdd4a76348 add more tests for metric type
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-15 18:46:20 -04:00
glightfoot
77277a5150 support deprecated timer_type in configs
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-15 18:41:16 -04:00
glightfoot
32e9e58e32 Rename timer to observer in mapper
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-15 17:26:20 -04:00
glightfoot
d95a53553e change metric labels to observer
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-15 10:14:11 -04:00
glightfoot
374d202daa rename TimerEvent to ObserverEvent
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-12 09:25:51 -04:00
glightfoot
01b19722d7 remove comments
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-12 08:37:06 -04:00
glightfoot
063112b138 fix benchmark test
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-11 10:56:36 -04:00
glightfoot
5c0b206f6e add support for histograms and distributions without unit conversion
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-11 10:56:36 -04:00
Matthias Rampke
2fc2dcdff6
Version bump & changelog for #312
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-05-29 11:49:41 +00:00
Matthias Rampke
b3520aabd4
Merge pull request #312 from prometheus/mr/check-config
Support checking configuration and exiting
2020-05-29 13:47:40 +02:00
Matthias Rampke
c8b8ddc952
Support checking configuration and exiting
If desired, go through all the motions of setting up the exporter, but
then exit. This is not very elegant, as we actually open the ports,
which may not be what you want to do in a pipeline, but it is the
quickest way to implement this.

Fixes #263.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-05-29 08:51:41 +00:00
Matthias Rampke
3b3ff3c473
Merge pull request #310 from prometheus/mr/dependency-update
Update all dependencies to latest
2020-05-29 10:15:25 +02:00
Matthias Rampke
44ae8f557c
Allow single-letter components in metric names
They are valid. Fixes #256.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-05-29 08:09:46 +00:00
Matthias Rampke
bb2fedc556
go mod tidy
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-05-29 08:00:39 +00:00
Matthias Rampke
7f7d5171c3
go mod vendor
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-05-29 08:00:30 +00:00
Matthias Rampke
0201b4f71f
Update all dependencies to latest
using `go get -u -t`

Fixes #257, if it is not fixed already.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-05-29 07:50:13 +00:00
Matthias Rampke
bd5e04d6e3
Release 0.16.0
add changelog entry for #305, cut a release

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-05-29 06:58:48 +00:00
Matthias Rampke
3908609918
Merge pull request #305 from chai-nadig/chai/log-ingested-metrics
Log Ingested Lines
2020-05-29 08:57:26 +02:00
Matthias Rampke
3630398b17
Merge pull request #306 from chai-nadig/chai/set-flush-interval
Set Flush Interval on EventQueue
2020-05-29 08:43:41 +02:00
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