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