Commit graph

494 commits

Author SHA1 Message Date
Wangchong Zhou
9ebab25dfa
ordering
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-13 12:12:41 -07:00
Wangchong Zhou
c2742aa299
implement backtrack
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-12 18:18:12 -07:00
Wangchong Zhou
dad04e9c8b
detect backtracking
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-12 14:44:07 -07:00
Wangchong Zhou
bfe23298aa
replace glob matching
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-11 17:34:19 -07:00
Wangchong Zhou
825b734b3e
Implement "fsm" match type
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-10 12:04:44 -07:00
Matthias Rampke
26846b86b3
Merge pull request #156 from gbahrani/doc_fix_docker_run_command
Fixed docker run command
2018-09-07 13:55:06 +02:00
gaurav
3ba10e2cb5 Fixed docker run command for:
1. Configuration file extension changed from .conf to .yml
2. Added missing dash (-) in statsd-exporter inputs

Signed-off-by: gaurav <gbahrani@gmail.com>
2018-09-07 11:44:28 +00:00
Matthias Rampke
9480025e61
Merge pull request #150 from prometheus/mr/maintainer-label
Use maintainer label in Dockerfile
2018-08-30 10:38:56 +02:00
Matthias Rampke
90b6066252
Use maintainer label in Dockerfile
fixes #149.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-30 08:24:49 +00:00
Matthias Rampke
95d60eed01
Add a note about flag conventions
this note can be removed in half a year or so.

Fixes #147.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-28 08:08:46 +00:00
Matthias Rampke
0ad6f7e7cb
Merge pull request #145 from prometheus/mr/improvement-enhancement
Changelog: use ENHANCEMENT
2018-08-22 11:10:51 +02:00
Matthias Rampke
3c74b10043
Changelog: use ENHANCEMENT
to be in line with the Prometheus release guidelines:

https://github.com/prometheus/prometheus/wiki/HOWTO-cut-a-new-release#prepare-your-release

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-22 08:18:23 +00:00
Matthias Rampke
1870cbb30c
Fix changelog entry formatting
one was missing the parenthesis around the PR number.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-22 08:09:39 +00:00
Matthias Rampke
82f75d3b9a
Release v0.7.0
Fixes #144

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-22 07:49:02 +00:00
Matthias Rampke
3a6b6ce5d5
Update the README for #141
it has a copy of the usage

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-21 08:57:44 +00:00
Matthias Rampke
e1693708d4
Add changelog entry for #141
with a note about the breaking change.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-21 08:56:28 +00:00
Matthias Rampke
88a7eef426
Merge pull request #141 from negz/master
Switch to kingpin for flag handling
2018-08-21 10:50:29 +02:00
Nic Cope
fcc398a032 Switch to kingpin for flag handling
This commit also removs the deprecated -statsd.listen-address flag. Switching
to kingpin is a breaking change in that flags now start with two hyphens (e.g.
--statsd.listen-udp), and thus a good time to remove deprecated flags.

Signed-off-by: Nic Cope <negz@planet.com>
2018-08-20 13:18:59 -07:00
Matthias Rampke
84f1ef33d4
Merge pull request #140 from prometheus/mr/mapper-package
Move mapper to a package
2018-08-15 08:13:32 +02:00
Matthias Rampke
d9f305b6f2
Inject the mappings count metric into the library package
so that it can be initialized with an exporter-specific name.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-14 09:31:38 +00:00
Matthias Rampke
40a13e604f
Move mapper -> pkg/mapper
to make clear that this is meant to be used elsewhere

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-14 09:20:00 +00:00
Matthias Rampke
124c5b88d0
Move mapper to a package
This allows the mapping logic and configuration format to be re-used by
the graphite exporter.

Enables prometheus/graphite_exporter#37, cf. https://github.com/prometheus/graphite_exporter/pull/52#issuecomment-412324849

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-12 11:14:18 +00:00
Matthias Rampke
419e27d284
Merge pull request #139 from prometheus/mr/changelog-links
Make all the PR references in CHANGELOG links
2018-08-09 14:33:26 +02:00
Matthias Rampke
8dbd5e7770
Make all the PR references in CHANGELOG links
for clickability.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-09 10:11:23 +00:00
Matthias Rampke
e32ce67fd9
Add #135 to the changelog
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-09 10:09:01 +00:00
Matthias Rampke
b7657e8399
Merge pull request #135 from hbagdi/feat/summary-quantiles
feat: configurable quantiles for Summaries
2018-08-09 11:40:26 +02:00
Matthias Rampke
8d1a9e0330
Break the quantile documentation into a summary-specific paragraph
to untangle the summary and histogram configuration, give an explicit
example of a summary match.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-08-09 08:18:39 +00:00
Harry Bagdi
a144b1f9f7 feat: configurable quantiles for Summaries
* Quantile values for a Summary are now configurable.

* The default quantiles (DefObjectives) in the prometheus Go client library is
deprecated. This commit removes the reliance on it.

Signed-off-by: Harry Bagdi <harrybagdi@gmail.com>
2018-08-08 19:41:41 -07:00
Matthias Rampke
0ffa3f9865
Add notable unreleased changes to log
so it's easier to put together the next release.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-07-04 10:28:11 +00:00
Ben Kochie
c4fb3768ac
Merge pull request #137 from prometheus/bjk/circle
Update CircleCI to 2.0
2018-07-03 09:46:52 +02:00
Ben Kochie
778ca7f991 Update CircleCI to 2.0
Signed-off-by: Ben Kochie <superq@gmail.com>
2018-07-03 09:19:40 +02:00
Matthias Rampke
09e16e7aa9
Merge pull request #136 from westphahl/match-metric-type
Allow mapping match on metric type
2018-07-02 15:22:54 +00:00
Ben Kochie
8971b30a76
Merge pull request #134 from simonpasquier/use-makefile-common
Use Makefile.common from Prometheus
2018-06-18 14:35:33 +02:00
Simon Pasquier
79fa36fe39 Sync Makefile.common from prometheus
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-06-18 14:05:04 +02:00
Simon Westphahl
d7357a2173 Adapt mapper test to changed signature
Co-authored-by: Simon Westphahl <westphahl@gmail.com>
Signed-off-by: Simon Westphahl <simon.westphahl@bmw.de>
2018-06-15 19:41:13 +02:00
Simon Westphahl
b2423c56a5 Update readme regarding metric type matching
Co-authored-by: Simon Westphahl <westphahl@gmail.com>
Signed-off-by: Simon Westphahl <simon.westphahl@bmw.de>
2018-06-15 14:26:47 +02:00
Simon Westphahl
568f744f2e Tests for metric type mapping config
Co-authored-by: Simon Westphahl <westphahl@gmail.com>
Signed-off-by: Simon Westphahl <simon.westphahl@bmw.de>
2018-06-15 11:36:23 +02:00
Simon Westphahl
b6c7e863d3 Allow mappings to match on metric types
Co-authored-by: Simon Westphahl <westphahl@gmail.com>
Signed-off-by: Simon Westphahl <simon.westphahl@bmw.de>
2018-06-15 11:36:12 +02:00
Simon Pasquier
4a9cde8cef travis: switch to Go 1.10.x and 1.x
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-05-23 14:04:34 +02:00
Simon Pasquier
27f07a6516 Use Makefile.common from Prometheus
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-05-23 12:49:57 +02:00
Matthias Rampke
16865d75b7
Merge pull request #126 from yuiofthesun/avoid-regex-panic
Avoid regex panic
2018-02-23 09:31:02 +01:00
Katharina Dankert
7e86bcaa92 Avoid panic from compiling user supplied regex
If an invalid regex is supplied mustCompile would panic during
configuration reload. Return an error instead that can be handled.
2018-02-22 23:50:25 +01:00
Katharina Dankert
d1f7ca4239 Fix the test for bad regexes
This test did not fail because the regex was bad, it failed because yaml
parsing failed.

This fixes the yaml which uncovers a panic in initFromYAMLString.
2018-02-22 23:46:19 +01:00
Matthias Rampke
745e53700f
Merge pull request #121 from prometheus/brian-brazil-patch-1
Update a few Bridges we missed to Exporter
2018-01-30 21:19:25 +01:00
Brian Brazil
fbbd6452c6
Update a few Bridges we missed to Exporter 2018-01-30 20:01:29 +00:00
Matthias Rampke
76f5f422b4
Merge pull request #118 from prometheus/grobie/readme-metrics-naming
Use _total suffix for counters
2018-01-18 09:12:20 +01:00
Tobias Schmidt
c11d1e9cf2 Use _total suffix for counters
According to the project's naming best practices[0], the suffix to
indicate a counter type is called `_total`.

[0]: https://prometheus.io/docs/practices/naming/
2018-01-18 00:48:42 +01:00
Matthias Rampke
3fd85c92fc
Actually update the version
of course I forgot a step.
2018-01-17 17:43:26 +00:00
Matthias Rampke
17524907f7
Release v0.6.0
There have been no reports of issues with the drop action, and
@erickpintor has been running the metric name change already. Let's go!
2018-01-17 17:25:55 +00:00
Matthias Rampke
9f409ad982
Add changelog entry for #117 2018-01-17 17:09:51 +00:00