Tobias Schmidt
ab844a3f63
Break out event handling into its own function
...
It's idiomatic in go to keep code indentation due to nested loops to a
minimum. Decoupling the events handling function into its own function
makes it easier to read the code and test the behavior in isolation of
the channel handling. It's now also easily possible to process events
in parallel without having to touch actual business code.
Signed-off-by: Tobias Schmidt <tobidt@gmail.com>
2018-11-02 18:28:18 +01:00
Matthias Rampke
3b846b33a8
Consistently use v prefix in changelog
...
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-10-12 08:33:27 +00:00
Matthias Rampke
555cd98958
Release 0.8.0
...
I've been running the RC in production without issues.
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-10-12 08:30:58 +00:00
Matthias Rampke
877630c2b7
Release RC for version 0.8.0
...
the FSM change is quite deep, I want to have a set of binaries to test
with.
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-10-10 22:03:04 +00:00
Matthias Rampke
00e2c3ff26
Merge pull request #157 from Kong/feat/fsm-matcher
...
Faster glob matching using a finite state machine
2018-10-11 00:02:06 +02:00
Matthias Rampke
4e53440316
Move bench
target out of common Makefile
...
we should not change the vendored Makefile.common here.
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-10-10 21:37:26 +00:00
Matthias Rampke
e5734e34e9
Copy edit comments in fsm/formatter
...
Fixing a typo and language.
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-10-10 21:31:51 +00:00
Matthias Rampke
97f71db21b
Put in-line image on its own paragraph
...
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-10-10 21:24:08 +00:00
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