Brian Brazil
dc4d5fef2a
Merge pull request #1762 from prometheus/fabxc-common
...
vendor: update common/expfmt
2016-06-23 16:23:59 +01:00
Fabian Reinartz
e2bc30585f
vendor: update common/expfmt
...
Update the exposition library to drop the JSON format decoding.
2016-06-23 17:21:06 +02:00
Fabian Reinartz
6f6dddb230
Merge pull request #1759 from prometheus/separate-querier
...
Separate query interface out of local.Storage.
2016-06-23 15:56:03 +02:00
Julius Volz
b7b6717438
Separate query interface out of local.Storage.
...
PromQL only requires a much narrower interface than local.Storage in
order to run queries. Narrower interfaces are easier to replace and
test, too.
We could also change the web interface to use local.Querier, except that
we'll probably use appending functions from there in the future.
2016-06-23 15:14:38 +02:00
Fabian Reinartz
0e281f5500
Merge pull request #1687 from royels/issue-1629
...
Added power binop
2016-06-23 10:28:57 +02:00
royels
2fdc5717a3
promql: add power binary operation
2016-06-22 23:34:46 -04:00
Fabian Reinartz
f928ca13d0
Merge pull request #1754 from prometheus/jan11011977-master
...
Fix 'access denied' error on Windows
2016-06-21 11:24:59 +02:00
Jan van Valburg
68f3df49d0
stoarge: fix 'access denied' error on Windows
...
On Windows, it is not possible to rename or delete a file that is
currerntly open. This change closes the file in dropAndPersistChunks
before it tries to delete it, or rename the temporary file to it.
2016-06-21 11:21:20 +02:00
Fabian Reinartz
beecbe3d2f
Merge branch 'release-0.20'
2016-06-17 14:43:10 +02:00
Brian Brazil
f3e3befb83
Merge pull request #1746 from fatih/fix-alertstmt-print
...
promql: fix printing annotations of an *AlertStmt
2016-06-16 16:49:19 +01:00
Fatih Arslan
362e44501a
promql: fix printing annotations of an *AlertStmt
...
Currently the printer doesn't print the annotations of an `*AlertStmt`
declaration. I've added a test case as well, which fails for the current
master.
2016-06-16 17:43:54 +03:00
Fabian Reinartz
aeab25c35d
Merge pull request #1742 from prometheus/fabxc-0.20.0
...
*: cut 0.20.0
2016-06-15 17:52:52 +02:00
Fabian Reinartz
3a9b739f30
*: cut 0.20.0
2016-06-15 17:31:26 +02:00
Fabian Reinartz
bae1cfee69
Merge pull request #1739 from prometheus/fabxc-opendbsd-arm
...
promu: don't build openbsd/arm
2016-06-15 17:20:16 +02:00
Fabian Reinartz
384153fe1f
promu: don't build openbsd/arm and mips
...
Deactivate crossbuilding for openbsd/arm and mips as golang.org/x/sys
does not have the necessary syscalls implemented.
2016-06-15 15:41:22 +02:00
Fabian Reinartz
4aeab798e8
Merge pull request #1738 from prometheus/release-0.19
...
Forward-merge 0.19 fixes into master
2016-06-14 18:11:47 +02:00
Fabian Reinartz
3c80609fce
Merge pull request #1737 from prometheus/fabxc-0.19.3
...
Bump version to 0.19.3
2016-06-14 18:04:56 +02:00
Fabian Reinartz
a5b35498a8
*: bump version to 0.19.3
2016-06-14 14:19:31 +02:00
Fabian Reinartz
4c864c8a88
retrieval: don't sync to uninitialized scrape pool
...
This change does just signal a scrape target update to the scraping loop
once an initial target set is fetched.
Before, the scrape pool was directly synced, causing a race against an
uninitialized scrape pool.
Fixes #1703
2016-06-14 14:18:40 +02:00
Fabian Reinartz
4f139c765b
Merge pull request #1736 from prometheus/fabxc-ctxpanic
...
retrieval: don't sync to uninitialized scrape pool
2016-06-14 14:16:11 +02:00
Fabian Reinartz
452486bd22
Merge pull request #1735 from prometheus/beorn7/race
...
discovery/marathon: Fix race conditions in test
2016-06-14 14:12:16 +02:00
Fabian Reinartz
d0eeae9d0e
retrieval: don't sync to uninitialized scrape pool
...
This change does just signal a scrape target update to the scraping loop
once an initial target set is fetched.
Before, the scrape pool was directly synced, causing a race against an
uninitialized scrape pool.
Fixes #1703
2016-06-14 14:04:22 +02:00
beorn7
03adbe57e4
discovery/marathon: Fix race conditions in test
...
The concurrency applied before is in most cases not even needed. With
a cap=1 channel, most tests are much cleaner.
TestMarathonSDRunAndStop was trickier. It could even have blocked
before.
This also includes a general refactoring of the whole file.
2016-06-14 13:12:53 +02:00
Björn Rabenstein
43a36e545b
Merge pull request #1732 from prometheus/beorn7/doc
...
Update scrape config in example prometheus.yml
2016-06-14 10:01:39 +02:00
beorn7
44aa7ec46d
doc: Update scrape config in example prometheus.yml
2016-06-14 09:57:03 +02:00
Björn Rabenstein
2ea3a837c3
Merge pull request #1731 from prometheus/release-0.19
...
Forward-merge 0.19 fixes to master
2016-06-14 09:21:52 +02:00
Björn Rabenstein
bc58d3dc50
Merge pull request #1729 from rohit01/release-0.19
...
discovery/marathon: #1722 - ignore apps with zero ports
2016-06-14 08:14:45 +02:00
rohit01
47dd5f74ba
discovery/marathon: #1722 - ignore apps with zero ports
2016-06-14 04:44:00 +05:30
Fabian Reinartz
3dcdd2b5ea
Merge pull request #1728 from alileza/file_sd
...
Re-ordering config validation
2016-06-13 09:32:58 +02:00
Ali Reza
98c156c361
reorder config validation, move checkOverflow before any other validation
2016-06-13 10:02:20 +07:00
Brian Brazil
a3c4beb6ee
Merge pull request #1721 from prometheus/console-time
...
Do our own date parsing in console template graph controls.
2016-06-10 10:29:02 +01:00
Brian Brazil
4dbe689632
Do our own date parsing in console template graph controls.
...
Fixes #1442
2016-06-10 10:23:40 +01:00
Fabian Reinartz
a08943e6d3
Merge pull request #1718 from prometheus/fabxc-template-round
...
web: round last scrape timestamp to milliseconds
2016-06-08 20:30:01 +02:00
Fabian Reinartz
25135c3691
web: round last scrape timestamp to milliseconds
2016-06-08 20:23:54 +02:00
Fabian Reinartz
76ffdf4cc5
Merge pull request #1716 from prometheus/fabxc-static-configs
...
config: deprecate `target_groups` for `static_configs`
2016-06-08 16:14:21 +02:00
Fabian Reinartz
0f21bd31ca
config: deprecate target_groups
for static_configs
...
This change deprecates the `target_groups` option in favor
of `static_configs`. The old configuration is still accepted
but prints a warning.
Configuration loading errors if both options are set.
2016-06-08 15:55:25 +02:00
Fabian Reinartz
ad18ac51b8
Merge pull request #1715 from prometheus/fabxc-vendor-fsnotify
...
vendor: update gopkg.in/fsnotify.v1
2016-06-08 15:33:23 +02:00
Fabian Reinartz
733ed099f5
vendor: update gopkg.in/fsnotify.v1
...
This updates the fsnotify package, which now uses golang.org/x/sys/unix
package. This fixes #1507 .
2016-06-08 11:59:16 +02:00
Brian Brazil
05b918a024
Merge pull request #1713 from mattbostock/document_drop
...
Relabel: Document whole label set is dropped
2016-06-07 17:22:34 +01:00
Matt Bostock
329a00e44f
Relabel: Document whole label set is dropped
...
From the documentation and current tests, it wasn't immediately clear to
me whether the `target` being dropped as the result of a 'drop' action
was a label key-value pair or the entire labelset.
Add a test that documents this behaviour.
Documentation: https://prometheus.io/docs/operating/configuration/
2016-06-07 17:13:30 +01:00
Brian Brazil
33759dddd2
Merge pull request #1712 from fabric8io/kubernetes-sd-node-ip-labels
...
Kubernetes SD: Add labels for all node addresses and discover node port
2016-06-07 12:37:40 +01:00
Jimmi Dyson
206bcfcdaa
Kubernetes SD: Remove kubeletPort config option
2016-06-07 12:34:55 +01:00
Jimmi Dyson
d48297c904
Kubernetes SD: Add labels for all node addresses and discover node port if available
2016-06-07 12:34:49 +01:00
Fabian Reinartz
26b1c89469
Merge pull request #1702 from pdbogen/master
...
Initial local pods before using the pod list to initialize pod targets
2016-06-06 15:14:49 +02:00
Fabian Reinartz
dd57e7ef5c
Merge pull request #1699 from prometheus/fabxc-multiam
...
notifier: dispatch to multiple Alertmanagers
2016-06-06 12:01:41 +02:00
Fabian Reinartz
35ccca09ea
Merge pull request #1704 from prometheus/fabxc-ghtemplate
...
Make issue reports great again!
2016-06-06 11:49:09 +02:00
Fabian Reinartz
fa1dc018cb
.github: Add issue template
2016-06-06 11:48:14 +02:00
Fabian Reinartz
9baf120cd5
notifier: dispatch to multiple Alertmanagers
...
This commit extends the notifier to dispatch alert batches
to multiple Alertmanagers concurrently.
It changes the `-alertmanager.url` flag to accept a comma
separated list of URLs and/or to be set multiple times.
2016-06-06 11:41:10 +02:00
Björn Rabenstein
2bcf712e29
Merge pull request #1657 from joshuarubin/master
...
fix build with multi-part $GOPATH
2016-06-06 11:35:49 +02:00
Björn Rabenstein
e084d8e8c1
Merge pull request #1701 from prometheus/beorn7/lock
...
Make the number of fingerprint mutexes configurable
2016-06-03 13:31:57 +02:00