Goutham Veeramachaneni
5c89cec65c
Stricter Relabel Config Checking for Labeldrop/keep ( #2510 )
...
* Minor code cleanup
* Labeldrop/Labelkeep Now *Only* Support Regex
Ref promtheus/prometheus#2368
2017-03-18 22:32:08 +01:00
Robson Roberto Souza Peixoto
cc3e859d9e
Add support for multiple ports in Marathon ( #2506 )
...
- create a target for every port
- add meta labels for Marathon labels in portMappings and portDefinitions
2017-03-18 22:10:44 +02:00
yklausz
75880b594f
Adding consul capability to connect via tls
2017-03-17 22:37:18 +01:00
Fabian Reinartz
c389193b37
Merge branch 'master' into dev-2.0
2017-03-17 16:27:07 +01:00
Fabian Reinartz
b586781283
*: update tsdb vendoring and add retention flag
2017-03-17 16:06:04 +01:00
Fabian Reinartz
0a7c8e9da1
Merge pull request #2504 from prometheus/grobie/fix-discovery-naming
...
Follow golang naming conventions in discovery packages
2017-03-17 08:01:48 +01:00
Tobias Schmidt
7bde44e98e
Remove testing.T usage in goroutines
...
The staticcheck warns about testing.T usage in goroutines. Moving the
t.Fatal* calls to the main thread showed immediately that this is a good
practice, as one of the test setups didn't work.
2017-03-16 23:40:46 -03:00
Tobias Schmidt
58cd39aacd
Follow golang naming conventions in discovery packages
2017-03-16 23:40:46 -03:00
Bplotka
1823ae8bc4
Fixed int64 overflow for timestamp in v1/api parseDuration and parseTime ( #2501 )
...
* Fixed int64 overflow for timestamp in v1/api parseDuration and parseTime
This led to unexpected results on wrong query with "(...)&start=148966367200.372&end=1489667272.372"
That query is wrong because of `start > end` but actually internal int64 overflow caused start to be something around MinInt64 (huge negative value) and was passing validation.
BTW: Not sure if negative timestamp makes sense even.. But model.Earliest is actually MinInt64, can someone explain me why?
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
* Added missing trailing periods on comments.
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
* MOved to only `<` and `>`. Removed equal.
Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
2017-03-16 15:16:20 +01:00
beorn7
48d221c11e
storage: Fix typo in comment
2017-03-16 11:49:41 +01:00
Robert Neumayer
feb7670929
Add tests for consul service discovery ( #2490 )
...
* Add tests for consul service discovery
* Add license header
* Address comments
* inline variables
* check for extra error
* Fix error formatting
2017-03-15 09:33:53 +01:00
Fabian Reinartz
0ecd205794
promql: Use buffer pool for matrix allocations
2017-03-14 10:57:34 +01:00
Tom Wilkie
75bb0f3253
Review feedback
2017-03-13 21:24:49 +00:00
Tom Wilkie
77cce900b8
Fix tests
2017-03-13 15:21:59 +00:00
Tom Wilkie
b48799a01e
Add license stanza
2017-03-13 14:50:15 +00:00
Tom Wilkie
9d22f030cf
Dynamically reshard the QueueManager based on observed load.
2017-03-13 14:41:16 +00:00
Wéber Gyula
5aa90c075b
added docker run command to readme ( #2491 )
...
* added docker run command to readme
* updated codebox in readme
2017-03-13 11:37:25 +01:00
Fabian Reinartz
de1e4322d7
Merge pull request #2474 from Gouthamve/custom-timeouts-1399
...
Support Custom Timeout for Queries
2017-03-12 14:20:59 +01:00
Fabian Reinartz
b09b90a940
Correctly close querier on error, revendor tsdb
2017-03-09 15:40:52 +01:00
Fabian Reinartz
3abf54c660
Merge branch 'dev-2.0-compact' into dev-2.0
2017-03-08 17:01:32 +01:00
Fabian Reinartz
f160c4eb20
vendor: integrate various tsdb fixes
2017-03-08 16:54:48 +01:00
Fabian Reinartz
5ec1efe622
retrieval: fix test
2017-03-08 15:37:12 +01:00
Fabian Reinartz
2677f3eaf2
Merge pull request #2462 from m-kraus/master
...
Allow the use of bearer_token or bearer_token_file for MarathonSD authorization
2017-03-08 10:33:26 +01:00
Julius Volz
e22553edd2
Merge pull request #2468 from agaoglu/version-statics
...
Adding version to names of static files
2017-03-07 22:22:01 +01:00
Erdem Agaoglu
90625b0400
Use revision as cachebuster
2017-03-07 18:03:52 +03:00
Fabian Reinartz
b416ccb650
vendor: add old inluxdb client
2017-03-07 12:04:15 +01:00
Fabian Reinartz
8a8eb12985
storage/tsdb: don't use partitioned DB.
2017-03-07 11:51:30 +01:00
Fabian Reinartz
9eb1d6c927
remote: take code from master
2017-03-07 11:43:32 +01:00
Fabian Reinartz
d9fb57cde4
*: Simplify []byte to string unsafe conversion
2017-03-07 11:41:11 +01:00
Goutham Veeramachaneni
4b0270290b
Fix comments to match convention
2017-03-06 23:21:27 +05:30
Goutham Veeramachaneni
c6b329c55b
Support Custom Timeouts for Queries
2017-03-06 23:02:21 +05:30
Goutham Veeramachaneni
6634984a38
Comments and Typo Fixes
2017-03-06 17:16:37 +05:30
Fabian Reinartz
6aee1551e1
Merge pull request #2470 from StephanErb/zk-deadlock
...
Prevent deadlock in ZK TreeCache constructor by deferring the initial sync.
2017-03-06 12:36:51 +01:00
Michael Kraus
690b49e503
Fix marathon tests
2017-03-06 11:36:55 +01:00
Michael Kraus
31252cc1b5
Clarify explicit use of authorization header
2017-03-06 11:36:36 +01:00
Fabian Reinartz
30727b1e71
Vendor compaction changes
2017-03-04 17:42:48 +01:00
Stephan Erb
3038d0eb9b
Prevent deadlock in ZK TreeCache constructor by deferring the initial sync.
...
Fixes #2254
2017-03-03 23:58:46 +01:00
Erdem Agaoglu
241da87f7f
Adding version to names of static files
...
to prevent browsers using old files in local caches after an upgrade.
2017-03-03 23:36:06 +03:00
Fabian Reinartz
710f3f418f
vendor: tsdb compaction changes
2017-03-03 10:06:45 +01:00
Goutham Veeramachaneni
af222b63fc
Fix broken tests
2017-03-03 03:16:30 +05:30
Goutham Veeramachaneni
f35816613e
Refactored Notifier to use Registerer
...
* Brought metrics back into Notifier
Notifier still implements a Collector. Check if that is needed.
2017-03-03 02:53:16 +05:30
Goutham Veeramachaneni
41da5c4ef2
Better Metrics For Alerts
...
* Closes prometheus/prometheus#2429
* Moved metrics to top of file for easier access
* Initialised CounterVecs
2017-03-02 23:58:15 +05:30
Michael Kraus
04eadf6e20
Allow Marathon SD without bearer_token and bearer_token_file
2017-03-02 13:17:19 +01:00
Michael Kraus
47bdcf0f67
Allow the use of bearer_token or bearer_token_file for MarathonSD
2017-03-02 09:44:20 +01:00
Fabian Reinartz
9304179ef7
Merge branch 'master' into dev-2.0
2017-03-02 08:16:58 +01:00
Derek Marcotte
0a7fb56b16
Expose PromConsole.Graph.buildQueryUrl, refactor dispatch to use ( #2461 )
...
Expose buildQueryUrl, refactor dispatch to use
buildQueryUrl will allow users to execute queries over the range of an
existing graph. This will be helpful to select data series they wish to
annotate the graph with, for example.
2017-03-01 22:37:50 +00:00
Julius Volz
7e14533b32
Merge pull request #2396 from lightpriest/fuzzy-fix-lookup
...
Fix fuzzy search lookup issues
2017-02-28 19:06:30 +01:00
Erdem Agaoglu
8809735d7f
Setting User-Agent header ( #2447 )
2017-02-28 09:59:33 -04:00
Fabian Reinartz
097a2c1e59
vendor: re-vendor storage
2017-02-28 09:34:30 +01:00
Fabian Reinartz
4397b4d508
*: pass Prometheus registry into storage
2017-02-28 09:33:14 +01:00