Commit graph

828 commits

Author SHA1 Message Date
bakins
4acb05aa89 Use an interface for Registry so we may have multiple implementations
Signed-off-by: bakins <brian@akins.org>
2020-10-22 10:08:57 -04:00
Matthias Rampke
420dc651d8
Version bump + changelog for #339
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-10-15 07:03:16 +00:00
Matthias Rampke
cba4a0783a
Merge pull request #339 from yaron-idan/add-health-endpoint
add healthcheck endpoint
2020-10-15 07:01:42 +00:00
Yaron Idan
f5e400962a remove flag and add ready endpoint
Signed-off-by: Yaron Idan <yaronidan@gmail.com>
2020-10-13 14:15:04 +03:00
Matthias Rampke
3ed211ec7a
Merge pull request #341 from dsabsay/cleanup-docs
Minor documentation improvements
2020-10-05 09:41:04 +00:00
Matthias Rampke
e7b26d48bc
Merge pull request #340 from roidelapluie/115go
Bump go to 1.15
2020-10-05 09:39:58 +00:00
Daniel Sabsay
07c754c759 Minor documentation fixes
* Fix CLI help for --statsd.event-flush-interval
* Move verbiage regarding default histogram bucket values to proper
  section

Signed-off-by: Daniel Sabsay <sabsay@adobe.com>
2020-09-28 10:42:44 -07:00
Julien Pivotto
a94056e060 Bump go to 1.15
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2020-09-14 18:46:06 +02:00
Yaron Idan
f0c7abebb1 add healthcheck endpoint
Signed-off-by: Yaron Idan <yaronidan@gmail.com>
2020-09-12 17:24:50 +03:00
Matthias Rampke
da85f9d207
Merge pull request #335 from shmsr/dup-init-vars
Avoid double initialization of variables
2020-09-07 09:38:12 +02:00
Matthias Rampke
477d566101
Merge pull request #334 from shmsr/error-small-case
Error strings shouldn't be capitalized
2020-09-07 09:34:11 +02:00
subham sarkar
4c0e26bfa1 Avoid unnecessary initialization of variables
This commit fixes the case when the metric is not present in rm (registered metric) then LastRegisteredAt and TTL are initialized twice. Firstly, LastRegisteredAt is initialized with the time.Time's zero value and then with clock.Now(). Plus, TTL is initialized with the same value twice.

Signed-off-by: subham sarkar <subham.sarkar@guavus.com>
2020-09-06 16:49:25 +05:30
subham sarkar
2c4cda7fb3 Change casing of error messages
Error messages shouldn't be capitalized.

Signed-off-by: subham sarkar <subham.sarkar@guavus.com>
2020-09-06 16:33:18 +05:30
Matthias Rampke
424d4781ca
Merge pull request #333 from shmsr/gauge-interface
Use prometheus.Gauge interface instead of prometheus.Counter
2020-09-04 17:08:20 +02:00
subham sarkar
d93907009c Use prometheus.Gauge interface instead of prometheus.Counter
Signed-off-by: subham sarkar <subham.sarkar@guavus.com>
2020-09-04 20:14:32 +05:30
Matthias Rampke
b19217a19b
Merge pull request #332 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2020-09-03 08:28:35 +02:00
prombot
96410eb4f5 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-09-03 00:10:16 +00:00
Matthias Rampke
bac6cbe8c5
Release 0.18.0
with changelog entries for #325 and #329.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-08-21 10:09:37 +00:00
Matthias Rampke
a73707d102
Merge pull request #329 from glightfoot/reload-api
Add lifecycle api
2020-08-21 12:02:18 +02:00
Matthias Rampke
e0a39974e2
Merge pull request #325 from glightfoot/disable-tags
Optionally disable tag parsing
2020-08-21 11:42:33 +02:00
glightfoot
c162b349b7 add parsing flags to README
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-08-10 14:55:57 -04:00
glightfoot
1293a24b59 add lifecycle api
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-08-10 14:46:44 -04:00
glightfoot
afa40f4ada rename cli flags for parsing and add docs to README
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-08-10 12:56:23 -04:00
glightfoot
6942b5a4f3 move to line parser struct and option functions
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-08-10 12:44:23 -04:00
glightfoot
db25b1d658 add line tests for disabling individual tag formats
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-07-28 13:30:34 -04:00
glightfoot
3f3ab23359 add globals for disabling individual tag parsing formats
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-07-28 13:29:06 -04:00
Matthias Rampke
da4a2950a7
Merge pull request #323 from glightfoot/improve-benchmarks
break out line benchmarks by format
2020-07-20 07:24:18 +00:00
glightfoot
2bea72dd37 use named sub-benchmarks
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-07-09 19:10:08 -04:00
glightfoot
9763353a54 Merge branch 'master' of github.com:prometheus/statsd_exporter into improve-benchmarks 2020-07-08 15:07:05 -04:00
glightfoot
baa976dc6e break out line benchmarks by format
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-07-08 13:23:13 -04:00
Matthias Rampke
e43831c078
Merge pull request #321 from glightfoot/improve-benchmarks
improve benchmark validity by not measuring startup costs
2020-07-02 22:19:44 +02:00
glightfoot
8c97daddee improve benchmark validity by not measuring startup costs
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-07-02 15:25:25 -04:00
Matthias Rampke
b162bd047a
Release 0.17.0
Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-06-26 15:19:16 +00:00
Matthias Rampke
cc709f242c
Update changelog and readme for #315: SignalFX extension
Declare the behavior with mixed tagging as undefined, we don't want to
promise anything in that case, not even negatively.

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-06-26 15:18:04 +00:00
Matthias Rampke
36de8c9e12
Merge pull request #315 from glightfoot/signalfx
[268] Support SignalFx Tags
2020-06-26 17:08:49 +02:00
Matthias Rampke
7cbd9525d2
Merge pull request #320 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2020-06-25 20:47:52 +02:00
Matthias Rampke
a991a4ba57
Merge pull request #318 from glightfoot/fix-event
rename events for consistency
2020-06-23 13:30:32 +02:00
prombot
fb382a2fea Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-06-23 00:11:03 +00:00
glightfoot
15eece3cf8 rename events for consistency
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-22 14:53:52 -04:00
glightfoot
9faa4898de abort parsing tags if malformed signalfx format, add tests
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-19 14:40:26 -04:00
glightfoot
5b863848dd adding more tests for malformed signalfx tags
Signed-off-by: glightfoot <glightfoot@rsglab.com>
2020-06-19 09:10:19 -04:00
glightfoot
4f7abe5226 Merge branch 'master' of github.com:prometheus/statsd_exporter into signalfx 2020-06-19 09:05:10 -04:00
Matthias Rampke
f1de97dbdd
Add changelog for #309
and fix ordering and naming of the entries

Signed-off-by: Matthias Rampke <matthias@prometheus.io>
2020-06-19 12:18:07 +00:00
Matthias Rampke
ab73924e53
Merge pull request #317 from prometheus/mr/document-314
Changelog and documentation update for #314
2020-06-19 14:15:24 +02:00
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