Julius Volz
1ae23bf5e9
Handle OPTIONS HTTP requests correctly.
...
Fixes https://github.com/prometheus/prometheus/issues/1346
2016-01-26 12:31:44 +01:00
Fabian Reinartz
b0adfea8d5
Fix swapped constants, improve instrumentation
2016-01-21 12:15:29 +01:00
Fabian Reinartz
8a67110041
Revert autocomplete changes
2016-01-11 15:18:39 +01:00
Fabian Reinartz
37d80c4b25
Fix premature rule evaluation
...
This commit prevents rule evaluation from starting until after
the storage is ready.
2016-01-08 17:51:22 +01:00
Fabian Reinartz
bf6abac8f4
Send resolved notifications
2015-12-17 15:42:26 +01:00
Fabian Reinartz
52e5224f5a
Refactor rules/ package
2015-12-17 15:42:25 +01:00
Fabian Reinartz
b35e25a082
Don't federate stale samples
2015-12-16 13:45:44 +01:00
Fabian Reinartz
e0f70ed5ca
Update common/{expfmt,model}
...
Closes #1232
2015-12-10 11:19:46 +01:00
Fabian Reinartz
29a69eecb8
Do not panic in Consul SD creation
2015-11-30 18:41:48 +01:00
Tobias Schmidt
7a6a0630d1
Merge pull request #1213 from prometheus/fix-wrong-http-status-codes
...
Return HTTP server error codes for execution errors
2015-11-12 09:12:17 -08:00
Tobias Schmidt
6c49edfce2
Merge pull request #1211 from prometheus/default-time-parameter
...
Make time parameter optional in v1 query API
2015-11-12 09:11:55 -08:00
Julius Volz
bce5202354
Minor fixups to web/ui/README.md
2015-11-12 02:54:14 +01:00
Tobias Schmidt
bf84faa010
Return HTTP server error codes for execution errors
2015-11-11 16:22:20 -08:00
Fabian Reinartz
7cbd31f7b6
Merge pull request #1212 from prometheus/uidev
...
Document convenient development of UI files.
2015-11-11 23:49:04 +01:00
Tobias Schmidt
50079a85a1
Make time parameter optional in v1 query API
...
If no time paramter is provided, the current server timestamp is used.
2015-11-11 13:30:06 -08:00
Fabian Reinartz
69e6ac735e
Document convenient development of UI files.
2015-11-11 21:17:54 +01:00
Sam Starling
1901875595
Tidy up .js files based on static analysis from jshint
2015-11-11 20:06:47 +01:00
Fabian Reinartz
a542cc8609
Remove -web.use-local-assets
2015-11-11 17:58:03 +01:00
Fabian Reinartz
57ca7108aa
Enable debug generation of go-bindata, rename blob/ to ui/
2015-11-11 15:55:16 +01:00
Fabian Reinartz
33aab4169c
Anchor regexes in vector matching
...
This commit makes the regex behavior of vector matching consistent with
configuration and label_replace() by anchoring it.
Fixes #1200
2015-11-05 11:23:43 +01:00
Julius Volz
a635f5451e
Don't autocomplete metrics in range specifications.
2015-10-25 19:36:28 +01:00
Tobias Schmidt
ee600cf949
Format web/blob/files.go after generation
2015-10-23 02:51:29 -04:00
Julius Volz
c27400de21
Recompile web assets for autocomplete change.
2015-10-13 15:18:03 -04:00
Julius Volz
15c58c0f3e
Enable autocomplete anywhere in expression.
...
This enables metric name autocompletion for every word in an expression,
not just the very first one. It would be great to also support all
language keywords during autocompletion in the future.
2015-10-13 15:17:56 -04:00
Julius Volz
0088aa4d45
Merge pull request #1132 from prometheus/fix-quoting-and-escaping
...
Support escape sequences in strings and add raw strings
2015-10-08 20:51:18 +02:00
Julius Volz
46c5260761
Support escape sequences in strings and add raw strings.
...
This adapts some functionality from the Go standard library for string
literal lexing and unquoting/unescaping.
The following string types are now supported:
Double- or single-quoted strings:
These support all escape sequences that Go supports in double-quoted
string literals. The difference is that Prometheus also has
single-quoted strings (instead of single-quoted runes in Go). Raw
newlines are not allowed.
Backtick-quoted raw strings:
Strings quoted in backticks are treated as raw strings just like in Go
and may contain raw newlines and other special characters directly.
Fixes https://github.com/prometheus/prometheus/issues/1122
Fixes https://github.com/prometheus/prometheus/issues/1121
2015-10-08 19:17:21 +02:00
Roy Miloh
189416cb34
Remove duplicated bootstrap js on the graph template, it's already included on the base template.
2015-10-05 22:50:16 +03:00
Fabian Reinartz
e3b6ec9784
Switch to common/log
2015-10-03 10:21:43 +02:00
Julius Volz
3008a35c04
HTML-escape string return values in web UI.
...
Querying for the string literal "<script>alert(1)</script>" would alert
otherwise.
2015-10-01 13:21:39 +02:00
Julius Volz
dac26cef71
Rename global "labels" config option to "external_labels".
2015-09-29 20:54:20 +02:00
Fabian Reinartz
398bbf906b
Switch to common/route package
2015-09-24 17:08:47 +02:00
Julius Volz
0179bbfe03
Fix / -> /graph redirect when using a path prefix.
2015-09-23 12:36:18 +02:00
Björn Rabenstein
cf12e890a6
Merge pull request #1098 from prometheus/fix-direct-access-of-protobuf-fields
...
Fix creation of protobuf fields
2015-09-21 13:40:29 +02:00
beorn7
ca63c05b4e
Fix creation of protobuf fields
2015-09-18 19:00:53 +02:00
Fabian Reinartz
171f50706a
Fix unkeyed field errors.
2015-09-18 17:00:08 +02:00
Fabian Reinartz
ac9554539c
Merge pull request #1092 from prometheus/makefile
...
Native go building
2015-09-18 10:29:57 +02:00
Fabian Reinartz
92ffeadb7b
Move assets generation to top level make file
2015-09-17 17:53:54 +02:00
Fabian Reinartz
d85cee0277
Remove compression from web interface
2015-09-17 16:33:14 +02:00
Fabian Reinartz
f8a25f6af7
Apply HTTP handler compression everywhere
2015-09-17 14:49:50 +02:00
Fabian Reinartz
896928ad00
Fix redirect path
2015-09-12 09:02:34 +02:00
Fabian Reinartz
d7b21f2fdb
Merge pull request #1039 from prometheus/startpage
...
Change UI start page
2015-09-12 08:44:54 +02:00
Fabian Reinartz
87b1d47e2b
Change UI start page
2015-09-12 08:40:46 +02:00
Fabian Reinartz
9bbd9264e2
Add global labels to federation
2015-09-03 16:38:03 +02:00
Julius Volz
da2499d5a5
Add POST handler for /debug to fix CPU profiling.
...
`go tool pprof` sends a POST request to enable CPU profiling, so we also
need to handle that method.
2015-08-26 17:42:25 +02:00
Julius Volz
995d3b831d
Fix most golint warnings.
...
This is with `golint -min_confidence=0.5`.
I left several lint warnings untouched because they were either
incorrect or I felt it was better not to change them at the moment.
2015-08-26 12:44:46 +02:00
Fabian Reinartz
d6b8da8d43
Switch promql types to common/model
2015-08-25 13:49:14 +02:00
Fabian Reinartz
d6d88f8950
Add missing license headers
2015-08-24 19:19:21 +02:00
Fabian Reinartz
1535ef1457
Replace metric.SamplePair with model.SamplePair
2015-08-22 14:52:35 +02:00
Fabian Reinartz
438e232c9b
Fix grouping of import blocks
2015-08-22 09:42:45 +02:00
Fabian Reinartz
47aa0d536c
Use common/expfmt in federation
2015-08-21 13:33:38 +02:00
Fabian Reinartz
306e8468a0
Switch from client_golang/model to common/model
2015-08-21 13:33:38 +02:00
Julius Volz
274e9d6955
Exit when web server encounters a startup error
2015-08-20 18:23:57 +02:00
Julius Volz
e88007306c
Remove broken alert silencing links.
...
Let's remove the silencing links until we actually have support for that.
A silencing link shouldn't only redirect to Alertmanager, but also open a
silencing dialog for the respective alert name or active alert element.
2015-08-18 14:48:57 +02:00
Brian Brazil
eb82a4b948
web: Support multiple names for console graphs.
2015-08-11 23:37:09 +01:00
Brian Brazil
a8605825a0
Rollback, meant to send a PR
2015-08-11 20:02:03 +01:00
Brian Brazil
1ad449d233
web: Support multiple names for console graphs.
2015-08-11 19:59:00 +01:00
Jan Berktold
fa929a8345
Change /reload to /-/reload & and fix channel type
2015-08-11 12:26:41 +02:00
Jan Berktold
2bf7048dbb
Add reload handler to web
2015-08-11 11:27:15 +02:00
Dan Williams
0441518a71
Add IDs to H2 tags to allow anchored linking
...
Allow sharing links directly to areas of the status page f.e. http://prometheus.internal/#config/
2015-07-30 15:39:05 -04:00
Julius Volz
c5c7f92960
Fix /debug/pprof endpoint with new web router.
...
This got broken in
78047326b4
since it stopped using the DefaultServeMux.
This approach will defer pprof requests to the DefaultServeMux, which
may or may not have pprof enabled (in Prometheus, it gets it included in
main.go). An alternative approach would be to duplicate the four lines in
https://golang.org/src/net/http/pprof/pprof.go#L62 . When choosing that
approach though, we would not automatically gain any new endpoints added
by net/http/pprof or other /debug endpoints in the future.
2015-07-22 12:28:46 +02:00
Fabian Reinartz
62b4e89b39
Restore legacy API scalar format
2015-07-16 20:19:18 +02:00
Brian Brazil
87b9813be4
Merge pull request #883 from brian-brazil/fix-menu
...
web: Fix regression in .Path
2015-07-10 10:38:30 +01:00
Brian Brazil
7b5a29fc8f
web: Fix regression in .Path
...
.Path is documented as removing /consoles/,
recent changes added in a leading / which broke
the provided console templates menu system.
2015-07-10 10:31:35 +01:00
Fabian Reinartz
9e599976c4
web/js: fix display error for vectors in console
2015-07-10 00:43:43 +02:00
Fabian Reinartz
75ba840d88
web/js: adjust Javascript to new response format
2015-07-06 13:09:26 +02:00
Fabian Reinartz
3d67d75935
promql: implement JSON array format for scalar and string
2015-07-06 13:09:26 +02:00
Fabian Reinartz
77e8983221
promql: add MarshalJSON method for SamplePair
2015-07-06 10:29:59 +02:00
Julius Volz
0f57b403a9
Add tests for "globalURL" template function.
2015-07-03 14:47:52 +02:00
Julius Volz
fcff35b43e
Consolidate external reachability flags into one.
...
Besides fixing https://github.com/prometheus/prometheus/issues/805 by
making the entire externally reachable server URL configurable, this
adds tests for the "globalURL" template function and makes it easier to
test other such functions in the future.
This breaks the `web.Hostname` flag (and introduces `web.external-url`).
This flag is likely only used by few users, so I hope that's
justifiable.
Fixes https://github.com/prometheus/prometheus/issues/805
2015-07-03 13:39:10 +02:00
Fabian Reinartz
8f904d6a54
api/v1: fix response format tests
2015-07-02 14:12:26 +02:00
Fabian Reinartz
b36fa7ad61
api/v1: fix Content-Type in response
2015-07-01 22:47:25 +02:00
Fabian Reinartz
4db3eeb054
web: generate embedded assets.
2015-06-25 17:26:26 +02:00
Julius Volz
cf2a7a7ca9
Use v1 API for querying.
...
Also remove hidden input fields that are not used anymore, because the
query params are now passed as JSON to the AJAX function. This also has
the wonderful side effect that we're no longer sending all the other
non-hidden fields along to the query endpoints anymore.
2015-06-25 15:05:04 +02:00
Julius Volz
9607b8bbdb
Merge pull request #840 from prometheus/fix-scrape-errors-ui
...
Fix blown-up scrape error display in web UI.
2015-06-24 17:55:01 +02:00
Julius Volz
bc1c789bab
Disallow cross-origin DELETE and POST requests.
2015-06-24 17:26:49 +02:00
Julius Volz
c7039c3a73
Fix blown-up scrape error display in web UI.
2015-06-24 17:22:16 +02:00
Julius Volz
535a7f2640
Update web/blog/files.go with new web content.
2015-06-24 15:26:01 +02:00
Julius Volz
bbc8b8490e
Switch human-readable times to UTC.
...
This fixes https://github.com/prometheus/prometheus/issues/829
2015-06-23 21:26:05 +02:00
Julius Volz
d868264bb8
Improve UI of /alerts page.
...
Changes to the UI:
- "Active Since" timestamps are now human-readable.
- Alerting rules are now pretty-printed better.
- Labels are no longer just strings, but alert bubbles (like we do on
the status page for base labels).
- Alert states and target health states are now capitalized in the
presentation layer rather than at the source.
2015-06-23 18:48:45 +02:00
Julius Volz
d7ea0397d4
Use templates.TemplateExpander for all page templates.
...
This will allow us to use all of our shiny templating functions in the
main page templates as well.
2015-06-23 17:53:06 +02:00
Fabian Reinartz
53b9d5917d
web: improve target URL handling and display.
2015-06-23 13:45:15 +02:00
Fabian Reinartz
39a8254963
web: add basic federation support.
...
This commit adds a federation handler on /federate. It accepts `match[]`
query parameters containing vector selectors. Their intersection determines
the in-memory metrics that are returned in the same way as the
/metrics endpoint does (modulo sorting).
2015-06-23 13:45:15 +02:00
Fabian Reinartz
1eff186555
Merge pull request #810 from prometheus/fabxc/lmatch
...
Match empty labels.
2015-06-22 15:45:50 +02:00
Fabian Reinartz
5b91ea9b36
storage: improve label matching and allow unset matching.
...
Matching of empty labels now also matches metrics where the label
was not explicitly set to the empty string.
2015-06-22 15:33:44 +02:00
Fabian Reinartz
94cd321be1
promql: error if all label matchers are empty.
2015-06-22 15:33:44 +02:00
Fabian Reinartz
119801027f
web: expose a version information endpoint
2015-06-17 14:49:31 +02:00
Fabian Reinartz
39edc2df7a
version: move version information into separate package.
...
Version information is determined at build-time and thus there is
no need to pass it down from main. In its own package it can
be used from various other packages.
2015-06-16 14:48:29 +02:00
Fabian Reinartz
85d7c7640a
web: remove flags, refactor handlers
2015-06-15 19:01:06 +02:00
Brian Brazil
27ef54263e
Web: Format files.go when it is built.
...
This will avoid unrelated changes appearing
when you do a make fmt
2015-06-13 15:27:08 +01:00
Julius Volz
b9b20fd80e
Always show selected range, regardless of returned data.
2015-06-12 17:22:06 +02:00
Julius Volz
395a0b3b11
Merge pull request #799 from prometheus/multiline-expr-input
...
Change expression input field to multi-line textarea.
2015-06-12 17:03:54 +02:00
Julius Volz
8bb578c1fe
Change expression input field to multi-line textarea.
...
Also, rearrange and clean up some things to make this work.
The textarea starts as a single line, but auto-expands when entering
multiple lines (e.g. via Shift+Enter). Pressing just "Enter" still
executes the expression.
2015-06-12 16:59:38 +02:00
Fabian Reinartz
8d304d95e5
make: do not call go-bindata on building.
2015-06-12 09:29:37 +02:00
Fabian Reinartz
70e0be6295
Merge pull request #783 from prometheus/fabxc/api-v1-ext
...
/series endpoints for API v1 and scalar range queries
2015-06-11 14:06:04 +02:00
Fabian Reinartz
7bb7e565a4
web/api: add GET and DELETE /series endpoints
2015-06-11 12:24:57 +02:00
Sindre Myren
a081c9436b
Building without a Makefile (on Windows)
...
Main changes:
- Switched to using `go-bindata` in place of `scripts/embed-static.sh`.
- Support for building Prometheus without a `Makefile`.
- Minor typo fix to make Prometheus build on Windows (without Makefiles).
Please note that this does not mean that prometheus will work on Windows.
There are still failing tests!
2015-06-10 20:43:59 +02:00
Fabian Reinartz
7be94ce962
web/api: improve errors, add tests
2015-06-10 18:36:02 +02:00
Fabian Reinartz
75b0b7420e
web/api: replace /metrics/names with /label/:name/values endpoint.
2015-06-08 23:10:52 +02:00
Fabian Reinartz
ae01a5366d
Merge pull request #774 from prometheus/fabxc/api-v1
...
Initial API v1 implementation
2015-06-08 19:14:25 +02:00
Fabian Reinartz
5b713911e3
web/api: enable running API legacy and v1 in parallel
2015-06-08 19:11:48 +02:00
Julius Volz
adf6850853
Improve display of target labels on status page.
...
Instead of a "{...}"-style list, show key/value pairs as Bootstrap
labels.
2015-06-08 16:12:58 +02:00
Julius Volz
51653e7890
Merge pull request #779 from prometheus/fabxc/rule-cleanup
...
rule cleanup
2015-06-08 15:12:47 +02:00
Brian Brazil
b8b1d3cbac
Web: Add pre-relabel labels to status page.
...
Figuring out what's going on with the new service discovery
and labels is difficult. Add a popover with the labels
to the target table to make things simpler, and help
discovery of potentially useful labels.
2015-06-08 12:19:01 +01:00
Fabian Reinartz
ab9c98acac
web/api: add initial API v1 implementation.
2015-06-06 21:47:36 +02:00
Fabian Reinartz
5e13880201
General cleanup of rules.
2015-06-06 21:40:52 +02:00
Fabian Reinartz
e88e5f680b
web: simplify prefix handling using util/route package.
2015-06-03 15:53:04 +02:00
Fabian Reinartz
78047326b4
web: cleanup initialization of web service.
2015-06-03 08:45:43 +02:00
Fabian Reinartz
280d11dca8
main: exit on invalid rule files on startup.
2015-06-02 18:44:41 +02:00
Fabian Reinartz
0de6edbdfc
Move pkg/ to util/
2015-06-01 21:12:32 +02:00
Fabian Reinartz
027d8968d5
Move embed-static.sh into scripts folder
2015-06-01 21:12:32 +02:00
Fabian Reinartz
f45a5cab60
Move templates package to pkg/template
2015-06-01 21:12:31 +02:00
Fabian Reinartz
dfaf31a1da
Move web/httputils to pkg/httputil and add DeadlineClient to it
2015-06-01 21:12:31 +02:00
Julius Volz
09fcf505f5
Fix slash position in MustBuildServerURL().
2015-06-01 12:54:19 +02:00
Julius Volz
d7c015c149
Convert pathPrefix to not have trailing slash.
2015-06-01 12:43:17 +02:00
Julius Volz
837ffcea29
Merge pull request #726 from prometheus/improve-redirections
...
Improve web redirection and 404 behavior.
2015-05-23 16:16:26 +02:00
Tobias Gesellchen
84d42f48e5
allow to override the default os.Hostname() when creating PrometheusURLs
2015-05-23 12:59:38 +02:00
Julius Volz
fcd33bbfd8
Improve web redirection and 404 behavior.
...
Previously we redirected any non-existent path to the root (or path
prefix).
The new behavior:
With no path prefix:
- "" -> "/"
- "/biz" -> 404
With path prefix of "/foo/bar":
- "" -> "/foo/bar/"
- "/" -> "/foo/bar/"
- "/foo/bar" -> "/foo/bar/"
- "/biz" -> /foo/bar/biz"
(anything not starting with the path prefix gets the prefix prepended)
- "/foo/bar/biz" -> 404
2015-05-23 12:46:16 +02:00
Björn Rabenstein
c44e7cd105
Merge pull request #706 from prometheus/beorn7/persistence2
...
Improve iterator performance.
2015-05-21 13:48:52 +02:00
beorn7
3b9c421a69
Weed out all the [Gg]et* method names.
...
The only exception is getNumChunksToPersist to avoid naming the struct
member numChunksToPersist in a weird way.
2015-05-20 19:13:06 +02:00
Julius Volz
267fd34156
Switch Prometheus to use github.com/prometheus/log.
...
This change is conceptually very simple, although the diff is large. It
switches logging from "github.com/golang/glog" to
"github.com/prometheus/log", while not actually changing any log
messages. V(1)-style logging has been changed to be log.Debug*().
2015-05-20 18:19:32 +02:00
Fabian Reinartz
e2ed921505
Merge branch 'master' into fabxc/servdisc
2015-05-20 14:13:08 +02:00
Fabian Reinartz
a216b1cb27
Merge pull request #704 from prometheus/fabxc/cfg_check
...
Clean storage shutdown on startup errors, require initial config
2015-05-19 16:50:05 +02:00
Fabian Reinartz
ec9c51ab98
Fix old template naming
2015-05-19 15:40:41 +02:00
Fabian Reinartz
5d3024fd3e
Restructure component initialization
2015-05-19 14:41:47 +02:00
Mitsuhiro Tanda
3e914a8cb1
fix graph links with path prefix
2015-05-19 02:45:05 +09:00
Fabian Reinartz
385919a65a
Avoid inter-component blocking if ingestion/scraping blocks.
...
Appending to the storage can block for a long time. Timing out
scrapes can also cause longer blocks. This commit avoids that those
blocks affect other compnents than the target itself.
Also the Target interface was removed.
2015-05-18 17:58:51 +02:00
Fabian Reinartz
1a2d57b45c
Move template functionality out of target.
...
The target implementation and interface contain methods only serving a
specific purpose of the templates. They were moved to the template
as they operate on more fundamental target data.
2015-05-18 13:35:43 +02:00
Fabian Reinartz
dbc08d390e
Move target status data into its own object
2015-05-18 11:15:42 +02:00
Fabian Reinartz
bb540fd9fd
Implement config reloading on SIGHUP.
...
With this commit, sending SIGHUP to the Prometheus process will reload
and apply the configuration file. The different components attempt
to handle failing changes gracefully.
2015-05-13 16:49:46 +02:00
Fabian Reinartz
3b0777ff84
Merge branch 'master' into fabxc/servdisc
2015-05-12 15:46:16 +02:00
Fabian Reinartz
eeca323d24
Merge branch 'master' into promql
2015-05-06 13:04:54 +02:00
Fabian Reinartz
6649306e63
Merge pull request #660 from prometheus/fabxc/pql/parse-errs
...
Fix and improve parsing error output.
2015-04-30 13:31:13 +02:00
Fabian Reinartz
279831cdf1
Fix and improve parsing error output.
2015-04-30 12:19:39 +02:00
Fabian Reinartz
8d7c479fed
Merge pull request #658 from prometheus/fabxc/pql/rules-manager
...
Rename RuleManager to Manager, remove interface.
2015-04-29 16:54:21 +02:00
Fabian Reinartz
479891c9be
Rename RuleManager to Manager, remove interface.
...
This commits renames the RuleManager to Manager as the package
name is 'rules' now. The unused layer of abstraction of the
RuleManager interface is removed.
2015-04-29 16:42:10 +02:00
Fabian Reinartz
25cdff3527
Remove name
arg from Parse*
functions, enhance parsing errors.
2015-04-29 16:38:41 +02:00
Fabian Reinartz
3ca11bcaf5
Switch Prometheus to promql package.
...
This commit removes all functionality from rules/ that is now handled in
promql/.
All parts of Prometheus are changed to use the promql/ package.
2015-04-28 16:19:23 +02:00
Fabian Reinartz
5015c2a0e8
Make target manager source based.
...
This commit shifts responsibility for maintaining targets from providers and
pools to the target manager. Target groups have a source name that identifies
them for updates.
2015-04-24 15:49:35 +02:00
Brian Brazil
c3a2b63fe9
Add stddev and stdvar aggregation functions.
...
This adds the population standard deviation and
variance as aggregation functions, useful for
spotting how many standard deviations some samples
are from the mean.
2015-04-17 00:30:03 +01:00
Ceesjan Luiten
6f5f33bd4d
#625 Fix incorrect consoles URL
2015-04-06 17:30:13 +02:00
Ceesjan Luiten
0e18784c64
Make all paths absolute to support proxies
2015-04-02 20:36:47 +02:00
Julius Volz
33702da8a8
Use simple Now() func in API instead of utility.Time.
2015-03-27 23:43:47 +01:00
Julius Volz
a5a553f1da
Add initial HTTP API tests.
...
This covers the /query (instant query) endpoint for now. Others to
follow.
2015-03-27 21:37:55 +01:00
Julius Volz
3f2686d0b3
Remove unused fields from MetricsService.
2015-03-27 18:51:13 +01:00
Julius Volz
c8a6b73bff
Merge pull request #606 from prometheus/custom-instant-timestamps
...
Allow custom timestamps in instant query API.
2015-03-27 18:31:51 +01:00
Julius Volz
c9b76def4c
Report all query API HTTP errors in JSON format.
2015-03-27 16:48:03 +01:00
Julius Volz
ea8a12db59
Also fix label HTML-escaping in console graphs.
2015-03-22 23:47:00 +01:00
Julius Volz
8f6ef04d70
HTML-escape label values in Rickshaw hover-detail.
2015-03-22 21:59:14 +01:00
Julius Volz
df314ead84
Remove unnecessary "else" branch in query API.
2015-03-21 17:54:30 +01:00
Julius Volz
a68b880c27
Add tests for new timestamp/duration functions.
...
...and fix the first bugs in them where they truncate precision below a
second.
2015-03-21 17:50:45 +01:00