Commit Graph

357 Commits (87f1dad16da760aa48f8a41089c0d1a20b56689c)

Author SHA1 Message Date
Bjoern Rabenstein 0ae1d8889a Fix tests after merge.
10 years ago
Julius Volz b7bf11230a Add absent() function.
10 years ago
Julius Volz 3d47f94149 Drop metric names after transformations.
10 years ago
Bjoern Rabenstein 14bda4180c Changes after pair code review.
10 years ago
Bjoern Rabenstein 006b5517e2 Simplify makefiles.
10 years ago
Bjoern Rabenstein 74c143c4c9 Improve scraper shutdown time.
10 years ago
Julius Volz 0712d738d1 Allow alternative "by"-clause position in grammar.
10 years ago
Julius Volz 0e48c18bbf Allow omitting the metric name in queries.
10 years ago
Bjoern Rabenstein 096fa0f8b2 Squash a number of TODOs.
10 years ago
Bjoern Rabenstein b3ed9aa7a2 Clean up start-up and shut-down.
10 years ago
Bjoern Rabenstein 38fc24d0ed Fix targetpool_test.go and other tests.
10 years ago
Julius Volz 7f5d3c2c29 Fix and improve the fp locker.
10 years ago
Julius Volz 358f97791d Minor cleanups.
10 years ago
Bjoern Rabenstein f5f9f3514a Major code cleanup.
10 years ago
Julius Volz e7ed39c9a6 Initial experimental snapshot of next-gen storage.
10 years ago
Julius Volz 85497e3f38 Add function to drop common labels in a vector.
10 years ago
Julius Volz 3fdb74e571 Add more topk() / bottomk() tests.
10 years ago
Julius Volz c582ae73c2 Implement topk() and bottomk() functions.
10 years ago
Bjoern Rabenstein 1909686789 Make metrics exported by the Prometheus server itself more consistent.
10 years ago
Julius Volz 00b9489f1c Fix time() behavior.
10 years ago
Julius Volz c5984f1818 Add abs() and over-time aggregation functions.
10 years ago
Brian Brazil f525ca5d9e Let consoles get graph links from experssions.
10 years ago
Bjoern Rabenstein 8956faeccb Migrate to new client_golang.
10 years ago
Brian Brazil 960ede66dc Use html/template for console templates and add template libary support.
10 years ago
Brian Brazil e041c0cd46 Add console and alert templates with access to all data.
11 years ago
Bjoern Rabenstein ca6a4fccef Weed out our homegrown test.Tester.
11 years ago
Julius Volz 6297a405f2 Do not indent API JSON responses.
11 years ago
Julius Volz 01f652cb4c Separate storage implementation from interfaces.
11 years ago
Julius Volz d411a7d810 Allow reversing vector and scalar arguments in binops.
11 years ago
Julius Volz c7c0b33d0b Add regex-matching support for labels.
11 years ago
Bjoern Rabenstein 0a65b691cc Disallow ":" in identifiers, but still allow it in metric names.
11 years ago
Julius Volz 86fc13a52e Convert metric.Values to slice of values.
11 years ago
Julius Volz bc6ee6611e Rename persistence_adapter.go -> view_adapter.go
11 years ago
Julius Volz 3f226c9724 Rename {Scalar,Vector}Literal to {Scalar,Vector}Selector.
11 years ago
Bjoern Rabenstein 682cf6fc51 Simplify QueryAnalizer.Visit().
11 years ago
Bjoern Rabenstein fd63500ed3 Make rules/ast golint clean.
11 years ago
Björn Rabenstein 59febe771a Merge "Minor code cleanups."
11 years ago
Julius Volz c4adfc4f25 Minor code cleanups.
11 years ago
Julius Volz 7e9ecaac3a Add count_scalar() function.
11 years ago
Julius Volz 0378c2ca1f Nonexistent labels in BY-clauses shouldn't propagate to result.
11 years ago
Julius Volz 6dc36d0c3e Don't keep extra labels in aggregations by default.
11 years ago
Julius Volz 20bfaf80ab Merge "Display filename when encountering bad rule file."
11 years ago
Julius Volz 3bf3a555b2 Merge "add evalDuration histogram and ruleCount counter for rules"
11 years ago
Stuart Nelson b75adfebad add evalDuration histogram and ruleCount counter for rules
11 years ago
Julius Volz 77a79d1fc0 Display filename when encountering bad rule file.
11 years ago
Julius Volz fb44580110 Cleanup/fix program termination sequence.
11 years ago
Julius Volz 740d448983 Use custom timestamp type for sample timestamps and related code.
11 years ago
Julius Volz c7daedc840 Merge "Add scalar() function."
11 years ago
Julius Volz be8024e18c Add scalar() function.
11 years ago
Julius Volz 93a8d03221 Merge "Add alert-expression console links to notifications."
11 years ago
Julius Volz 1eb1ceac8c Add alert-expression console links to notifications.
11 years ago
Matt T. Proud 7db518d3a0 Abstract high watermark cache into standard LRU.
11 years ago
Julius Volz 0003027dce Add needed trailing spaces in logs.
11 years ago
Julius Volz aa5d251f8d Use github.com/golang/glog for all logging.
11 years ago
Julius Volz 3b970c5133 Add variable interpolation to notification messages.
11 years ago
Julius Volz 35ee2cd3cb Add alertmanager notification support to Prometheus.
11 years ago
Julius Volz 81f0b85013 Return [] instead of null for empty result vectors.
12 years ago
Julius Volz 64b0ade171 Swap rules lexer for much faster one.
12 years ago
Julius Volz d2da21121c Implement getValueRangeAtIntervalOp for faster range queries.
12 years ago
Matt T. Proud 30b1cf80b5 WIP - Snapshot of Moving to Client Model.
12 years ago
Julius Volz 8ee7947b1e Ensure metric name is dropped correctly from alert labels in UI.
12 years ago
Julius Volz 0226d1ac7a Implement alerts dashboard and expression console links.
12 years ago
Julius Volz ba29d07901 Show loaded rules in Status dashboard.
12 years ago
Julius Volz fc97e688c6 Improve printing of rules and expressions.
12 years ago
Julius Volz 74cb676537 Implement Stringer interface for rules and all their children.
12 years ago
Matt T. Proud 2c3df44af6 Ensure database access waits until it is started.
12 years ago
Julius Volz 51689d965d Add debug timers to instant and range queries.
12 years ago
Julius Volz adb87816f4 Put RuleManager concurrency in hands of caller, fix races.
12 years ago
Julius Volz 138334fb31 Fix handling of negative deltas for non-counter values.
12 years ago
Julius Volz 66d4620061 Don't assume delta has at least one sample per vector element.
12 years ago
Julius Volz 21c3be0814 Skip any empty range/boundary elements, not only nil ones.
12 years ago
Matt T. Proud c10780c966 Introduce telemetry for rule evaluator durations.
12 years ago
Julius Volz 750f862d9a Use GetBoundaryValues() for non-counter deltas.
12 years ago
Julius Volz 5b105c77fc Repointerize fingerprints.
12 years ago
Matt T. Proud 8f4c7ece92 Destroy naked returns in half of corpus.
12 years ago
juliusv 516101f015 Merge pull request #250 from prometheus/refactor/drop-unused-storage-setting
12 years ago
juliusv 9ff00b651d Merge pull request #251 from prometheus/fix/memory-metric-mutability
12 years ago
Bernerd Schaefer 63d9988b9c Drop unused writeMemoryInterval
12 years ago
Bernerd Schaefer aa96c7d141 Fix rules_test.go
12 years ago
Julius Volz 83c60ad43a Fix GetMetricForFingerprint() metric mutability.
12 years ago
Bernerd Schaefer 428d91c86f Rename test helper files to helpers_test.go
12 years ago
Matt T. Proud 244a4a9cdb Update to go1.1.
12 years ago
Matt T. Proud 161c8fbf9b Include deletion processor for long-tail values.
12 years ago
Julius Volz 0877680761 Implement a COUNT ... BY aggregation operator.
12 years ago
Julius Volz 56324d8ce2 Make AST query storage non-global.
12 years ago
Matt T. Proud ce45787dbf Storage interface to TieredStorage.
12 years ago
Julius Volz 9cea5d9df8 Convert the Prometheus configuration to protocol buffers.
12 years ago
Julius Volz d8110fcd9c Send sample arrays instead of single samples over channels.
12 years ago
Julius Volz dcf2e82752 Cleanup and idiomaticize rule/expression dot graph output.
12 years ago
Matt T. Proud b3e34c6658 Implement batch database sample curator.
12 years ago
Julius Volz 2202cd71c9 Track alerts over time and write out alert timeseries.
12 years ago
Julius Volz c0601abf46 Implement initial no-op alert parsing and rule parsing tests.
12 years ago
Matt T. Proud f9e99bd08a Refresh SampleValue to 64-bit floating point.
12 years ago
Julius Volz 99dcbe0f94 Integrate memory and disk layers in view rendering.
12 years ago
Julius Volz 63625bd244 Make view use memory persistence, remove obsolete code.
12 years ago
Julius Volz 1eb586db7d Fix rule evaluation closure.
12 years ago
Julius Volz 5f5ea03105 Run "make format".
12 years ago
Julius Volz 1cff4f3d91 Fix rate() per-second adjustment.
12 years ago
juliusv 62f33f1fc2 Merge pull request #138 from prometheus/julius-fix-aliasing
12 years ago
Matt T. Proud 167504efd6 Merge pull request #142 from prometheus/julius-lowercase-by
12 years ago
Julius Volz d53b8cf956 Correct delta()/rate() intervals and temporal aliasing.
12 years ago
Julius Volz 000f6a2e23 Allow lower-case BY operator.
12 years ago
Julius Volz a0d311c9e6 Constantize job name label.
12 years ago
Julius Volz 1bc83e1b65 Also allow lower-cased aggregation ops.
12 years ago
juliusv f9c291120f Merge pull request #123 from prometheus/julius-propagate-rule-errors
12 years ago
Julius Volz 9a81b9838f Make expression parser goroutine-safe.
12 years ago
Julius Volz 6cb3c51d24 Add sort() and sort_desc() expression language functions.
12 years ago
Julius Volz c4d0969c00 Propagate more errors during rule evaluation.
12 years ago
Julius Volz e31591e6fe Allow single-letter identifiers (metric and label names).
12 years ago
Julius Volz ec413459fa Depointerize Matrix/Vector types as well as time.Time arguments.
12 years ago
Julius Volz 676845afaf Implement sample interpolation in query layer.
12 years ago
Matt T. Proud c53a72a894 Test data for the curator.
12 years ago
Julius Volz b836066c71 Eliminate need to get fingerprints during query execution time.
12 years ago
Julius Volz 55ca65aa6e More userfriendly output when we fail to create the tiered storage.
12 years ago
Matt T. Proud c4e971d7d9 Merge pull request #101 from prometheus/refactor/test/directory-extraction
12 years ago
Matt T. Proud b86b0ea41a Create temporary directory handler.
12 years ago
Julius Volz 2b8f0b2cc7 Constantize metric name label name.
12 years ago
Julius Volz 3880a86c9c In case of empty query results, return an empty matrix.
12 years ago
Julius Volz 8e4c5b0cea Use AST query analyzer and views with tiered storage.
12 years ago
Julius Volz 2f814d0e6d AST persistence adapter simplifications after storage changes.
12 years ago
Julius Volz 6001d22f87 Change Get* methods to receive fingerprints instead of metrics.
12 years ago
Matt T. Proud 5959cd9e53 Include Julius' feedback.
12 years ago
Matt T. Proud a70ee43ad3 Niladic ``ToString()`` to idiomatic ``String()``.
12 years ago
Matt T. Proud 41068c2e84 Checkpoint.
12 years ago
Matt T. Proud 13ae29b304 Initial in-memory arena implementation.
12 years ago
Julius Volz c3d31febd6 Move durationToString to common place and cleanup error handling.
12 years ago
Matt T. Proud efbe0e8a12 Interface simplification.
12 years ago
Matt T. Proud e8a733b525 Interface simplifications.
12 years ago
Matt T. Proud f03091b139 Interface simplifications: GetRangeValues
12 years ago
Matt T. Proud 56f069b3ec Interface simplifications: GetValueAtTime().
12 years ago
Matt T. Proud 900bb988c1 Simplifications of GetFingerprintsForLabelSet.
12 years ago
Matt T. Proud 4fbcea73f5 MetricPersistence.AppendSample signature changes.
12 years ago
Julius Volz 06ace4941d Remove/replace last references to github.com/matttproud/...
12 years ago
Julius Volz 16d9dcd6a8 Add copyright notices to all remaining files.
12 years ago
Julius Volz d67e4b9131 Address outstanding comments from PR/47 and other cleanups.
12 years ago
Matt T. Proud ea54751431 Update import paths to new location.
12 years ago
Julius Volz c049ae39af Cleanups to rules/persistence adapter code.
12 years ago
juliusv 619aa97025 Only close rule file if it could be opened.
12 years ago
Julius Volz a85204a0a4 Add support for matrix duration strings without quotes.
12 years ago
Julius Volz 1760d927c8 Add error propagation to web UI via special JSON error type.
12 years ago
Julius Volz 49c87348b5 Implement per-second rate behavior for rate().
12 years ago
Julius Volz 93670aa129 Return API errors in JSON format.
12 years ago
Julius Volz a20bf35997 Fix whitespace with "make format".
12 years ago
Julius Volz c21450a089 Use correct label name for metric name in rule.
12 years ago
Julius Volz 6929c10acf Add case-statement for OR, which still needs to be implemented.
12 years ago
Julius Volz a555ded2b3 Add "w" (weeks) as a valid timeunit.
12 years ago
Julius Volz 2c8595f96e First graphing support.
12 years ago
Matt T. Proud efe61c18fa Refactor target scheduling to separate facility.
12 years ago
Julius Volz cb6eb30182 Fix state cleanup bug between rule/config parser runs.
12 years ago
Julius Volz 17a4a442b3 Add REST API, expression browser, and text/JSON output formats.
12 years ago
Julius Volz 06162180ad Implement matrix range and boundary fetching from metrics store.
12 years ago
Julius Volz 483bd81a44 Allow grammar to parse both rules and single expressions.
12 years ago
Julius Volz c52b959fda Fix matrix interval time calculation.
12 years ago
Julius Volz fdf9a3aab7 Fix node type checks in arithmetic expressions.
12 years ago
Julius Volz c4a2358551 Set correct interval in MatrixLiteral.Eval().
12 years ago
Julius Volz 429b66019c Exclude metric name in vector arithmetric label matching.
12 years ago
Julius Volz 56384bf42a Add initial config and rule language implementation.
12 years ago