Tom Wilkie
b11bc8ae24
Fix some comments.
2017-08-01 11:19:35 +01:00
Tom Wilkie
4c5c22dcf1
Rename proto package from remote -> prometheus.
2017-08-01 11:12:34 +01:00
Tom Wilkie
cf105f9d57
Update example remote adapters for change in proto location.
2017-07-19 16:39:02 +01:00
Tom Wilkie
ec999ff397
Prevent number of remote write shards from going negative.
...
This can happen in the situation where the system scales up the number of shards massively (to deal with some backlog), then scales it down again as the number of samples sent during the time period is less than the number received.
2017-07-19 16:32:09 +01:00
Tom Wilkie
1f3b59ccf5
s/met/lset/
2017-07-18 11:42:29 +01:00
Tom Wilkie
a09acdcc5b
Make concreteSeriersIterator behave.
2017-07-13 18:33:08 +01:00
Tom Wilkie
994a7f27d6
Propagate errors through mergeSeriesSet correctly.
2017-07-13 15:02:01 +01:00
Tom Wilkie
2e0d8487e3
Return zeros if At() is called after Next() returns false.
2017-07-13 14:40:29 +01:00
Tom Wilkie
014bd31a86
Remove unnecessary whitespace changes, add comment.
2017-07-13 11:26:46 +01:00
Tom Wilkie
98ac07f86a
Add unit test for the merging on the read path.
2017-07-13 11:05:38 +01:00
Tom Wilkie
2ac1809a5b
Get label set from cache in addReportSample.
2017-07-12 22:09:16 +01:00
Tom Wilkie
b568ace7ce
Move protos to ./prompb
2017-07-12 22:06:35 +01:00
Tom Wilkie
240feb313b
Don't regenerate label set for cached values.
2017-07-12 15:54:38 +01:00
Tom Wilkie
96e25adc8d
Introduce 'primary' storage in fanout, and have Add return the ref from the primary.
...
Also, ensure all append batches are rolled back when a commit or rollback fails.
2017-07-12 15:51:05 +01:00
Tom Wilkie
db8128ceeb
Add label set as first parameter to AddFast, ingored by TSDB adapter.
2017-07-12 15:20:12 +01:00
Tom Wilkie
2dda5775e3
Initial port of remote storage to v2.
2017-07-12 12:27:57 +01:00
Fabian Reinartz
16464c3a33
Merge pull request #2910 from prometheus/adminapi
...
Admin API
2017-07-11 17:15:49 +02:00
Fabian Reinartz
32226e30f5
Guard reload and quit endpoints by flag
2017-07-11 14:25:07 +02:00
Fabian Reinartz
2067d4cfe2
Merge pull request #2925 from prometheus/fix-alert-labels
...
Fix alert label display in /alerts UI
2017-07-10 15:32:54 +02:00
Fabian Reinartz
45ac064669
web: disable Amin APIs by default
2017-07-10 09:29:41 +02:00
Fabian Reinartz
ccf9e62972
*: add admin grpc API
2017-07-10 09:14:14 +02:00
Julius Volz
13006feb1e
Fix alert label display in /alerts UI
2017-07-08 11:42:13 +02:00
Goutham Veeramachaneni
e1fc9dc78d
Move /rules to new format ( #2901 )
...
Fixes #2891
Signed-off-by: Goutham Veeramachaneni <goutham@boomerangcommerce.com>
2017-07-08 11:38:02 +02:00
Fabian Reinartz
b420412135
Merge pull request #2915 from Gouthamve/parse-fuz
...
textparse: Add fuzzing and fix bug caught
2017-07-07 13:15:55 +02:00
Goutham Veeramachaneni
b7eddbcd98
textparse: Add fuzzing and fix bug caught
...
See https://github.com/cznic/golex/issues/11 for info on the bug
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-07-07 11:12:17 +02:00
Fabian Reinartz
9c8be7575c
Merge pull request #2906 from Gouthamve/error-ptr-match
...
Convert tsdb.ErrOutOfBounds to a storage error
2017-07-06 17:26:26 +02:00
Fabian Reinartz
dc15a6f6ea
vendor: add and update proto/grpc vendoring
2017-07-06 14:38:20 +02:00
Goutham Veeramachaneni
243419c007
Return tsdb.ErrOutOfBounds as storage.ErrOutOfBounds
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-07-06 14:18:31 +02:00
Fabian Reinartz
8a2850b5e1
vendor: add missing app engine dependencies
2017-07-05 16:39:50 +02:00
Fabian Reinartz
24e9deac71
Merge pull request #2859 from Gouthamve/docker-nobody
...
Dockerfile: Run as nobody
2017-07-05 16:13:21 +02:00
Fabian Reinartz
ad86c389cb
Merge pull request #2869 from Gouthamve/lblspc
...
parser: Support spaces everywhere
2017-07-05 16:10:17 +02:00
Goutham Veeramachaneni
0e78b7e7c8
parser: support spaces everywhere
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-07-05 15:52:21 +02:00
Fabian Reinartz
329992201e
Merge pull request #2897 from Gouthamve/oob-metric
...
Handle scrapes with OutOfBounds metrics better
2017-07-05 15:47:14 +02:00
Goutham Veeramachaneni
643c5837a0
Stop metrics that are 10mins ahead from now
...
Fixes #2893
Signed-off-by: Goutham Veeramachaneni <goutham@boomerangcommerce.com>
2017-07-04 15:34:08 +02:00
Fabian Reinartz
496c060f98
Merge pull request #2896 from prometheus/filepath
...
config: resolve file SD paths relative to config
2017-07-04 11:59:30 +02:00
Fabian Reinartz
65b087bcc1
config: resolve file SD paths relative to config
2017-07-04 11:40:26 +02:00
Goutham Veeramachaneni
3069bd3996
Handle scrapes with OutOfBounds metrics better
...
fixes #2894
Signed-off-by: Goutham Veeramachaneni <goutham@boomerangcommerce.com>
2017-07-04 11:24:13 +02:00
Fabian Reinartz
426125298e
vendor: update prometheus/tsdb
2017-07-03 14:41:02 +02:00
Fabian Reinartz
3845dfb715
Merge pull request #2875 from prometheus/savemetric
...
Savemetric
2017-07-03 09:26:16 +02:00
Fabian Reinartz
4b70318d11
Merge pull request #2874 from prometheus/memleak
...
retrieval: fix memory leak in scrape cache
2017-06-26 15:21:35 +02:00
Fabian Reinartz
9ea748e745
Don't reallocate label set if still known
...
If the storage deprecates a ref, we have to re-insert with the full
label set. Typically that doesn't correlate with a new series being
created.
We can still use the allocated label set from before.
2017-06-26 14:38:57 +02:00
Fabian Reinartz
2368d2c45b
retrieval: fix memory leak in scrape cache
2017-06-26 00:24:54 +02:00
Fabian Reinartz
ca2b68889b
Merge branch 'master' into dev-2.0
2017-06-23 13:15:44 +02:00
Fabian Reinartz
5cd37fe36f
Merge branch 'nolockfile' into dev-2.0
2017-06-23 11:38:08 +02:00
Fabian Reinartz
cdfd9c829d
Merge pull request #2870 from prometheus/fix-label-display-issue
...
Fix display of before-relabeling labels
2017-06-23 11:37:05 +02:00
Julius Volz
7be94d6643
Fix display of before-relabeling labels
2017-06-22 15:36:17 -04:00
Fabian Reinartz
be32afd6df
cmd/prometheus: add back tsdb.no-lockfile flag
2017-06-22 15:02:10 +02:00
Fabian Reinartz
70f96b0ffb
*: cut v2.0.0-alpha.3
2017-06-22 12:02:51 +02:00
Fabian Reinartz
e69dca6b9c
Merge pull request #2868 from Gouthamve/kingpin-promtool
...
Move promtool to kingpin
2017-06-22 11:38:29 +02:00
Goutham Veeramachaneni
f9202c6511
Move from .yaml to .yml in update rules
...
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-06-21 18:38:37 +05:30