Commit graph

837 commits

Author SHA1 Message Date
bakins 709c0da81b Use a Parser interface to allow alternate implementations
Signed-off-by: bakins <brian@akins.org>
2020-12-10 13:17:46 -05:00
Matthias Rampke 8b2b4c1a2b
Changelog for #347 2020-11-24 08:20:27 +00:00
Matthias Rampke 8772c03c0f
Merge pull request #347 from grafana/custom-registry
Pass around custom registry for registering exporter metrics
2020-11-24 09:18:10 +01:00
Robert Fratto b5deeda251 Pass around custom registry for registering exporter metrics
Importers of pkg/exporter may not want for series to be imported into
the default registry. This commit makes it possible to provide a custom
registry for metrics registration.

Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2020-11-20 14:14:14 -05:00
Matthias Rampke dcd95d01df
Merge pull request #345 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2020-11-04 17:57:22 +00:00
prombot dc1f856da1 Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-11-04 00:10:00 +00:00
Matthias Rampke 7c792fba66
Merge pull request #344 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
2020-10-23 09:46:37 +02:00
Matthias Rampke 45b616fe8c
Merge pull request #343 from bakins/registry-interface
Use an interface for Registry so we may have alternate implementations
2020-10-23 09:37:19 +02:00
prombot ede356f65e Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2020-10-23 00:10:05 +00:00
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