Commit graph

2223 commits

Author SHA1 Message Date
Matt Jibson 1c8b75b98b Add SD for Amazon EC2 instances 2016-01-11 16:48:22 +01:00
Roy Miloh dae8797037 Remove duplicated bootstrap js on the graph template, it's already included on the base template. 2016-01-11 16:48:21 +01:00
Brian Brazil 8a8a3dabea consoles: Remove federation example.
Now that federation is a 1st class feature, there's
no reason to keep this around.
2016-01-11 16:48:21 +01:00
Fabian Reinartz f4ddf1a1d8 Switch to common/log 2016-01-11 16:48:21 +01:00
Thach MAI 734c361f05 Fix example prometheus.yml to use "external_labels" instead of "labels". 2016-01-11 16:48:21 +01:00
Brian Brazil e27d6ecaf2 Mention Hacktoberfest
As DigitalOcean is linking to this page, direct users to the project list from here.
2016-01-11 16:48:21 +01:00
Julius Volz fbb42497af HTML-escape string return values in web UI.
Querying for the string literal "<script>alert(1)</script>" would alert
otherwise.
2016-01-11 16:48:21 +01:00
Julius Volz 46e5472e25 Rename label 'filesystem'->'mountpoint' in node-cpu console.
The label name has been changed in the node exporter.
2016-01-11 16:48:21 +01:00
Fabian Reinartz a52361fdf1 Add missing 'g' 2016-01-11 16:48:21 +01:00
Julius Volz 100d8a951a CHANGELOG.md formatting fixes for 0.16.0rc2 entry 2016-01-11 16:48:20 +01:00
Fabian Reinartz a9e28239ac Cut release 0.16.0rc2 2016-01-11 16:48:20 +01:00
Julius Volz 35fa4ff267 Rename global "labels" config option to "external_labels". 2016-01-11 16:48:20 +01:00
Jimmi Dyson 5028482388 Add Kubernetes namespace & name labels to example config 2016-01-11 16:48:20 +01:00
Jimmi Dyson 88c6da77f9 Kubernetes SD example: separate out cluster level components & services 2016-01-11 16:48:20 +01:00
Jimmi Dyson fb0931d681 Kubernetes SD config tidy & add labelmap action example 2016-01-11 16:48:20 +01:00
Keegan Carruthers-Smith cf5a5a82ac Move InCluster auth in kubernetes example config
CA and Bearer Token are config of `kubernetes_sd_configs`, not the
`scrape_config`. Also updated misleading top-level comment and removed
unnecessary global config.
2016-01-11 16:48:20 +01:00
Julius Volz af661ad76c Fix target manager CPU busyloop caused by bad done-channel handling.
Unfortunately this isn't nicely testable, as it's timing-dependent and
one would have to detect a stray goroutine doing a CPU busyloop...

Fixes https://github.com/prometheus/prometheus/issues/1114
2016-01-11 16:48:20 +01:00
Brian Brazil 10b6d43b3e retrieval: Reduce flakiness of TestTargetRunScraperScrapes 2016-01-11 16:48:20 +01:00
Brian Brazil 0f77856095 retrieval: Add URL parameters to fullLabels too
Move all the special cases into one map, rather than
spreading the logic around.
2016-01-11 16:48:19 +01:00
Fabian Reinartz a4abed1e01 Switch to common/route package 2016-01-11 16:48:19 +01:00
Julius Volz b3ab5ec5d4 Fix / -> /graph redirect when using a path prefix. 2016-01-11 16:48:19 +01:00
Brian Brazil ac72fb75d0 promql: Reduce flakiness of concurrency test 2016-01-11 16:48:19 +01:00
Brian Brazil a7a1200f28 Retrieval: Show error message for failed test scrape
This is flaky, and I suspect it was due the to I/O timeout that I've
already fixed. In case that wasn't it, display the error should it
happen again.
2016-01-11 16:48:19 +01:00
Brian Brazil 1c5fbd568c retrieval: Reduce flakiness of TestTargetManagerChan
This will increase test time by a few hundred ms,
this is the 2nd most common cause of flakiness.
2016-01-11 16:48:19 +01:00
Brian Brazil 99935fdc48 retrieval: Reduce flakiness of target tests
Bump timeouts of tests where we don't want I/O timeouts.

Adjust the full channel test to be much more reliable,
by reducing the ingestion timeout from 1ms to 0.
2016-01-11 16:48:19 +01:00
Fabian Reinartz 2346d9927b Fix nil panic on consul error 2016-01-11 16:48:19 +01:00
Fabian Reinartz 1d8cb6b3e1 Update expfmt.NewDecoder usage 2016-01-11 16:48:18 +01:00
Matt Jibson 9bc4779be2 Allow labelmap action 2016-01-11 16:48:18 +01:00
beorn7 90f594c9fb Fix creation of protobuf fields 2016-01-11 16:48:18 +01:00
Fabian Reinartz 64187e59ce Fix phony targets and log asset generation 2016-01-11 16:48:18 +01:00
Fabian Reinartz 6d5cd89464 Fix unkeyed field errors. 2016-01-11 16:48:18 +01:00
Fabian Reinartz aa020d556c Fix missing return on error 2016-01-11 16:48:18 +01:00
Fabian Reinartz 8eae11da5c Fix scalar construction in function 2016-01-11 16:48:18 +01:00
Julius Volz 1df8ccb542 Add vector() function to CHANGELOG.md. 2016-01-11 16:48:18 +01:00
Julius Volz 0496125a58 Fix date of 0.16.0rc1 release in CHANGELOG.md. 2016-01-11 16:48:18 +01:00
Julius Volz 5dcc21899c Fix trailing space in Makefile. 2016-01-11 16:48:18 +01:00
Julius Volz 31385d50cd Cut Prometheus 0.16.0rc1. 2016-01-11 16:48:17 +01:00
Fabian Reinartz b39a2cee47 Fix missing go version in build tags 2016-01-11 16:48:17 +01:00
Fabian Reinartz 44bbf7ef5f Add goenv script and fix Docker 2016-01-11 16:48:17 +01:00
Fabian Reinartz 85c78ce86f Update Readme for new Makefile 2016-01-11 16:48:17 +01:00
Fabian Reinartz 38220cf132 Move assets generation to top level make file 2016-01-11 16:48:17 +01:00
Fabian Reinartz 0c4842436f Replace Makefile with simpler setup 2016-01-11 16:48:17 +01:00
Fabian Reinartz 8a378c309b Remove .pkgignore file 2016-01-11 16:48:17 +01:00
Fabian Reinartz d6e59fc38f Add newline to vendor.js after upstream fix 2016-01-11 16:48:17 +01:00
Fabian Reinartz 90f73b5005 Upgrade expfmt vendoring 2016-01-11 16:48:16 +01:00
Fabian Reinartz bb74d7ba39 Remove compression from web interface 2016-01-11 16:48:16 +01:00
Fabian Reinartz afa484b098 Apply HTTP handler compression everywhere 2016-01-11 16:48:16 +01:00
Fabian Reinartz b998b5884e Bump travis go version 2016-01-11 16:48:16 +01:00
Julius Volz 6d42878ee3 Make -web.external-url help string more verbose. 2016-01-11 16:48:16 +01:00
Julius Volz bf03eee920 Fix InfluxDB write support to work with InfluxDB 0.9.x.
Because the InfluxDB client library currently pulls in multiple MBs of
unnecessary dependencies, I have modified and cut up the vendored
version to only pull in the few pieces that are actually needed.

On InfluxDB's side, this dependency issue is tracked in:

https://github.com/influxdb/influxdb/issues/3447

Hopefully, it will be resolved soon.

If a password is needed for InfluxDB, it may be supplied via the
INFLUXDB_PW environment variable.
2016-01-11 16:48:16 +01:00