Commit Graph

596 Commits (53875da7fb7d4fce45223e4627e3fe38c86a1db0)

Author SHA1 Message Date
Fabian Reinartz 62af249d06 Merge pull request #1761 from prometheus/fabxc-legacyapi
9 years ago
Fabian Reinartz 425736a377 *: remove last remainers of non-second metrics
9 years ago
Fabian Reinartz 97f62c021e api: drop legacy API
9 years ago
Brian Brazil 4dbe689632 Do our own date parsing in console template graph controls.
9 years ago
Fabian Reinartz 25135c3691 web: round last scrape timestamp to milliseconds
9 years ago
David Gstir 2dd80225a4 Fix JS XHR requests in prom_console.js on IE11
9 years ago
Julius Volz 194a486c60 Merge pull request #1660 from alileza/add_http_errorlog
9 years ago
Ali Reza 624717e801 Log HTTP server errors using common/log
9 years ago
Roman Vynar 9d616952b3
Added missed pathPrefix to Status sub-menus
9 years ago
beorn7 93460fb853 Remove a spurious "w" from `_base.html`
9 years ago
Bjoern Rabenstein 52a133d4d2 Make assets without debug settings
9 years ago
beorn7 da8cb10b43 Partition the status tab into items in a dropdown
9 years ago
Fabian Reinartz 54de6afd22 Merge pull request #1625 from prometheus/series-api-time-bounds
9 years ago
Julius Volz 0c1e7a5b00 Support time range in /api/v1/series endpoint.
9 years ago
Steve Durrheimer 399d5c6375
Make version informations consistent between prometheus components
9 years ago
Julius Volz c78bd13a2b Include date and time in graph hover detail.
9 years ago
Julius Volz c0b430b8e5 Improve before-relabeling label tooltips.
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 d77d625ad3 Merge branch 'master' into beorn7/storage6
9 years ago
Fabian Reinartz f2e359962c Sort exported targets
9 years ago
beorn7 f7fc542db6 Merge branch 'master' into beorn7/storage4
9 years ago
Fabian Reinartz 1ede7b9d72 Consolidate TargetStatus into Target.
9 years ago
beorn7 1e13f89039 Return SamplePair istead of *SamplePair consistently
9 years ago
Fabian Reinartz 37c709f917 Fix global config YAML issues
9 years ago
Fabian Reinartz 915a7c09a8 Adjust labels on status page
9 years ago
Tobias Schmidt 211cb10f13 Use https://prometheus.io
9 years ago
beorn7 a7408bfb47 Unify duration parsing
9 years ago
Julius Volz 1ae23bf5e9 Handle OPTIONS HTTP requests correctly.
9 years ago
Fabian Reinartz b0adfea8d5 Fix swapped constants, improve instrumentation
9 years ago
Fabian Reinartz 8a67110041 Revert autocomplete changes
9 years ago
Fabian Reinartz 37d80c4b25 Fix premature rule evaluation
9 years ago
Fabian Reinartz bf6abac8f4 Send resolved notifications
9 years ago
Fabian Reinartz 52e5224f5a Refactor rules/ package
9 years ago
Fabian Reinartz b35e25a082 Don't federate stale samples
9 years ago
Fabian Reinartz e0f70ed5ca Update common/{expfmt,model}
9 years ago
Fabian Reinartz 29a69eecb8 Do not panic in Consul SD creation
9 years ago
Tobias Schmidt 7a6a0630d1 Merge pull request #1213 from prometheus/fix-wrong-http-status-codes
9 years ago
Tobias Schmidt 6c49edfce2 Merge pull request #1211 from prometheus/default-time-parameter
9 years ago
Julius Volz bce5202354 Minor fixups to web/ui/README.md
9 years ago
Tobias Schmidt bf84faa010 Return HTTP server error codes for execution errors
9 years ago
Fabian Reinartz 7cbd31f7b6 Merge pull request #1212 from prometheus/uidev
9 years ago
Tobias Schmidt 50079a85a1 Make time parameter optional in v1 query API
9 years ago
Fabian Reinartz 69e6ac735e Document convenient development of UI files.
9 years ago
Sam Starling 1901875595 Tidy up .js files based on static analysis from jshint
9 years ago
Fabian Reinartz a542cc8609 Remove -web.use-local-assets
9 years ago
Fabian Reinartz 57ca7108aa Enable debug generation of go-bindata, rename blob/ to ui/
9 years ago
Fabian Reinartz 33aab4169c Anchor regexes in vector matching
9 years ago
Julius Volz a635f5451e Don't autocomplete metrics in range specifications.
9 years ago
Tobias Schmidt ee600cf949 Format web/blob/files.go after generation
9 years ago
Julius Volz c27400de21 Recompile web assets for autocomplete change.
9 years ago
Julius Volz 15c58c0f3e Enable autocomplete anywhere in expression.
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
Roy Miloh 189416cb34 Remove duplicated bootstrap js on the graph template, it's already included on the base template.
9 years ago
Fabian Reinartz e3b6ec9784 Switch to common/log
9 years ago
Julius Volz 3008a35c04 HTML-escape string return values in web UI.
9 years ago
Julius Volz dac26cef71 Rename global "labels" config option to "external_labels".
9 years ago
Fabian Reinartz 398bbf906b Switch to common/route package
9 years ago
Julius Volz 0179bbfe03 Fix / -> /graph redirect when using a path prefix.
9 years ago
Björn Rabenstein cf12e890a6 Merge pull request #1098 from prometheus/fix-direct-access-of-protobuf-fields
9 years ago
beorn7 ca63c05b4e Fix creation of protobuf fields
9 years ago
Fabian Reinartz 171f50706a Fix unkeyed field errors.
9 years ago
Fabian Reinartz ac9554539c Merge pull request #1092 from prometheus/makefile
9 years ago
Fabian Reinartz 92ffeadb7b Move assets generation to top level make file
9 years ago
Fabian Reinartz d85cee0277 Remove compression from web interface
9 years ago
Fabian Reinartz f8a25f6af7 Apply HTTP handler compression everywhere
9 years ago
Fabian Reinartz 896928ad00 Fix redirect path
9 years ago
Fabian Reinartz d7b21f2fdb Merge pull request #1039 from prometheus/startpage
9 years ago
Fabian Reinartz 87b1d47e2b Change UI start page
9 years ago
Fabian Reinartz 9bbd9264e2 Add global labels to federation
9 years ago
Julius Volz da2499d5a5 Add POST handler for /debug to fix CPU profiling.
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 d6d88f8950 Add missing license headers
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 47aa0d536c Use common/expfmt in federation
9 years ago
Fabian Reinartz 306e8468a0 Switch from client_golang/model to common/model
9 years ago
Julius Volz 274e9d6955 Exit when web server encounters a startup error
9 years ago
Julius Volz e88007306c Remove broken alert silencing links.
9 years ago
Brian Brazil eb82a4b948 web: Support multiple names for console graphs.
9 years ago
Brian Brazil a8605825a0 Rollback, meant to send a PR
9 years ago
Brian Brazil 1ad449d233 web: Support multiple names for console graphs.
9 years ago
Jan Berktold fa929a8345 Change /reload to /-/reload & and fix channel type
9 years ago
Jan Berktold 2bf7048dbb Add reload handler to web
9 years ago
Dan Williams 0441518a71 Add IDs to H2 tags to allow anchored linking
9 years ago
Julius Volz c5c7f92960 Fix /debug/pprof endpoint with new web router.
9 years ago
Fabian Reinartz 62b4e89b39 Restore legacy API scalar format
10 years ago
Brian Brazil 87b9813be4 Merge pull request #883 from brian-brazil/fix-menu
10 years ago
Brian Brazil 7b5a29fc8f web: Fix regression in .Path
10 years ago
Fabian Reinartz 9e599976c4 web/js: fix display error for vectors in console
10 years ago
Fabian Reinartz 75ba840d88 web/js: adjust Javascript to new response 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
Julius Volz 0f57b403a9 Add tests for "globalURL" template function.
10 years ago
Julius Volz fcff35b43e Consolidate external reachability flags into one.
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
Fabian Reinartz 4db3eeb054 web: generate embedded assets.
10 years ago
Julius Volz cf2a7a7ca9 Use v1 API for querying.
10 years ago
Julius Volz 9607b8bbdb Merge pull request #840 from prometheus/fix-scrape-errors-ui
10 years ago
Julius Volz bc1c789bab Disallow cross-origin DELETE and POST requests.
10 years ago
Julius Volz c7039c3a73 Fix blown-up scrape error display in web UI.
10 years ago
Julius Volz 535a7f2640 Update web/blog/files.go with new web content.
10 years ago
Julius Volz bbc8b8490e Switch human-readable times to UTC.
10 years ago
Julius Volz d868264bb8 Improve UI of /alerts page.
10 years ago
Julius Volz d7ea0397d4 Use templates.TemplateExpander for all page templates.
10 years ago
Fabian Reinartz 53b9d5917d web: improve target URL handling and display.
10 years ago
Fabian Reinartz 39a8254963 web: add basic federation support.
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 119801027f web: expose a version information endpoint
10 years ago
Fabian Reinartz 39edc2df7a version: move version information into separate package.
10 years ago
Fabian Reinartz 85d7c7640a web: remove flags, refactor handlers
10 years ago
Brian Brazil 27ef54263e Web: Format files.go when it is built.
10 years ago
Julius Volz b9b20fd80e Always show selected range, regardless of returned data.
10 years ago
Julius Volz 395a0b3b11 Merge pull request #799 from prometheus/multiline-expr-input
10 years ago
Julius Volz 8bb578c1fe Change expression input field to multi-line textarea.
10 years ago
Fabian Reinartz 8d304d95e5 make: do not call go-bindata on building.
10 years ago
Fabian Reinartz 70e0be6295 Merge pull request #783 from prometheus/fabxc/api-v1-ext
10 years ago
Fabian Reinartz 7bb7e565a4 web/api: add GET and DELETE /series endpoints
10 years ago
Sindre Myren a081c9436b Building without a Makefile (on Windows)
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 ae01a5366d Merge pull request #774 from prometheus/fabxc/api-v1
10 years ago
Fabian Reinartz 5b713911e3 web/api: enable running API legacy and v1 in parallel
10 years ago
Julius Volz adf6850853 Improve display of target labels on status page.
10 years ago
Julius Volz 51653e7890 Merge pull request #779 from prometheus/fabxc/rule-cleanup
10 years ago
Brian Brazil b8b1d3cbac Web: Add pre-relabel labels to status page.
10 years ago
Fabian Reinartz ab9c98acac web/api: add initial API v1 implementation.
10 years ago
Fabian Reinartz 5e13880201 General cleanup of rules.
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 280d11dca8 main: exit on invalid rule files on startup.
10 years ago
Fabian Reinartz 0de6edbdfc Move pkg/ to util/
10 years ago
Fabian Reinartz 027d8968d5 Move embed-static.sh into scripts folder
10 years ago
Fabian Reinartz f45a5cab60 Move templates package to pkg/template
10 years ago
Fabian Reinartz dfaf31a1da Move web/httputils to pkg/httputil and add DeadlineClient to it
10 years ago
Julius Volz 09fcf505f5 Fix slash position in MustBuildServerURL().
10 years ago
Julius Volz d7c015c149 Convert pathPrefix to not have trailing slash.
10 years ago
Julius Volz 837ffcea29 Merge pull request #726 from prometheus/improve-redirections
10 years ago
Tobias Gesellchen 84d42f48e5 allow to override the default os.Hostname() when creating PrometheusURLs
10 years ago
Julius Volz fcd33bbfd8 Improve web redirection and 404 behavior.
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 e2ed921505 Merge branch 'master' into fabxc/servdisc
10 years ago
Fabian Reinartz a216b1cb27 Merge pull request #704 from prometheus/fabxc/cfg_check
10 years ago
Fabian Reinartz ec9c51ab98 Fix old template naming
10 years ago
Fabian Reinartz 5d3024fd3e Restructure component initialization
10 years ago
Mitsuhiro Tanda 3e914a8cb1 fix graph links with path prefix
10 years ago
Fabian Reinartz 385919a65a Avoid inter-component blocking if ingestion/scraping blocks.
10 years ago
Fabian Reinartz 1a2d57b45c Move template functionality out of target.
10 years ago
Fabian Reinartz dbc08d390e Move target status data into its own object
10 years ago
Fabian Reinartz bb540fd9fd Implement config reloading on SIGHUP.
10 years ago
Fabian Reinartz 3b0777ff84 Merge branch 'master' into fabxc/servdisc
10 years ago
Fabian Reinartz eeca323d24 Merge branch 'master' into promql
10 years ago
Fabian Reinartz 6649306e63 Merge pull request #660 from prometheus/fabxc/pql/parse-errs
10 years ago
Fabian Reinartz 279831cdf1 Fix and improve parsing error output.
10 years ago
Fabian Reinartz 8d7c479fed Merge pull request #658 from prometheus/fabxc/pql/rules-manager
10 years ago
Fabian Reinartz 479891c9be Rename RuleManager to Manager, remove interface.
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
Fabian Reinartz 5015c2a0e8 Make target manager source based.
10 years ago
Brian Brazil c3a2b63fe9 Add stddev and stdvar aggregation functions.
10 years ago
Ceesjan Luiten 6f5f33bd4d #625 Fix incorrect consoles URL
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 c8a6b73bff Merge pull request #606 from prometheus/custom-instant-timestamps
10 years ago
Julius Volz c9b76def4c Report all query API HTTP errors in JSON format.
10 years ago
Julius Volz ea8a12db59 Also fix label HTML-escaping in console graphs.
10 years ago
Julius Volz 8f6ef04d70 HTML-escape label values in Rickshaw hover-detail.
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
Björn Rabenstein 942686427d Merge pull request #596 from prometheus/beorn7/ingestion-tweaks
10 years ago
Julius Volz 6fa510d6fa More fixes around special values in graphs.
10 years ago
beorn7 fa1935a644 Remove /api/targets call and do not show job and instance labels on status.
10 years ago
beorn7 be11cb2b07 Remove the sample ingestion channel.
10 years ago
Julius Volz 91da12ad6a Show special float values as gaps.
10 years ago
Julius Volz 52ce3599c9 Nicer formatting of target health table on /status.
10 years ago
juliusv 5a4fe403ff Merge pull request #514 from prometheus/fix-graph-js-errors
10 years ago
Julius Volz 989bc86bcb Make flag names consistent across projects.
10 years ago
Tobias Schmidt 655dffe393 Update help URL
10 years ago
Julius Volz 0229a89925 Fix graph JS glitches and simplify graphing code.
10 years ago
Julius Volz 0e8c0b67ad Remove custom hover flip code. Fixed upstream.
10 years ago
Julius Volz 517a731ebf Show unlimited number of metrics in autocomplete.
10 years ago
juliusv 9e6b3bcefa Merge pull request #498 from fabxc/feature/query_timeout
10 years ago
Fabian Reinartz fa1e90003b Query timeout added.
10 years ago
Julius Volz b3978fe869 Fix Rickshaw/D3 version mismatch.
10 years ago
Bjoern Rabenstein f568bbc19f Improve comments about embedding.
10 years ago
Tobias Schmidt edadba3b25 Merge web/blob/Makefile into web/Makefile
10 years ago
Björn Rabenstein 855f20a4d3 Merge pull request #470 from prometheus/beorn7/slim-static-assets
10 years ago
Bjoern Rabenstein 3fc354c4ce Update help link.
10 years ago
Bjoern Rabenstein 7e5745fe0e Slim down the files we embed into the binary.
10 years ago
Julius Volz d4374a9265 More efficient JSON query result format.
10 years ago
Brian Brazil 2b07cd3875 Keep total counter outside out loop.
10 years ago
juliusv 351a1eb96b Merge pull request #457 from brian-brazil/bootstrap3
10 years ago
Brian Brazil 2d8bfa0ced Adjust for bootstrap3. Remove long lists from LHS menu.
10 years ago
Björn Rabenstein edc91cbabb Merge pull request #456 from prometheus/beorn7/license-cleanup
10 years ago
Stuart Nelson 8ada6360ef Add floats to align inputs, and clear the float on the parent.
10 years ago
Bjoern Rabenstein 5859b74f1b Clean up license issues.
10 years ago
Julius Volz 4133020de1 Align graph controls with graph edge.
10 years ago
Julius Volz 12a99ab5b4 Some more UI/JS fixes/cleanups.
10 years ago
Julius Volz 013c22ca01 Adjust input group margins for more equal spacing.
10 years ago
Julius Volz 170da9460d Focus/typeahead fix.
10 years ago
Julius Volz d96d4933d9 Complete Bootstrap 3 conversion.
10 years ago
Julius Volz ff5eeb49fa Fix datepicker timezone issues.
10 years ago
Stuart Nelson 97ad5d3d1b Update jquery and jquery-ui.
10 years ago
Stuart Nelson 5cd8030c37 Include bootstrap.js.min
10 years ago
Stuart Nelson 8d7581d8c4 Add datetimepicker css.
10 years ago
Stuart Nelson 0529e3fcfa Use datetimepicker.
10 years ago
Stuart Nelson 2d5c2c5726 style rickshaw legend
10 years ago
Stuart Nelson 3814daac48 Make Loadtime/ Resolution info look nicer.
10 years ago
Stuart Nelson 071d98f3d0 Square corners
10 years ago
Stuart Nelson 7b9bf8d3e5 Query header.
10 years ago
Stuart Nelson 46f7bd2820 graph controls
10 years ago
Julius Volz 8ce89f0086 WIP: Upgrade to Bootstrap 3.
10 years ago
Brian Brazil ffa2e73803 Fix regression from 5e8d57bec1
10 years ago
Brian Brazil fd43daf82e Upgrade rickshaw to v1.5.1
10 years ago
Julius Volz cc27fb8aab Rename remaining all-caps constants in AST layer.
10 years ago
juliusv 401decc847 Merge pull request #428 from brian-brazil/sample-consoles
10 years ago
Brian Brazil 43b105d32d Console templating library, including graphs.
10 years ago
Johannes 'fish' Ziemke ff95a52b0f Rename Address to URL
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 af8c6df94d Eliminate modal alerts in graphing UI.
10 years ago
Julius Volz 5e8d57bec1 Make tabular view the default (vs. graphing view).
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
Julius Volz c3fcea45e3 Support finer time resolutions than 1 second.
10 years ago
Brian Brazil f114bbd4e7 Make query_range more robust.
10 years ago
Brian Brazil 75e37db55b Don't alert() when a query is aborted,
10 years ago
Brian Brazil fd34e4061d Add back consoles link.
10 years ago
Andres Suarez e389e63684 Focus expression after selection from dropdown
10 years ago
Andres Suarez 86a447fc0e Allow selecting metric from Insert Metric
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
Brian Brazil 4a2b96f848 Remove backoff on scrape failure.
10 years ago
Brian Brazil f525ca5d9e Let consoles get graph links from experssions.
10 years ago
Brian Brazil eba205fcac Expose path used to get to console to console.
10 years ago