Brian Brazil
69f5fa0c1e
promql: Add vector function.
...
Currently the only way to convert a scalar to a vector is to
use absent(), which isn't very clean. This adds a vector()
function that's the inverse of scalar() and lets your optionally
set labels.
Example usage would be
vector(time() % 86400) < 3600
to filter to only the first hour of the day.
9 years ago
Jimmi Dyson
7ef9399920
Clean up kubernetes http response bodies
9 years ago
Fabian Reinartz
d6ed1df4fb
Merge pull request #1070 from amorken/forgotten-close
...
Close HTTP connections on HTTP errors too.
9 years ago
Anders Daljord Morken
9fb65a91af
Close HTTP connections on HTTP errors too.
...
Move defer resp.Body.Close() up to make sure it's called even when the
HTTP request returns something other than 200 or Decoder construction
fails. This avoids leaking and eventually running out of file descriptors.
9 years ago
Fabian Reinartz
66f376f75a
Merge pull request #1068 from prometheus/go1.5.1
...
Use go1.5.1
9 years ago
Fabian Reinartz
8456b7e12f
Use go1.5.1
9 years ago
Julius Volz
6e393807c3
Merge pull request #1066 from prometheus/fix-bool
...
Fix bool modifier in recording rules and printing.
9 years ago
Julius Volz
6d3e054692
Fix bool modifier in recording rules and printing.
...
Fixes https://github.com/prometheus/prometheus/issues/1065
9 years ago
Julius Volz
9a70ee752e
Merge pull request #1063 from fabric8io/kubernetes-discovery
...
Kubernetes SD config check
9 years ago
Jimmi Dyson
ec04ba38a2
Kubernetes SD config check
9 years ago
Fabian Reinartz
58c32f84ce
Merge pull request #1055 from fabric8io/kubernetes-discovery
...
Move TLS options to scrape config
9 years ago
Jimmi Dyson
a1574aa2b3
Move TLS options to scrape config
...
Fixes #1013 , fixes #989
9 years ago
Julius Volz
ffc5142c54
Merge pull request #1058 from prometheus/check-errors
...
Fix error checking and logging around checkpointing.
9 years ago
Julius Volz
6774a73878
Fix error checking and logging around checkpointing.
9 years ago
Julius Volz
011faf9057
Fix typo in comment.
9 years ago
Fabian Reinartz
09c353c272
Change mail address
9 years ago
Fabian Reinartz
e298463fd6
Merge pull request #1053 from prometheus/diag
...
Update architecture diagram
9 years ago
Fabian Reinartz
1a3ee28cd2
Point README to new architecture diagram
9 years ago
Fabian Reinartz
e761f0d664
Update architecture diagram
9 years ago
Fabian Reinartz
1ef5ed0cf2
Merge pull request #1048 from xperimental/fix/marathon-config
...
Fix parsing Marathon SD config
9 years ago
Robert Jacob
eb7416e71f
Fix missing unmarshal for Marathon SD config.
9 years ago
Julius Volz
b7b7b2e883
Merge pull request #1050 from fabric8io/kubernetes-discovery
...
Kubernetes SD improvements
9 years ago
Jimmi Dyson
d7a7fd4589
Kubernetes SD improvements
...
* Support multiple masters with retries against each master as required.
* Scrape masters' metrics.
* Add role meta label for node/service/master to make it easier for relabeling.
9 years ago
Fabian Reinartz
d839980fcb
Merge pull request #1051 from prometheus/globallabels
...
Change global label handling
9 years ago
Fabian Reinartz
8fa719f778
Attach global labels to remote storage samples
9 years ago
Fabian Reinartz
5fed076a76
Attach global labels to outgoing alerts.
9 years ago
Fabian Reinartz
9bbd9264e2
Add global labels to federation
9 years ago
Brian Brazil
9ec11b1847
Merge pull request #1049 from prometheus/bool-nofilter
...
promql: Add 'bool' modifier to comparison functions
9 years ago
Fabian Reinartz
bc89b98a7d
Merge branch 'master' of github.com:prometheus/prometheus
9 years ago
Fabian Reinartz
e3d809024c
Change email address
9 years ago
Fabian Reinartz
cc1a2a2061
Remove attachment of global labels upon ingestion
9 years ago
Fabian Reinartz
e2b979868b
Merge pull request #1047 from swsnider/upstreamed
...
Add an exported counter to track configuration reloads
9 years ago
Silas Snider
b2cb637f97
Add instrumentation around configuration reloads.
...
This commit enables automation (and alerting) around attempts to update prometheus
server configuration automatically.
9 years ago
Brian Brazil
29e8dc2c49
promql: Add 'bool' modifier to comparison functions
...
When doing comparison operations on vectors, filtering
sometimes gets in the way and you have to go to a fair bit of
effort to workaround it in order to always return a result.
The 'bool' modifier instead of filtering returns 0/1 depending
on the result of the compairson.
This is also a prerequisite to removing plain scalar/scalar comparisons,
as it maintains the current behaviour under a new syntax.
9 years ago
Fabian Reinartz
4459265739
Merge branch 'master' of github.com:prometheus/prometheus
9 years ago
Fabian Reinartz
ebf417a282
Fix map initialization
9 years ago
Julius Volz
58780a8c79
Merge pull request #1045 from prometheus/anchored-label-replace
...
Change relabel_replace() to do full-string matches.
9 years ago
Julius Volz
4c90168130
Merge pull request #1044 from prometheus/config-anchored-regexes
...
Change config regexes to full-string matches.
9 years ago
Julius Volz
61c42c8da0
Change relabel_replace() to do full-string matches.
...
THIS IS A BREAKING CHANGE.
Fixes part of https://github.com/prometheus/prometheus/issues/996
9 years ago
Julius Volz
f63a899744
Change config regexes to full-string matches.
...
This anchors all regular expressions entered via the config to match a
full string vs. a substring.
THIS IS A BREAKING CHANGE!
Fixes part of https://github.com/prometheus/prometheus/issues/996
9 years ago
Julius Volz
dfbda8fd3f
Merge pull request #1041 from Dieterbe/fix-fanout-comment
...
fix comment.
9 years ago
Dieter Plaetinck
e1dacc56e6
fix comment.
...
the sample doesn't get appended to the list of sampleappenders.
9 years ago
Fabian Reinartz
bfdd474202
Merge pull request #1040 from prometheus/fixfilesd
...
Fix draining of file watcher events
9 years ago
Fabian Reinartz
542da6774e
Fix draining of file watcher events
9 years ago
Fabian Reinartz
facf60e033
Merge pull request #1033 from dln/serverset-shard
...
serverset discovery: extract shard number from serverset data
9 years ago
Daniel Lundin
4abf54b747
serverset: extract shard number from serverset data
9 years ago
Brian Brazil
4d196fea6b
Merge pull request #1032 from prometheus/scalar-metric
...
rules: Allow for setting labels on LHS on scalars
9 years ago
Brian Brazil
3bcdb2bbba
rules: Allow for setting labels on LHS on scalars
9 years ago
Julius Volz
9bca70710b
Merge pull request #1034 from prometheus/fix-pprof
...
Add POST handler for /debug to fix CPU profiling.
9 years ago
Julius Volz
da2499d5a5
Add POST handler for /debug to fix CPU profiling.
...
`go tool pprof` sends a POST request to enable CPU profiling, so we also
need to handle that method.
9 years ago