Commit Graph

2916 Commits

Author SHA1 Message Date
Morten Siebuhr
5fec020b27 Initial fuzzing corpus for ParseExpr. 2016-04-29 22:50:24 +02:00
Morten Siebuhr
0ebcca5eb7 Add basic fuzzer of the parser. 2016-04-29 22:50:24 +02:00
Brian Brazil
04293424eb Merge pull request #1571 from prometheus/ignoring
Fix for #1503
2016-04-26 16:02:12 +01:00
Brian Brazil
68e70d992a Clarify error message around on(x) group_left(x) 2016-04-26 14:31:00 +01:00
Brian Brazil
7201c010c4 Rename On to MatchingLabels 2016-04-26 14:28:36 +01:00
Björn Rabenstein
95a7a58eb5 Merge pull request #1591 from prometheus/beorn7/logging
Bring back logging of discarded samples
2016-04-26 01:47:24 +02:00
beorn7
07a294ac15 Doc comment fixes 2016-04-26 01:05:56 +02:00
beorn7
20cba1ed8f Initialize metric vectors in memorySeriesStorage 2016-04-25 17:08:07 +02:00
Fabian Reinartz
5837e6a97f discovery: move consul SD into own package 2016-04-25 16:56:27 +02:00
beorn7
d566808d40 Bring back logging of discarded samples
But only on DEBUG level.

Also, count and report the two cases of out-of-order timestamps on the
one hand and same timestamp but different value on the other hand
separately.
2016-04-25 16:43:52 +02:00
Julius Volz
25775b3583 Merge pull request #1588 from jhermann/patch-1
Explicit link to full install docs added
2016-04-25 12:20:28 +02:00
Jürgen Hermann
b5c09310e5 Explicit link to full install docs added 2016-04-25 11:31:38 +02:00
Fabian Reinartz
490ff9fee8 Merge pull request #1580 from prometheus/fabxc/quay
build: push to Dockerhub and Quay
2016-04-24 13:16:43 +02:00
Fabian Reinartz
e15c35431b build: push to Dockerhub and Quay 2016-04-24 12:16:53 +02:00
Brian Brazil
816193f254 Merge pull request #1581 from prometheus/vendorup
vendor: update govalidator
2016-04-24 09:56:30 +01:00
Fabian Reinartz
838c74ee9f vendor: update govalidator 2016-04-24 10:13:39 +02:00
Fabian Reinartz
53fe5639bf Merge pull request #1576 from sdurrheimer/change-circleci-test-image
Update CircleCI test docker image
2016-04-24 09:56:02 +02:00
Steve Durrheimer
3c6432ae2a
Update CircleCI test docker image 2016-04-23 15:17:28 +02:00
Fabian Reinartz
9003ee441b Merge pull request #1577 from sdurrheimer/fix-git-branch-with-slash-as-docker-tag
Fix git branch with slash as docker tag
2016-04-23 15:14:46 +02:00
Tobias Schmidt
0647926817 Merge pull request #1578 from prometheus/time-in-hoverdetail
Include date and time in graph hover detail.
2016-04-22 17:10:00 -04:00
Julius Volz
c78bd13a2b Include date and time in graph hover detail.
This is the same solution as applied to PromDash in
https://github.com/prometheus/promdash/pull/72.

Fixes https://github.com/prometheus/prometheus/issues/1569
2016-04-22 23:00:18 +02:00
Steve Durrheimer
b2292aaa62 Fix git branch with slash as docker tag 2016-04-22 21:47:55 +02:00
Julius Volz
bf0897bea5 Merge pull request #1575 from prometheus/fix-promu-path
Fix build for people without $GOPATH/bin in $PATH.
2016-04-22 18:33:37 +02:00
Julius Volz
7735d0da63 Fix build for people without $GOPATH/bin in $PATH. 2016-04-22 18:16:00 +02:00
Brian Brazil
d991f0cf47 For many-to-one matches, always copy label from one side.
This is a breaking change for everyone using the machine roles
labeling approach.
2016-04-21 19:35:41 +01:00
Brian Brazil
768d09fd2a Change on+group_* to take copy from the one side.
If the label doesn't exist on the one side, it's not copied.

All labels on the many inside are included, this is a breaking change
but likely low impact.
2016-04-21 19:35:40 +01:00
Brian Brazil
d1edfb25b3 Add support for OneToMany with IGNORING.
The labels listed in the group_ modifier will be copied from the one
side to the many side. It will be valid to specify no labels.

This is intended to replace the existing ON/GROUP_* support.,
2016-04-21 19:35:35 +01:00
Brian Brazil
1d08c4fef0 Add 'ignoring' as modifier for binops.
Where 'on' uses the given labels to match,
'ignoring' uses all other labels to match.

group_left/right is not supported yet.
2016-04-21 19:34:29 +01:00
Brian Brazil
f5084ab1c5 Add tests for group_left/group_right 2016-04-21 16:52:53 +01:00
Fabian Reinartz
b8b114a82a Merge pull request #1556 from sdurrheimer/master
[WIP] New release process using docker, circleci and a centralized building tool
2016-04-21 16:38:32 +02:00
Fabian Reinartz
585ab6b163 Merge pull request #1494 from iamseth/master
Add discovery capability for Microsoft Azure
2016-04-21 13:49:44 +02:00
Steve Durrheimer
8688cf2579
New release process using docker, circleci and a centralized
building tool
2016-04-18 22:41:04 +02:00
Brian Brazil
261aba68f1 Merge pull request #1564 from prometheus/better-tooltips
Improve before-relabeling label tooltips.
2016-04-18 19:33:54 +01:00
Julius Volz
c0b430b8e5 Improve before-relabeling label tooltips.
Yes, the label names and values really need double HTML escaping in
order to end up correctly in the tooltip after two levels of unescaping.

Fixes https://github.com/prometheus/prometheus/issues/1563
2016-04-18 20:23:41 +02:00
Fabian Reinartz
f12ebd6635 Update changelog for 0.18.0 2016-04-18 09:45:18 +02:00
Fabian Reinartz
b489427ea4 Bump version to 0.18.0 2016-04-18 09:42:46 +02:00
Fabian Reinartz
64ed5d0cc7 Merge pull request #1561 from prometheus/fabxc/alerterr
Add error message if old alert rule tokens are read
2016-04-16 22:44:15 +02:00
Fabian Reinartz
fceedfa807 Add error message if old alert rule tokens are read 2016-04-16 22:25:51 +02:00
Brian Brazil
78e43ff758 Merge pull request #1560 from prometheus/fix-keep-common-printing
Fix missing printed keep_common without grouping.
2016-04-15 18:54:03 +01:00
Julius Volz
6ac39700ea Fix missing printed keep_common without grouping. 2016-04-15 19:48:17 +02:00
Björn Rabenstein
23d383a743 Merge pull request #1559 from prometheus/beorn7/storage
Never drop a still open head chunk.
2016-04-15 19:34:11 +02:00
beorn7
db16acd7fb Never drop a still open head chunk. 2016-04-15 19:18:40 +02:00
Björn Rabenstein
096a2ef200 Merge pull request #1555 from prometheus/beorn7/cd
Checkpoint fingerprint mappings only upon shutdown
2016-04-15 01:05:32 +02:00
beorn7
a90d645378 Checkpoint fingerprint mappings only upon shutdown
Before, we checkpointed after every newly detected fingerprint
collision, which is not a problem as long as collisions are
rare. However, with a sufficient number of metrics or particular
nature of the data set, there might be a lot of collisions, all to be
detected upon the first set of scrapes, and then the checkpointing
after each detection will take a quite long time (it's O(n²),
essentially).

Since we are rebuilding the fingerprint mapping during crash recovery,
the previous, very conservative approach didn't even buy us
anything. We only ever read from the checkpoint file after a clean
shutdown, so the only time we need to write the checkpoint file is
during a clean shutdown.
2016-04-15 01:03:28 +02:00
Fabian Reinartz
f6c29843fb Merge pull request #1552 from prometheus/link-to-documentation
Add link to prometheus.io in the README
2016-04-14 10:38:06 +02:00
Tobias Schmidt
92d5054c67 Add link to prometheus.io in the README 2016-04-13 22:23:33 -04:00
Julius Volz
4a372fdcfb Merge pull request #1554 from jonboulle/master
Add missing Apache license headers + travis check
2016-04-13 16:36:41 +02:00
Jonathan Boulle
096219d535 Add check_style to travis configuration 2016-04-13 16:09:52 +02:00
Jonathan Boulle
38098f8c95 Add missing license headers
Prometheus is Apache 2 licensed, and most source files have the
appropriate copyright license header, but some were missing it without
apparent reason. Correct that by adding it.
2016-04-13 16:08:22 +02:00
Jonathan Boulle
1c8262be12 Add script to check for missing license headers
Also adds a `check_license` target to the Makefile to run the script
2016-04-13 16:08:14 +02:00