Frederic Branczyk
1fe05d40e4
Merge pull request #3831 from brancz/cut-2-2-0-rc-0
...
Cut 2.2.0-rc.0
2018-02-13 12:37:17 +01:00
Fabian Reinartz
7ccd4b39b8
*: implement query params
...
This adds a parameter to the storage selection interface which allows
query engine(s) to pass information about the operations surrounding a
data selection.
This can for example be used by remote storage backends to infer the
correct downsampling aggregates that need to be provided.
2018-02-13 12:17:22 +01:00
Frederic Branczyk
7e820ce92d
Add v2.2.0-rc.0 changelog entry
2018-02-13 11:42:12 +01:00
James Turnbull
816d755956
Added "No rules" to Web UI ( #3834 )
...
When you have no alerting rules defined you get a screen sharing this
information in the WebUI. If no rules are defined then you instead see
an empty white screen. This adds a "No rules" defined `else` clause and
a `Rules` header to the page.
2018-02-13 14:51:34 +07:00
Frederic Branczyk
82c989a16e
bump version to v2.2.0-rc.0
2018-02-12 16:36:49 +01:00
Frederic Branczyk
9666e37f32
Merge pull request #3830 from brancz/bump-tsdb
...
vendor: bump TSDB
2018-02-12 15:08:24 +01:00
Andrea Giardini
3a9637fa3c
docs: Fix remote_read/remote_timeout default ( #3829 )
2018-02-12 12:52:33 +00:00
Frederic Branczyk
63f31bd33d
vendor: bump TSDB
2018-02-12 13:50:02 +01:00
Fabian Reinartz
bc49a665d1
Merge pull request #281 from prometheus/indexversion
...
Indexversion
2018-02-12 11:58:46 +01:00
Fabian Reinartz
a345231a0e
Add test for block meta version and comments
2018-02-12 11:46:22 +01:00
Brian Brazil
66b8bdbf4a
Fix docs for #3820 ( #3823 )
2018-02-11 23:35:08 +00:00
Krasi Georgiev
a53d4ed197
drop metric name for bool modifier ( #3821 )
...
fixes #3820
2018-02-11 16:15:55 +00:00
Fabian Reinartz
04d5ac5aae
Add repair test
2018-02-09 13:43:42 +01:00
Fabian Reinartz
d09283f60a
Add repair of bad index version
2018-02-09 13:11:03 +01:00
Fabian Reinartz
72d61bcf4e
Merge pull request #257 from mattbostock/remove_unused_field
...
Remove unused field from xorAppender
2018-02-09 12:30:10 +01:00
Fabian Reinartz
5b26bd5f6f
Merge pull request #252 from simonpasquier/add-cuttoff-metrics
...
Count the total & failed numbers of block cutoffs
2018-02-09 12:28:22 +01:00
Fabian Reinartz
dfdd2cb5f4
Merge pull request #3793 from filipochnik/reject-empty-label-names
...
textparse: reject empty label names
2018-02-09 11:26:48 +01:00
Krasi Georgiev
4801573b64
time() return milliseconds ( #3811 )
2018-02-08 11:39:13 +00:00
Krasi Georgiev
404b306fb9
Meta labels sd 3693 ( #3805 )
...
Always keep the discovered labels up to date.
add test that DiscoveredLabels are always updated
2018-02-07 10:29:27 +00:00
Tobias Schmidt
6edc493c95
Merge pull request #3801 from azmelanar/add-cii-badge
...
Add CII Badge
2018-02-06 17:26:28 +01:00
Dmytro Slupytskyi
28b4ecf985
add cii badge
2018-02-05 20:39:32 +01:00
Fabian Reinartz
ffe73cd0a6
Merge pull request #246 from nipuntalukdar/fixatest
...
fixed an issue in TestWALRestoreCorrupted
2018-02-05 17:47:31 +01:00
Tom Wilkie
a730083cbf
Merge pull request #3731 from bboreham/reuse-timer
...
Re-use timer in remote storage queue
2018-02-05 10:54:08 +01:00
Goutham Veeramachaneni
6c62437101
Fix metric unit ( #275 )
...
Fixes #274
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2018-02-05 08:36:18 +00:00
Goutham Veeramachaneni
bb0e74b343
Fix reader for large index files.
...
Currently the offsets are cast into uint32 even though the index can
grow larger than 4GiB.
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2018-02-05 13:51:22 +05:30
Filip Ochnik
ec1c6b7c29
textparse: reject empty label names
2018-02-04 17:37:46 +01:00
Lovisa Svallingson
460fe4dd0c
Fix: Improve typeahead on /graph page ( #3742 )
...
* Do not autoselect the first item in the dropdown
* Historical queries only show in dropdown when toggled on
* Move shared behavior to queryHistory.isEnabled function
* Do not auto submit selected history queries
2018-02-02 19:16:29 +01:00
Conor Broderick
5169ccf258
Merge pull request #3724 from simonpasquier/fix-bad-data-error
...
Don't reset FiredAt for inactive alerts
2018-02-01 16:18:09 +00:00
Frederic Branczyk
81a96d3140
Merge pull request #3779 from krasi-georgiev/rename-retrieval-to-scrape
...
Rename retrieval to scrape
2018-02-01 14:16:34 +01:00
Krasi Georgiev
6ce84dbcb1
rename ScrapeManager struct to Manager to remove stutter
2018-02-01 10:06:24 +00:00
Krasi Georgiev
b75428ec19
rename package retrieve to scrape
...
no fucnctinal changes just renaming retrieval to scrape
2018-02-01 09:55:07 +00:00
Frederic Branczyk
b30ee3e69a
Merge pull request #3766 from krasi-georgiev/renaming-consistency
...
rename structs for consistency
2018-02-01 07:08:38 +01:00
Tom Wilkie
de17498608
Merge pull request #3736 from tomwilkie/3715-2.1-cpu
...
Don't allocate a mergeSeries if there is only one series to merge.
2018-01-31 16:17:29 +00:00
Krasi Georgiev
7858745c04
rename structs for consistency
2018-01-30 17:49:05 +00:00
Frederic Branczyk
af547ce862
Merge pull request #3709 from krasi-georgiev/bearer-token
...
read bearer token on every request + some http and scrape tests
2018-01-30 18:17:54 +01:00
Frederic Branczyk
d3ae1ac40e
Merge pull request #3741 from krasi-georgiev/discovery-race
...
read/write race for the context field in the discovery package
2018-01-30 18:17:09 +01:00
pasquier-s
bde64cf5a6
Fix Kubernetes endpoints SD for empty subsets ( #3660 )
...
* Fix Kubernetes endpoints SD for empty subsets
When an endpoints object has no associated pods (replica scaled to zero
for instance), the endpoints SD should return a target group with no
targets so that the SD manager propagates this information to the scrape
manager.
Fixes #3659
* Don't send nil target groups from the Kubernetes SD
This is to be consistent with the endpoints SD part.
2018-01-30 15:00:33 +00:00
Krasi Georgiev
4d47a48422
client test comment nits.
2018-01-29 15:26:46 +00:00
Krasi Georgiev
818dda72db
updated the sd tests
2018-01-29 15:19:15 +00:00
Krasi Georgiev
acc4197098
remove dicovery race for the context field
2018-01-29 15:18:07 +00:00
Frederic Branczyk
47538cf6ce
Merge pull request #3747 from prometheus/sched-update-throttle
...
Update throttle & tsdb update
2018-01-29 16:05:05 +01:00
Frederic Branczyk
73e829137b
discovery: Cleanup ticker
2018-01-29 13:51:04 +01:00
Tom Wilkie
3dc5b8eef5
Use sub benchmarks.
2018-01-29 11:37:48 +00:00
Paddy Newman
568ecce421
Fix rendering issues with console templates. ( #3744 )
...
Move tables into the content area so that graphs and very long/wide tables are
readable.
The issue is present on the node-overview and node-disk pages when the tables
are very long and wide. E.g., the host has lots of NICs, disks and filesystems
and the filesystem names are very long. We have very long lists of long Docker
filesystem names in our Kubernetes clusters.
I know people don't really care about the console templates anymore but they
are still useful in some cases and the queries are a nice reference for
beginners.
2018-01-29 10:38:39 +00:00
Ganesh Vernekar
66b0aa3b45
Fixed race condition in map iteration and map write in Discovery ( #3735 ) ( #3738 )
...
* Fixed concurrent map iteration and map write in Discovery (#3735 )
* discovery: Changed Lock to RLock in Collect
2018-01-28 22:24:31 +05:30
Krasi Georgiev
fe926e7829
update the discover tests
...
the discovery test is now only testing update and get groups.
It doesn't do an e2e test but just a unit test of setting and receiving
target groups
2018-01-27 12:03:06 +00:00
Julien Pivotto
8b20cb1e8d
last config success time gauge: use SetToCurrentTime() ( #3750 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2018-01-27 07:48:13 +00:00
Callum Styan
7dc05538f7
docs: SD implementations do not have to only send new/changed target groups ( #3713 )
2018-01-26 22:03:11 +00:00
Frederic Branczyk
46693444de
vendor: Update github.com/prometheus/tsdb
2018-01-26 16:24:51 +01:00
Frederic Branczyk
cfa0253ed8
discovery: Schedule updates to throttle
2018-01-26 16:24:44 +01:00