Commit Graph

466 Commits (61bd698143ce43164976d0235c5a696d931f4261)

Author SHA1 Message Date
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
Brian Brazil eb5d928da7 Fix console handler.
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 e27447da5c Remove the broken "User Dashboard" link.
10 years ago
Brian Brazil 960ede66dc Use html/template for console templates and add template libary support.
10 years ago
Brian Brazil 0f5874ff97 Make Prometheus in header link to status page.
10 years ago
Brian Brazil 1828b1f55c Only log every query when debugging.
10 years ago
Brian Brazil e041c0cd46 Add console and alert templates with access to all data.
11 years ago
Julius Volz 01f652cb4c Separate storage implementation from interfaces.
11 years ago
Matt T. Proud 2064f32662 Clean up quitting behavior and add quit trigger.
11 years ago
Julius Volz cc04238a85 Switch to new "__name__" metric name label.
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
Matt T. Proud 4a87c002e8 Update low-level i'faces to reflect wireformats.
11 years ago
Julius Volz 788587426b Make scrape timeouts configurable per job.
11 years ago
Matt T. Proud 972e856d9b Kill the curation state channel.
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 ecf0ee8f39 Transfer alerting rule and Prometheus URL to alertmanager.
11 years ago
Matt T. Proud 07ac921aec Code Review: First pass.
11 years ago
Matt T. Proud d8792cfd86 Extract HighWatermarking.
11 years ago
Julius Volz fcf784c13c Fix query error notification in tabular view.
11 years ago
Julius Volz 35ee2cd3cb Add alertmanager notification support to Prometheus.
11 years ago
Julius Volz 4e941255d8 Add caching to static assets when served from blob handler.
12 years ago
Julius Volz 1b9cbaf842 Bootstrappify remaining status pages.
12 years ago
Julius Volz 481ee4096b Add no-op silencing links.
12 years ago
Julius Volz d9f403ab7d Prettify/Bootstrapify alert tables.
12 years ago
Julius Volz f665534b61 Make quote and semicolon usage consistent in graph.js
12 years ago
Julius Volz c91c100102 Fix graph resize bug when no graph exists.
12 years ago
Julius Volz 9f07f8677a Generate tabular console view from JSON data.
12 years ago
Sabra Melamed 22ab2366c1 Replacing interface components with Bootstrap.
12 years ago
Matt T. Proud f7704af4f8 Code Review: Formatting comments.
12 years ago
Matt T. Proud 06b4a40661 Represent targets in a tabular interface.
12 years ago
Julius Volz f42adc1cc0 Display Y-axis outside of graph.
12 years ago
Julius Volz 1aa8f071b9 Add content compression support to API HTTP responses.
12 years ago
Matt T. Proud 30b1cf80b5 WIP - Snapshot of Moving to Client Model.
12 years ago
Julius Volz 0226d1ac7a Implement alerts dashboard and expression console links.
12 years ago
Johannes 'fish' Ziemke 005d65868a Merge pull request #294 from prometheus/remove-gvm
12 years ago
Johannes 'fish' Ziemke 56249320e3 Remove gvm on travis.
12 years ago
Julius Volz 1fe3d3b06b Remove obsolete argument from target handling code.
12 years ago
Julius Volz ba29d07901 Show loaded rules in Status dashboard.
12 years ago
Matt T. Proud a73f061d3c Persist solely Protocol Buffers.
12 years ago
Bernerd Schaefer f7a2436665 Include link to user dashboard when provided
12 years ago
Bernerd Schaefer 1d794896ac Support user-provided static asset directory
12 years ago
Julius Volz 51689d965d Add debug timers to instant and range queries.
12 years ago
Matt T. Proud 0d2d6e9a27 Include uptime in the status console.
12 years ago
Julius Volz 8586c7520c Support negative graph values.
12 years ago
Julius Volz 081191afb8 Remember and display last scrape errors in web UI.
12 years ago
Matt T. Proud 1a95406b81 Include forgotten databases.html.
12 years ago
Matt T. Proud b224251981 Simplify compaction and expose database sizes.
12 years ago
Bernerd Schaefer cdde766f39 Embed mutex on web status handler
12 years ago
Bernerd Schaefer 7740167654 Add comments about potential race conditions
12 years ago
Bernerd Schaefer 9183302b1f Web handler returns 404 for favicon requests
12 years ago
Matt Proud 7f0d816574 Schedule the background compactors to run.
12 years ago
Julius Volz af7920126c Fix build errors and add default build step to "make".
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
juliusv cfc3b1053d Merge pull request #212 from prometheus/ui/smaller-navigation-links
12 years ago
juliusv 2935476818 Merge pull request #211 from prometheus/feature/reorder-hud-elements
12 years ago
Julius Volz 04e661c28f Move build info to the top of the status HUD.
12 years ago
Julius Volz f3cf8eae7e Restyle navigation a bit, align content elements with it.
12 years ago
Johannes 'fish' Ziemke c5e507cd9c Never submit empty queries.
12 years ago
juliusv 2b9ba56d61 Merge pull request #208 from prometheus/feature/toggle-console
12 years ago
Johannes 'fish' Ziemke ba289ef7cd Add the console to the main/graph ui.
12 years ago
Julius Volz 9cea5d9df8 Convert the Prometheus configuration to protocol buffers.
12 years ago
Matt T. Proud 3362bf36e2 Include curator status in web heads-up-display.
12 years ago
Matt T. Proud a48ab34dd0 Refresh Prometheus client API usage.
12 years ago
juliusv 169a7dc26c Merge pull request #189 from prometheus/feature/build-info-and-startup-friendliness
12 years ago
Bernerd Schaefer 19fc094362 Merge pull request #191 from prometheus/update-gitignore-files
12 years ago
Bernerd Schaefer 169ed9d297 Ignore web/static/generated and build/root/share
12 years ago
Matt T. Proud 961ff26874 Fix positional flags for ``cp`` on Darwin.
12 years ago
Bernerd Schaefer 45243ac2da Print flags on status page.
12 years ago
Bernerd Schaefer 862054e88b web.StartServing prints listening address
12 years ago
Bernerd Schaefer a2a4f94aae StatusHandler renders build info
12 years ago
Johannes 'fish' Ziemke 1f96d4c822 Move protobuf descriptor and add content-type.
12 years ago
Matt T. Proud 9e02c2393a Include generated Protocol Buffer descriptor.
12 years ago
Matt T. Proud e86f4d9dfd Convert time readers to represent time in UTC.
12 years ago
Johannes 'fish' Ziemke 955708e8db Merge pull request #158 from prometheus/feature/auto-refresh
12 years ago
Julius Volz a2623efcdf Register pprof /debug endpoints with custom HTTP mux.
12 years ago
Johannes 'fish' Ziemke 712bf5e2f9 Add per graph auto-refresh option to web UI.
12 years ago
Julius Volz a0d311c9e6 Constantize job name label.
12 years ago
juliusv f21b5ad12b Merge pull request #133 from bernerdschaefer/graph-display-tweaks
12 years ago
Bernerd Schaefer 72bd585485 Revert style change to legend items
12 years ago
juliusv f817106d6a Merge pull request #134 from prometheus/fix/set-job-label-from-targets-api
12 years ago
juliusv f89d4c2cac Merge pull request #128 from prometheus/feature/convert-host-relative-links
12 years ago
Johannes 'fish' Ziemke 14407a076a Convert addresses pointing to localhost in status.
12 years ago
Bernerd Schaefer 8af0bbb3a0 Set job label for targets registered through the API
12 years ago
Bernerd Schaefer 442a6d2b11 Use $ instead of jQuery
12 years ago
Bernerd Schaefer 953334a4f7 Reformat and add semicolons to graph.js
12 years ago
Bernerd Schaefer 43dc377bee Flip x_label when it would render off-page
12 years ago
Bernerd Schaefer 461e02d2b8 Flip hover detail to prevent going off the screen
12 years ago
Bernerd Schaefer 8c9597cb39 Render legend in a similar style to labels
12 years ago
Bernerd Schaefer a7ec43189a Hovering over legend items highlights series in graph
12 years ago
Bernerd Schaefer 564633ecbc Render graph labels vertically
12 years ago
Bernerd Schaefer 5e9447996b Set CORS Headers on API requests
12 years ago
Johannes 'fish' Ziemke 8fba639706 Fix path to expression browser js.
12 years ago
Johannes 'fish' Ziemke adeabca230 Minor UI fixes.
12 years ago
Johannes 'fish' Ziemke e43d7d5771 Make Prometheus self-contained.
12 years ago
Johannes 'fish' Ziemke 17f622bd6e Take Path fragment from URL instead of whole URL.
12 years ago
Johannes 'fish' Ziemke bf197baaf9 Depend on all static and template files.
12 years ago
Johannes 'fish' Ziemke c108a9978d Merge branch 'master' of github.com:prometheus/prometheus into feature/navigation
12 years ago
Johannes 'fish' Ziemke 0f775a4178 Use Sprintf instead of string concatenation.
12 years ago
Johannes 'fish' Ziemke 1c091a9723 Use client_golang.exp for automatic telemetry.
12 years ago
Johannes 'fish' Ziemke 3aead8468c Fix typo.
12 years ago
Johannes 'fish' Ziemke 84d17b4d97 Replace YieldExporter() with Handler()
12 years ago
Johannes 'fish' Ziemke 1cb4c819e1 Remove cruft.
12 years ago
Johannes 'fish' Ziemke 1a3fb459e0 Add navigation menu to all pages + change routes.
12 years ago
Matt T. Proud 7764682c7c Update to use new default handler.
12 years ago
Julius Volz ec413459fa Depointerize Matrix/Vector types as well as time.Time arguments.
12 years ago
Johannes 'fish' Ziemke fed467ede0 Moved graph and console to use templates as well.
12 years ago
Johannes 'fish' Ziemke f27adac848 Split status template into two templates.
12 years ago
Julius Volz 2b8f0b2cc7 Constantize metric name label name.
12 years ago
Julius Volz dd67ab115b Change GetAllMetricNames() to GetAllValuesForLabel().
12 years ago
Johannes 'fish' Ziemke b0d1864146 Move css for graphs to graph.css and fix minor/fomatting issues.
12 years ago
Johannes 'fish' Ziemke 0a87618733 Add autocompletion for metrics.
12 years ago
Johannes 'fish' Ziemke ecb8331df1 Update jQuery to 1.9.1.
12 years ago
Johannes 'fish' Ziemke 07c76747f0 Clean up of graph UI's form.
12 years ago
Johannes 'fish' Ziemke 24b3a6d2cc Improve inserting of metrics in graph UI.
12 years ago
Johannes 'fish' Ziemke 3626b71c22 Improve graph UI.
12 years ago
Matt T. Proud 3e97a3630d Include nascent curator scaffolding.
12 years ago
Johannes 'fish' Ziemke b290c821d1 Renamed "localAssets" cmd flag to "useLocalAssets".
12 years ago
Johannes 'fish' Ziemke 9bb6820402 Use filename based type if DetectContentType fails.
12 years ago
Julius Volz 8e4c5b0cea Use AST query analyzer and views with tiered storage.
12 years ago
Matt T. Proud 1b0ca377af Reformat.
12 years ago
Julius Volz 20c5ca1d72 Lower-case web API method arguments.
12 years ago
juliusv 91c5e29f1f Merge pull request #91 from prometheus/feature/datetimepicker
12 years ago
Johannes 'fish' Ziemke 6213c0f1ee Add missing semicolons.
12 years ago
Johannes 'fish' Ziemke 72bd751857 Increase/decrease end date by 1/2 range.
12 years ago
Johannes 'fish' Ziemke c0b5ba6512 Prevent unnecessary reload.
12 years ago