Tobias Schmidt
721050c6cb
Update prometheus/tsdb dependency
2017-10-16 15:36:25 +02:00
Julius Volz
33c1171b9c
Don't add anchoring to exported Value
matcher field
...
Instead, just make the anchoring part of the internal regex. This helps because
some users will want to read back the `Value` field and expect it to be the
same as the input value (e.g. some tests in Cortex), or use the value in
another context which is already expected to add its own anchoring, leading to
superfluous double anchoring (such as when we translate matchers into remote
read request matchers).
2017-10-10 10:10:21 -07:00
Julius Volz
f7e8348a88
Re-add contexts to storage.Storage.Querier() ( #3230 )
...
* Re-add contexts to storage.Storage.Querier()
These are needed when replacing the storage by a multi-tenant
implementation where the tenant is stored in the context.
The 1.x query interfaces already had contexts, but they got lost in 2.x.
* Convert promql.Engine to use native contexts
2017-10-04 21:04:15 +02:00
Fabian Reinartz
7b02bfee0a
web: start web handler while TSDB is starting up
2017-09-20 15:03:19 +02:00
Fabian Reinartz
d21f149745
*: migrate to go-kit/log
2017-09-08 22:01:51 +05:30
Fabian Reinartz
0efecea6d4
Adapt storage APIs to uint64 references
2017-09-07 14:14:41 +02:00
Fabian Reinartz
0c81d5f719
storage: instantiate correct block ranges
2017-08-24 12:36:07 +02:00
Fabian Reinartz
2037778d14
vendor: update TSDB
2017-08-10 14:51:02 +02:00
Tom Wilkie
db8128ceeb
Add label set as first parameter to AddFast, ingored by TSDB adapter.
2017-07-12 15:20:12 +01:00
Fabian Reinartz
16464c3a33
Merge pull request #2910 from prometheus/adminapi
...
Admin API
2017-07-11 17:15:49 +02:00
Fabian Reinartz
ccf9e62972
*: add admin grpc API
2017-07-10 09:14:14 +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
Goutham Veeramachaneni
d407bd150c
Consolidate the duration params in CLI
...
* All CLI params moved to model.Duration
Signed-off-by: Goutham Veeramachaneni <cs14btech11014@iith.ac.in>
2017-06-16 20:20:57 +05:30
Fabian Reinartz
d289dc55c3
storage: update TSDB
2017-05-22 11:53:08 +02:00
Fabian Reinartz
9b175d48cb
Add flag to disable TSDB lock file
2017-05-09 12:56:51 +02:00
Brian Brazil
5c9a6ce747
Add license to files.
...
This should fix CI for dev-2.0.
2017-04-19 13:46:22 +01:00
Fabian Reinartz
cfb2a7f1d5
vendor: sync organisation migration of tsdb
2017-04-04 11:33:51 +02:00
Fabian Reinartz
b586781283
*: update tsdb vendoring and add retention flag
2017-03-17 16:06:04 +01:00
Fabian Reinartz
8a8eb12985
storage/tsdb: don't use partitioned DB.
2017-03-07 11:51:30 +01:00
Fabian Reinartz
4397b4d508
*: pass Prometheus registry into storage
2017-02-28 09:33:14 +01:00
Fabian Reinartz
ea3ba338dd
main: add flags for new storage
2017-02-05 18:22:06 +01:00
Fabian Reinartz
5772f1a7ba
retrieval/storage: adapt to new interface
...
This simplifies the interface to two add methods for
appends with labels or faster reference numbers.
2017-02-02 13:05:46 +01:00
Fabian Reinartz
c691895a0f
retrieval: cache series references, use pkg/textparse
...
With this change the scraping caches series references and only
allocates label sets if it has to retrieve a new reference.
pkg/textparse is used to do the conditional parsing and reduce
allocations from 900B/sample to 0 in the general case.
2017-01-16 12:03:57 +01:00
Fabian Reinartz
ad9bc62e4c
storage: extend appender and adapt it
2017-01-13 14:48:01 +01:00
Fabian Reinartz
304cae9928
tsdb: Use PartitionedDB constructor
2017-01-06 12:34:54 +01:00
Fabian Reinartz
bc20d93f0a
storage: rename iterator value getters to At()
2017-01-02 13:33:37 +01:00
Fabian Reinartz
f8fc1f5bb2
*: migrate ingestion to new batch Appender
2016-12-29 11:03:56 +01:00
Fabian Reinartz
71fe0c58a8
promql: misc fixes
2016-12-28 11:32:15 +01:00
Fabian Reinartz
fecf9532b9
*: fix misc compile errors
2016-12-25 11:42:57 +01:00
Fabian Reinartz
622ece6273
*: fix recording tests, migrate matcher types
2016-12-25 11:12:57 +01:00
Fabian Reinartz
0492ddbd4d
*: fully decouple tsdb, add new storage interfaces
2016-12-25 01:43:22 +01:00