Commit graph

309 commits

Author SHA1 Message Date
Matthias Rampke
9fc976d906
Copy edits in FSM README
Format quote as such, capitalize FSM.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-10-10 21:22:53 +00:00
Matthias Rampke
761e64df10
Copy-edits in README
straightening out some wording, and fixing unquoted `*`.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-10-10 21:18:00 +00:00
Wangchong Zhou
4d9ce8c70a
add readmes
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-10-04 10:55:33 -07:00
Wangchong Zhou
c10e80c44b
optimizations
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-10-03 16:31:00 -07:00
Wangchong Zhou
699fa13c8c
add benchmark test to ci
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-28 14:42:09 -07:00
Wangchong Zhou
fcf11f02e5
promote formatLabels to mapper package
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-28 14:03:19 -07:00
Wangchong Zhou
5262b2904c
tidy up and use go benchmark
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-28 12:58:25 -07:00
Wangchong Zhou
6d709d52c1
gofmt
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-24 16:46:16 -07:00
Wangchong Zhou
a0681a0cd2
more perf test
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-24 16:08:08 -07:00
Wangchong Zhou
a8dcc589e5
add more perf test
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-24 13:36:43 -07:00
Wangchong Zhou
f387766cc2
cleanup and add comments
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-24 13:36:08 -07:00
Wangchong Zhou
668e31e5f1
license header
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-21 18:13:23 -07:00
Wangchong Zhou
5e1df60d22
abstract dumpFsm
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-21 18:11:00 -07:00
Wangchong Zhou
e634997791
move fsm to sepeare pkg
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-21 18:10:51 -07:00
Wangchong Zhou
a751c0c091
cleanup
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-09-13 12:23:59 -07:00
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