Commit graph

2538 commits

Author SHA1 Message Date
Fabian Reinartz 8a67110041 Revert autocomplete changes 2016-01-11 15:18:39 +01:00
Brian Brazil e0efe75c2d Merge pull request #1302 from iksaif/master
Use '.' instead of '=' to separate labels from their values in Graphite
2016-01-11 13:01:35 +00:00
Corentin Chary 7b6c3e556c Use '.' instead of '=' to separate labels from their values in Graphite
Using .label=value. was weird to use in Graphite and didn't bring much value.
2016-01-11 13:57:14 +01:00
Fabian Reinartz 37d28bf91a Merge pull request #1300 from prometheus/oldalerts
Support old alerting rule syntax
2016-01-11 12:14:47 +01:00
Fabian Reinartz 6b4a6962d2 Support old alerting rule syntax 2016-01-11 12:14:06 +01:00
Fabian Reinartz c44594185f Merge pull request #1298 from prometheus/rulemgrfix
Fix premature rule evaluation
2016-01-08 18:32:16 +01:00
Fabian Reinartz 37d80c4b25 Fix premature rule evaluation
This commit prevents rule evaluation from starting until after
the storage is ready.
2016-01-08 17:51:22 +01:00
Björn Rabenstein c0474d5ffe Merge pull request #1295 from prometheus/beorn7/rate
promql: Limit extrapolation of delta/rate/increase
2016-01-08 15:34:16 +01:00
Brian Brazil c77c3a8c56 promql: Limit extrapolation of delta/rate/increase
The new implementation detects the start and end of a series by
looking at the average sample interval within the range. If the first
(last) sample in the range is more than 1.1*interval distant from the
beginning (end) of the range, it is considered the first (last) sample
of the series as a whole, and extrapolation is limited to half the
interval (rather than all the way to the beginning (end) of the
range). In addition, if the extrapolated starting point of a counter
(where it is zero) is within the range, it is used as the starting
point of the series.

Fixes #581
2016-01-08 15:32:43 +01:00
Fabian Reinartz adb3be4923 Merge pull request #1293 from RichiH/feature/remove_TODO
main.go: Remove warning about external_labels
2016-01-07 11:29:59 +01:00
Richard Hartmann 7da42eee6e main.go: Remove warning about external_labels 2016-01-07 11:15:14 +01:00
Fabian Reinartz aa3fff1e67 Merge pull request #1291 from prometheus/style-check
Let code format style errors fail CI
2016-01-07 10:42:22 +01:00
Tobias Schmidt e7fb9d096b Let code format style errors fail CI 2016-01-06 18:29:28 -05:00
Brian Brazil a50b699708 Merge pull request #1290 from prometheus/max-nan
Handle NaN for min/max.
2016-01-06 12:47:40 +00:00
Brian Brazil 89760dd77d Handle NaN for min/max.
Similar to topk and sort, prefer not returning NaN
where possible.
2016-01-06 12:41:40 +00:00
Fabian Reinartz b683581f8f Merge pull request #1285 from prometheus/fix-rate-consoles
All console expressions should use irate.
2016-01-05 13:14:31 +01:00
Brian Brazil 544f3d6cee All console expressions should use irate. 2016-01-05 11:53:22 +00:00
Brian Brazil 0109300963 Merge pull request #1283 from prometheus/venup
Upgrade common/log vendoring.
2016-01-04 13:54:41 +00:00
Fabian Reinartz cadca0aa23 Upgrade common/log vendoring.
Fixes #1186
2016-01-04 14:48:35 +01:00
Brian Brazil 329670e743 Merge pull request #1282 from prometheus/document-idb-pw
Document INFLUXDB_PW env var in username flag
2016-01-04 00:01:37 +00:00
Julius Volz 87d1831f12 Document INFLUXDB_PW env var in username flag
Fixes https://github.com/prometheus/prometheus/issues/1281
2016-01-04 00:18:41 +01:00
Brian Brazil 55e85a8c2e Merge pull request #1279 from prometheus/sort
Similar to topk/bottomk, have sort/sort_desc put NaN at end.
2015-12-31 15:01:42 +00:00
Brian Brazil bac1f28cad Similar to topk/bottomk, have sort/sort_desc put NaN at end.
This makes topk and bottomk consistent with the sorting functions,
as per #1271.
2015-12-31 14:52:48 +00:00
Fabian Reinartz 60287319d3 Merge pull request #1272 from prometheus/labelskw
Change WITH keyword to LABELS
2015-12-23 15:14:03 +01:00
Fabian Reinartz 4209ec6864 Change WITH keyword to LABELS 2015-12-23 14:54:02 +01:00
Fabian Reinartz 92c851f322 Merge pull request #1266 from prometheus/ruels
rules/ refactoring
2015-12-23 12:36:00 +01:00
Fabian Reinartz 0cf3c6a9ef Add comments, rename a method 2015-12-23 12:29:28 +01:00
Brian Brazil 27dd8065ca Merge pull request #1271 from prometheus/topk-nan
Make topk/bottomk prefer returning real numbers over NaN.
2015-12-22 14:50:43 +00:00
Brian Brazil 88ca82304c Make topk/bottomk prefer returning real numbers over NaN. 2015-12-22 13:53:43 +00:00
Brian Brazil edf3e123f5 Move topk/bottomk tests from legacy. 2015-12-22 12:38:32 +00:00
Fabian Reinartz bf6abac8f4 Send resolved notifications 2015-12-17 15:42:26 +01:00
Fabian Reinartz f69e668fc4 Improve rules/ instrumentation
This commit adds a counter for the total number of rule evaluations
and standardizes the units to seconds.
2015-12-17 15:42:26 +01:00
Fabian Reinartz 62075aa037 Reduce noisy no-alertmanager warning 2015-12-17 15:42:26 +01:00
Fabian Reinartz 52e5224f5a Refactor rules/ package 2015-12-17 15:42:25 +01:00
Fabian Reinartz e4fabe135a Set StartsAt to time of first firing state 2015-12-17 11:36:58 +01:00
Fabian Reinartz e34f0fd0b5 Merge pull request #1268 from prometheus/fedfix
Don't federate stale samples
2015-12-16 14:05:53 +01:00
Fabian Reinartz b35e25a082 Don't federate stale samples 2015-12-16 13:45:44 +01:00
Fabian Reinartz 5af6dda58c Merge pull request #1263 from prometheus/notify
Annotations for alerting rules
2015-12-14 10:19:34 +01:00
Fabian Reinartz 7c90db22ed Use annotation based alerts in rules/
This commit breaks the previously used alert format.
2015-12-14 10:16:07 +01:00
Fabian Reinartz af3a6661ed Implement new alerting rule syntax 2015-12-11 17:02:34 +01:00
Fabian Reinartz a8c0307db4 Merge pull request #1262 from prometheus/notify
Notification handler
2015-12-11 15:43:48 +01:00
Fabian Reinartz 2c8a96ecdc Adjust notification handler flags 2015-12-11 15:17:32 +01:00
Fabian Reinartz e114ce0ff7 Refactor notification handler 2015-12-11 15:17:32 +01:00
Fabian Reinartz 5635d6bd13 Vendor ctxhttp package 2015-12-10 16:32:04 +01:00
Brian Brazil 6b7629be27 Merge pull request #1242 from tommyulfsparre/watcher-fix
Reduces watches in serverset
2015-12-10 10:43:57 +00:00
Brian Brazil 3270fa6afe Merge pull request #1260 from prometheus/validate
Update common/{expfmt,model}
2015-12-10 10:25:20 +00:00
Fabian Reinartz e0f70ed5ca Update common/{expfmt,model}
Closes #1232
2015-12-10 11:19:46 +01:00
Jimmi Dyson e1a8e74e0b Merge pull request #1257 from fabric8io/kubernetes-discovery
Kubernetes SD: Use first TCP service port as target port & clean up example config
2015-12-08 11:25:56 +00:00
Jimmi Dyson c12fb447b8 Kubernetes SD: Use first TCP service port as target port & clean up
example config

Fixes #1256
2015-12-08 10:29:40 +00:00
Tommy Ulfsparre 83e09422bf skip already watched child nodes. 2015-12-02 21:31:05 +01:00