Commit Graph

352 Commits (d166da7b59f7c89a5c7c197c1e8c5add2e70a938)

Author SHA1 Message Date
Anders Daljord Morken e9885ecb94 Bugfix: Avoid divide-by-zero panic on query_range?step=0
8 years ago
Julius Volz 3bfec97d46 Make the storage interface higher-level.
8 years ago
Fabian Reinartz 97f62c021e api: drop legacy API
9 years ago
beorn7 da8cb10b43 Partition the status tab into items in a dropdown
9 years ago
Julius Volz 0c1e7a5b00 Support time range in /api/v1/series endpoint.
9 years ago
Jonathan Boulle 38098f8c95 Add missing license headers
9 years ago
beorn7 4b574e8a61 Switch chunk encoding to type 2 where it was hardcoded type 1 before
9 years ago
beorn7 836f1db04c Improve MetricsForLabelMatchers
9 years ago
beorn7 a7408bfb47 Unify duration parsing
9 years ago
Julius Volz 1ae23bf5e9 Handle OPTIONS HTTP requests correctly.
9 years ago
Tobias Schmidt 7a6a0630d1 Merge pull request #1213 from prometheus/fix-wrong-http-status-codes
9 years ago
Tobias Schmidt bf84faa010 Return HTTP server error codes for execution errors
9 years ago
Tobias Schmidt 50079a85a1 Make time parameter optional in v1 query API
9 years ago
Fabian Reinartz 33aab4169c Anchor regexes in vector matching
9 years ago
Julius Volz 0088aa4d45 Merge pull request #1132 from prometheus/fix-quoting-and-escaping
9 years ago
Julius Volz 46c5260761 Support escape sequences in strings and add raw strings.
9 years ago
Fabian Reinartz e3b6ec9784 Switch to common/log
9 years ago
Fabian Reinartz 398bbf906b Switch to common/route package
9 years ago
Fabian Reinartz 171f50706a Fix unkeyed field errors.
9 years ago
Fabian Reinartz f8a25f6af7 Apply HTTP handler compression everywhere
9 years ago
Julius Volz 995d3b831d Fix most golint warnings.
9 years ago
Fabian Reinartz d6b8da8d43 Switch promql types to common/model
9 years ago
Fabian Reinartz 1535ef1457 Replace metric.SamplePair with model.SamplePair
9 years ago
Fabian Reinartz 438e232c9b Fix grouping of import blocks
9 years ago
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model
9 years ago
Fabian Reinartz 62b4e89b39 Restore legacy API scalar format
10 years ago
Fabian Reinartz 3d67d75935 promql: implement JSON array format for scalar and string
10 years ago
Fabian Reinartz 77e8983221 promql: add MarshalJSON method for SamplePair
10 years ago
Fabian Reinartz 8f904d6a54 api/v1: fix response format tests
10 years ago
Fabian Reinartz b36fa7ad61 api/v1: fix Content-Type in response
10 years ago
Julius Volz bc1c789bab Disallow cross-origin DELETE and POST requests.
10 years ago
Fabian Reinartz 1eff186555 Merge pull request #810 from prometheus/fabxc/lmatch
10 years ago
Fabian Reinartz 5b91ea9b36 storage: improve label matching and allow unset matching.
10 years ago
Fabian Reinartz 94cd321be1 promql: error if all label matchers are empty.
10 years ago
Fabian Reinartz 85d7c7640a web: remove flags, refactor handlers
10 years ago
Fabian Reinartz 7bb7e565a4 web/api: add GET and DELETE /series endpoints
10 years ago
Fabian Reinartz 7be94ce962 web/api: improve errors, add tests
10 years ago
Fabian Reinartz 75b0b7420e web/api: replace /metrics/names with /label/:name/values endpoint.
10 years ago
Fabian Reinartz 5b713911e3 web/api: enable running API legacy and v1 in parallel
10 years ago
Fabian Reinartz ab9c98acac web/api: add initial API v1 implementation.
10 years ago
Fabian Reinartz e88e5f680b web: simplify prefix handling using util/route package.
10 years ago
Fabian Reinartz 78047326b4 web: cleanup initialization of web service.
10 years ago
Fabian Reinartz 0de6edbdfc Move pkg/ to util/
10 years ago
Fabian Reinartz dfaf31a1da Move web/httputils to pkg/httputil and add DeadlineClient to it
10 years ago
Julius Volz d7c015c149 Convert pathPrefix to not have trailing slash.
10 years ago
Björn Rabenstein c44e7cd105 Merge pull request #706 from prometheus/beorn7/persistence2
10 years ago
beorn7 3b9c421a69 Weed out all the [Gg]et* method names.
10 years ago
Julius Volz 267fd34156 Switch Prometheus to use github.com/prometheus/log.
10 years ago
Fabian Reinartz 279831cdf1 Fix and improve parsing error output.
10 years ago
Fabian Reinartz 25cdff3527 Remove `name` arg from `Parse*` functions, enhance parsing errors.
10 years ago
Fabian Reinartz 3ca11bcaf5 Switch Prometheus to promql package.
10 years ago
Ceesjan Luiten 0e18784c64 Make all paths absolute to support proxies
10 years ago
Julius Volz 33702da8a8 Use simple Now() func in API instead of utility.Time.
10 years ago
Julius Volz a5a553f1da Add initial HTTP API tests.
10 years ago
Julius Volz 3f2686d0b3 Remove unused fields from MetricsService.
10 years ago
Julius Volz c9b76def4c Report all query API HTTP errors in JSON format.
10 years ago
Julius Volz df314ead84 Remove unnecessary "else" branch in query API.
10 years ago
Julius Volz a68b880c27 Add tests for new timestamp/duration functions.
10 years ago
Julius Volz cb816ea14a Improve timestamp/duration parsing in query API.
10 years ago
Julius Volz 8a4acefd66 Allow custom timestamps in instant query API.
10 years ago
Julius Volz c78436d707 Remove unused API time dependency injection.
10 years ago
beorn7 fa1935a644 Remove /api/targets call and do not show job and instance labels on status.
10 years ago
Fabian Reinartz fa1e90003b Query timeout added.
10 years ago
Bjoern Rabenstein 5859b74f1b Clean up license issues.
10 years ago
Julius Volz cc27fb8aab Rename remaining all-caps constants in AST layer.
10 years ago
Bjoern Rabenstein 39efe6358b Fix typos and import order.
10 years ago
Bjoern Rabenstein b1e4956142 Apply a giant code cleanup.
10 years ago
Julius Volz c3fcea45e3 Support finer time resolutions than 1 second.
10 years ago
Brian Brazil f114bbd4e7 Make query_range more robust.
10 years ago
Bjoern Rabenstein 71206dbc06 More code 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 21cafe6cd7 Only evict memory series after they are on disk.
10 years ago
Bjoern Rabenstein 8956faeccb Migrate to new client_golang.
10 years ago
Brian Brazil 1828b1f55c Only log every query when debugging.
10 years ago
Julius Volz 01f652cb4c Separate storage implementation from interfaces.
11 years ago
Julius Volz 740d448983 Use custom timestamp type for sample timestamps and related code.
11 years ago
Conor Hennessy eba01d1119 Remove usage of gorest.
11 years ago
Julius Volz a50ee8df30 Always set CORS headers at beginning of API handler.
11 years ago
Julius Volz 788587426b Make scrape timeouts configurable per job.
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 35ee2cd3cb Add alertmanager notification support to Prometheus.
11 years ago
Julius Volz 9f07f8677a Generate tabular console view from JSON data.
12 years ago
Matt T. Proud 30b1cf80b5 WIP - Snapshot of Moving to Client Model.
12 years ago
Julius Volz 1fe3d3b06b Remove obsolete argument from target handling code.
12 years ago
Julius Volz 51689d965d Add debug timers to instant and range queries.
12 years ago
Julius Volz 56324d8ce2 Make AST query storage non-global.
12 years ago
Matt T. Proud 3b9b1c6ab4 Define dependencies for web. stack concretely.
12 years ago
Julius Volz 9cea5d9df8 Convert the Prometheus configuration to protocol buffers.
12 years ago
Matt T. Proud e86f4d9dfd Convert time readers to represent time in UTC.
12 years ago
Julius Volz a0d311c9e6 Constantize job name label.
12 years ago
Bernerd Schaefer 8af0bbb3a0 Set job label for targets registered through the API
12 years ago
Bernerd Schaefer 5e9447996b Set CORS Headers on API requests
12 years ago
Julius Volz ec413459fa Depointerize Matrix/Vector types as well as time.Time arguments.
12 years ago
Julius Volz 2b8f0b2cc7 Constantize metric name label name.
12 years ago
Julius Volz dd67ab115b Change GetAllMetricNames() to GetAllValuesForLabel().
12 years ago
Julius Volz 8e4c5b0cea Use AST query analyzer and views with tiered storage.
12 years ago
Julius Volz 20c5ca1d72 Lower-case web API method arguments.
12 years ago
Julius Volz f1fc7d717a Allow replacing job targets via HTTP API.
12 years ago
Julius Volz 23374788d3 Beginnings of a Prometheus status page.
12 years ago
Julius Volz 0cbd03ccf9 Move web-related code/resources to a subdirectory.
12 years ago