Commit Graph

357 Commits (458455245fd38fa5df73d13d74e2fa0b51d4cbb4)

Author SHA1 Message Date
Fabian Reinartz 7ccd4b39b8 *: implement query params
7 years ago
Krasi Georgiev a53d4ed197 drop metric name for bool modifier (#3821)
7 years ago
Krasi Georgiev 4801573b64 time() return milliseconds (#3811)
7 years ago
Julius Volz 953af2c089
promql: Make printer formatting less vintage (#3721)
7 years ago
Julius Volz 1e943fc10a
promql: Fix printing of empty without() (#3719)
7 years ago
Brian Brazil b418063d1a
Add tests for negative selectors. (#3616)
7 years ago
Fabian Reinartz f8fccc73d8 promql: remove global metrics
7 years ago
Fabian Reinartz 83cd270ea4 *: adapt to storage interface changes
7 years ago
David Kaltschmidt 87c46ea6c3 Renamed TotalEvalTime to EvalTotalTime
7 years ago
David Kaltschmidt c93e54d240 Adds execution timer stats to the range query
7 years ago
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333)
7 years ago
Brian Brazil 7158675aa8 Add back continue.
7 years ago
Brian Brazil 99905f82a6 Remove keep_common modifier.
7 years ago
Brian Brazil b2ac3d2d86 Remove count_scalar and drop_common_labels.
7 years ago
Brian Brazil 67274f0794 Remove 4 interval staleness heuristic. (#3244)
7 years ago
Julius Volz f7e8348a88 Re-add contexts to storage.Storage.Querier() (#3230)
7 years ago
Fabian Reinartz d21f149745 *: migrate to go-kit/log
7 years ago
Fabian Reinartz 87918f3097 Merge branch 'master' into dev-2.0
7 years ago
Brian Brazil 2354c2544b Set timestamp for date functions (#3070)
7 years ago
Fabian Reinartz 25f3e1c424 Merge branch 'master' into mergemaster
7 years ago
Brian Brazil 4c8173acac Use timestamp of a sample in deriv() to avoid FP issues (#2958)
7 years ago
Alexey Palazhchenko 695ec0b981 Fix few typos. (#2962)
7 years ago
Goutham Veeramachaneni 4194d2ac79 Call At() only if Next() is true
7 years ago
Fabian Reinartz dba7586671 Merge branch 'master' into dev-2.0
7 years ago
Tom Wilkie 835eb8c653 Add _test.go suffix to promql/{bench.go, test.go} to prevent importing the testing package in a normal binary.
7 years ago
Goutham Veeramachaneni b7eddbcd98 textparse: Add fuzzing and fix bug caught
7 years ago
Fabian Reinartz ca2b68889b Merge branch 'master' into dev-2.0
8 years ago
Fabian Reinartz f46a8e9ea4 Merge pull request #2854 from prometheus/promql-rune
8 years ago
Goutham Veeramachaneni d407bd150c Consolidate the duration params in CLI
8 years ago
Brian Brazil 6f5d952132 Check for invalid utf-8 in lexer strings.
8 years ago
Harsh Agarwal 16867c89a7 implement label_join issue 1147 (#2806)
8 years ago
Goutham Veeramachaneni 507790a357
Rework logging to use explicitly passed logger
8 years ago
Goutham Veeramachaneni baf5b0f0fc Fix error where we look into the future. (#2829)
8 years ago
Brian Brazil 220e78b9c3 Consider a series stale after 4.1 intervals with no data.
8 years ago
Brian Brazil c02c25d5ba Allow peeking back further in buffer.
8 years ago
Brian Brazil a5cf25743c Move stalness check into a function
8 years ago
Brian Brazil 80b40e6d91 Add initial staleness handing to promql.
8 years ago
Fabian Reinartz 6e804b3497 Merge branch 'master' into dev-2.0
8 years ago
Brian Brazil fcc88f0e1e query/query_range should return eval timestamp
8 years ago
Brian Brazil 517b81f927 Add timestamp() function.
8 years ago
Tom Wilkie 4d9b917d11 Instrument Prometheus with OpenTracing (#2554)
8 years ago
Fabian Reinartz 0f3110487d Merge remote-tracking branch 'origin/dev-2.0' into dev-2.0
8 years ago
Fabian Reinartz 73b8ff0ddc Merge branch 'master' into dev-2.0
8 years ago
Brian Brazil 5c9a6ce747 Add license to files.
8 years ago
Jack Neely 896f951e68 Force buckets in a histogram to be monotonic for quantile estimation (#2610)
8 years ago
Tom Wilkie f0e8a5f37c Add promql.ErrStorage, which is interpreted by the API as a 500.
8 years ago
Fabian Reinartz c389193b37 Merge branch 'master' into dev-2.0
8 years ago
Fabian Reinartz 0ecd205794 promql: Use buffer pool for matrix allocations
8 years ago
Fabian Reinartz b09b90a940 Correctly close querier on error, revendor tsdb
8 years ago
Goutham Veeramachaneni 6634984a38
Comments and Typo Fixes
8 years ago
Fabian Reinartz 9304179ef7 Merge branch 'master' into dev-2.0
8 years ago
Alex Somesan 18cd7246b5 Instrument query engine timings (#2418)
8 years ago
Fabian Reinartz 5772f1a7ba retrieval/storage: adapt to new interface
8 years ago
Fabian Reinartz 1d3cdd0d67 Merge branch 'master' into dev-2.0-rebase
8 years ago
Fabian Reinartz 035976b275 retrieval: handle not found error correctly
8 years ago
Fabian Reinartz ad9bc62e4c storage: extend appender and adapt it
8 years ago
André Carvalho c43dfaba1c Add max concurrent and current queries engine metrics (#2326)
8 years ago
Fabian Reinartz bc20d93f0a storage: rename iterator value getters to At()
8 years ago
Fabian Reinartz 28f547bcc7 api/v1: fix tests, restore series queries
8 years ago
Fabian Reinartz e94b0899ee rules: fix tests, remove model types
8 years ago
Fabian Reinartz f8fc1f5bb2 *: migrate ingestion to new batch Appender
8 years ago
Fabian Reinartz 71fe0c58a8 promql: misc fixes
8 years ago
Fabian Reinartz fecf9532b9 *: fix misc compile errors
8 years ago
Fabian Reinartz 0492ddbd4d *: fully decouple tsdb, add new storage interfaces
8 years ago
Fabian Reinartz 9ea10d5265 promql: use labels.Builder to modify labels
8 years ago
Fabian Reinartz c6cd998905 promql: use local labels, add conversion
8 years ago
Fabian Reinartz ff504af2aa promql: undo accidental exports
8 years ago
Fabian Reinartz 6dedf89cc3 promql: rename SampleStream to Series
8 years ago
Fabian Reinartz c5f225b920 promql: export Sample
8 years ago
Fabian Reinartz 65581a3d46 promql: export SmapleStream
8 years ago
Fabian Reinartz 6315d00942 promql: export String value
8 years ago
Fabian Reinartz ac5d3bc05e promql: scalar T/V and Point
8 years ago
Fabian Reinartz 09666e2e2a promql: make scalar public
8 years ago
Fabian Reinartz b3f71df350 promql: make matrix exported
8 years ago
Fabian Reinartz a62df87022 promql: rename vector
8 years ago
Fabian Reinartz 15a931dbdb promql: migrate model types, use tsdb interfaces
8 years ago
Tristan Colgate ab60bc3929 Fix export of grouping modifier
8 years ago
Tristan Colgate 68fc15fe4e Report type names in the form used in documentation
8 years ago
beorn7 4e3abc6cbf Simply use `math.Mod(float64, float64)` after all
8 years ago
beorn7 5cf5bb427a Check for int64 overflow when converting from float64
8 years ago
beorn7 92c0ef1a92 Merge branch 'release-1.2' into beorn7/release
8 years ago
beorn7 07f1bdfe94 Fix MOD binop for scalars and vectors
8 years ago
Brian Brazil e1cfc994f7 Correctly handle on() in alerts. (#2096)
8 years ago
Brian Brazil c4b4a58e3a Correctly handle on() in alerts. (#2096)
8 years ago
Fabian Reinartz 8fa18d564a storage: enhance Querier interface usage
8 years ago
Fabian Reinartz ccbce0c51f promql: handle NaN in changes() correctly
8 years ago
Julius Volz c187308366 storage: Contextify storage interfaces.
8 years ago
Julius Volz ed5a0f0abe promql: Allow per-query contexts.
8 years ago
Tobias Schmidt 29ced0090f Fix common english misspellings
8 years ago
Matt Bostock a0201036fa PromQL: Add tests for time/date funcs with arg
8 years ago
Matt Bostock 9628eb5998 PromQL: Add minute() function
8 years ago
Tobias Schmidt 04ae6196f2 Fix parsing of label names which are also keywords
8 years ago
Fabian Reinartz ab88057063 Merge pull request #1908 from prometheus/on-dates
8 years ago
Brian Brazil 4680daf237 Default date functions to current time.
8 years ago
Fabian Reinartz 23ddbd64aa Merge pull request #1925 from hashmap/1898-test-race
8 years ago
Alexey Miroshkin bf0e441576 Instantiate lexer inline for the test
8 years ago
Alexey Miroshkin 485f7dde08 Fix data race in lexer and lexer test
8 years ago
beorn7 71571a8ec4 promql: Fix (and simplify) populating iterators
8 years ago
Brian Brazil ea1318f38b Short names of some date related functions
8 years ago
Brian Brazil d2ca2b496a Add days_in_month function.
8 years ago