Commit graph

405 commits

Author SHA1 Message Date
Matthias Rampke
671c01aa7f
Update changelog for #178, increment release candidate
No 0.9.0 release candidate was ever published because of CI issues, so
we can still add this change before the release.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2019-01-09 17:58:21 +00:00
Matthias Rampke
a566da3f87
Merge pull request #178 from SpencerMalone/patch-1
Scale summaries from milliseconds to seconds.
2019-01-09 17:54:18 +00:00
SpencerMalone
c73a7b2c9a Scale summaries from milliseconds to seconds.
Fixes #177

Updating exporter tests for new summary unit scaling behavior

Signed-off-by: Spencer Malone <malone.spencer@gmail.com>
2019-01-09 12:37:38 -05:00
Matthias Rampke
2d35b097ae
Merge pull request #175 from simonpasquier/add-staticcheck
Travis CI: add staticcheck target
2019-01-04 15:52:12 +00:00
Simon Pasquier
8f56cc811d *: add staticcheck target back
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-01-04 15:26:57 +01:00
Matthias Rampke
65070524c3
Merge pull request #174 from dongwenjuan/master
fix the format of code-block in README
2018-12-27 14:49:50 +00:00
dongwenjuan
d655643a58 fix the format of code-block in README
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-12-27 11:35:02 +08:00
Matthias Rampke
ad36bba13d
Release 0.9.0-rc2
rc1 failed to build because of CircleCI/Quay issues. Let's try this
again …

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-12-21 09:48:44 +00:00
Matthias Rampke
4d0c8ab2c2
bump to 0.9.0-rc1
since build issues prevented rc0 from being built through the normal
process, make a new release.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-12-20 17:37:27 +00:00
Matthias Rampke
f13069832d
Actually cut out staticcheck
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-12-20 17:33:24 +00:00
Matthias Rampke
d712534c13
Try working around staticcheck issues
by not running staticcheck. meh.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-12-20 17:31:40 +00:00
Matthias Rampke
15e0f4c963
Release candidate for 0.9.0
both the client library update and the TTLs may have unexpected
consequences. cut a pre-release so that they can be test driven.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-12-20 16:50:45 +00:00
Matthias Rampke
141e366e22
Add CHANGELOG entry for #164
Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-12-20 16:49:50 +00:00
Matthias Rampke
cd3a546179
Clarify TTLs configuration remark
I realized that "TTLs are applied" is ambiguous. Metrics don't only
expire on receiving a sample, so mention that this is about the
configuration.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-12-20 16:47:22 +00:00
Matthias Rampke
7364c6fe44
Merge pull request #164 from flant/remove_stale_metrics
Remove stale metrics
2018-12-20 16:45:49 +00:00
Ivan Mikheykin
699c11ca11 Rework tests to not depend on actual wall clocks
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
2018-12-19 08:24:25 +03:00
Ivan Mikheykin
331d2a56d0 Language fixes in README, reduce map lookups in saveLabelValues.
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
2018-12-19 08:24:17 +03:00
Ivan Mikheykin
e550f061f6 Use updated ttl value from mapping in saveLabelValues
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
2018-12-18 09:46:10 +03:00
Ivan Mikheykin
d1b2dd47a8 TTL expiration tests, README update
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
2018-12-18 09:46:05 +03:00
Ivan Mikheykin
57495db281 rename labelsNames to labelNames
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
2018-12-18 08:39:23 +03:00
Ivan Mikheykin
e1a3a5fc32 Configured ttl value for stale metrics
Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
2018-12-18 08:39:23 +03:00
Ivan Mikheykin
b4e29c5f18 Remove stale timeseries
- ttl is hardcoded — should be in mapping.yaml
- works with metrics without labels

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
2018-12-18 08:39:23 +03:00
Ivan Mikheykin
b638b9d808 Replace Metrics with Collectors
- use MetricVec family instead of Metric
- dynamic label values instead of ConstLabels
- use dto.Metric to gain histrogram value in exporter_test
- remove hash calculations

Signed-off-by: Ivan Mikheykin <ivan.mikheykin@flant.com>
2018-12-18 08:39:23 +03:00
Matthias Rampke
ef5d2c8a79
Add basic release note for #171
I'd like to add more detail, but I'm not sure I understand the
implications just yet, and they will probably change with #164.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-12-17 19:47:16 +00:00
Matthias Rampke
a133af8ffb
Merge pull request #171 from simonpasquier/bump-client_golang
Bump prometheus/client_golang to v0.9.2
2018-12-17 18:57:41 +00:00
Simon Pasquier
a856251d79 Bump prometheus/client_golang to v0.9.2
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-12-17 13:42:24 +01:00
Matthias Rampke
b3bf4d1f8b
Release 0.8.1
and add changelog for #169

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-12-05 21:54:40 +00:00
Matthias Rampke
e019c01fb5
Merge pull request #169 from Kong/fix-backtracking-captures-being-overwritten
fix: don't let captured fields being overwritten by backtracking
2018-12-05 21:48:52 +00:00
Wangchong Zhou
d0ad532fa1
fix: don't let captured fields being overwritten by backtracking
Signed-off-by: Wangchong Zhou <fffonion@gmail.com>
2018-12-05 11:42:34 -08:00
Matthias Rampke
275559585e
Remove false Docker name override
and the unused QUAY_IMAGE_NAME variable altogether.

Signed-off-by: Matthias Rampke <mr@soundcloud.com>
2018-11-30 16:12:19 +00:00
Matthias Rampke
b27cfd9c36
Merge pull request #166 from simonpasquier/go-modules
*: support Go modules
2018-11-30 15:39:51 +00:00
Simon Pasquier
8a4f87d19e *: support Go modules
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2018-11-29 11:14:28 +01:00
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