Matthias Rampke
71ec03e5b3
Merge pull request #165 from simonpasquier/circleci-2.1
...
circleci: switch to 2.1 config
2018-11-26 16:16:37 +00:00
Simon Pasquier
c8cf42ca4e
circleci: switch to 2.1 config
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-11-26 17:02:28 +01:00
Matthias Rampke
040760ec22
Merge pull request #162 from prometheus/grobie/reduce-indentation
...
Break out event handling into its own function
2018-11-05 09:56:57 +00:00
Matthias Rampke
397fd90e94
Add changelog entry for #161
2018-11-05 09:55:21 +00:00
Matthias Rampke
a51c9be791
Merge pull request #161 from filippog/unmapped-fix
...
Register eventsUnmapped counter
2018-11-05 09:54:09 +00:00
Filippo Giunchedi
9b44d79582
Register eventsUnmapped counter
...
See also the related discussion at #160
Signed-off-by: Filippo Giunchedi <filippo@wikimedia.org>
2018-11-03 13:07:27 +01:00
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