Commit graph

3274 commits

Author SHA1 Message Date
Frederic Branczyk 7714b9c781 move relabeling functionality to its own package
also remove the returned error as it was always nil
2016-08-09 14:19:20 +02:00
Frederic Branczyk 679d225c8d allow relabeling of alerts
in case of dropping don't even enqueue them
2016-08-09 14:18:31 +02:00
Fabian Reinartz c9b58d3e27 Merge pull request #1877 from prometheus/fabxc-fix-joblink
web/ui: fix job link
2016-08-09 09:42:50 +02:00
Fabian Reinartz df22684b5b web/ui: fix job link 2016-08-08 19:03:51 +02:00
Fabian Reinartz 98c0d33567 Merge pull request #1875 from brancz/idelta-function
add idelta function
2016-08-08 12:33:07 +02:00
Frederic Branczyk f02df4138c refactor duplication of irate and idelta functions implementations 2016-08-08 10:52:00 +02:00
Fabian Reinartz 32fad9fbb4 Merge pull request #1874 from prometheus/fabxc-joblink
Add HTML link for job name on target page
2016-08-08 10:48:34 +02:00
Fabian Reinartz cfe5c5fa15 Merge branch 'master' of https://github.com/cambridge-university-press/prometheus into cambridge-university-press-master 2016-08-08 10:46:36 +02:00
Fabian Reinartz d3aa6c0133 Merge pull request #1872 from grandbora/ui-url-params
Use query parameters in the /graph page
2016-08-08 10:43:06 +02:00
Frederic Branczyk dbf83666bb add idelta function
similar to the irate function the idelta function calculates the delta
function with the last two values
2016-08-08 10:40:50 +02:00
Frederic Branczyk 0ce5e7fe6d move legacy test for delta function 2016-08-08 10:02:58 +02:00
Bora Tunca 12bcc92311 Generate bindata.go 2016-08-08 09:52:14 +02:00
Bora Tunca fc6cdd0611 Update backend helpers and templates to new url schema 2016-08-08 09:52:14 +02:00
Bora Tunca 445fac56e0 Refactor graph.js 2016-08-08 09:52:13 +02:00
Bora Tunca 3e18d86d8a Use query parameters in the url 2016-08-06 17:28:18 +02:00
Bora Tunca 3da825fc76 Point to correct place for GraphLinkForExpression 2016-08-06 17:28:18 +02:00
Julius Volz d770783777 Neurotic cleanups to graph.js 2016-08-05 23:35:11 +02:00
Fabian Reinartz 70490fe568 Merge pull request #1805 from prometheus/higher-level-storage-interface
Make the storage interface higher-level.
2016-08-05 16:17:14 +02:00
Fabian Reinartz 806571074a Merge pull request #1869 from prometheus/fabxc-patch-1
Clarify comment on rule evaluation
2016-08-03 10:47:28 +02:00
Fabian Reinartz 9a269b5507 Clarify comment on rule evaluation
Fixes #1866
2016-08-03 08:29:51 +02:00
Fabian Reinartz a4ee5b14d5 Merge pull request #1865 from prometheus/alert-name
Remove __name__ from alerts sent to AM.
2016-08-01 23:34:19 -07:00
Brian Brazil 6fc88d4b4d Remove __name__ from alerts sent to AM.
Fixes #1861
2016-08-01 23:32:41 +01:00
Fabian Reinartz f9533754d1 Merge pull request #1862 from alicebob/removegraph
'Remove Graph' links on the /graph page
2016-07-31 12:19:27 -07:00
Harmen 7b4a67f651 make assets build 2016-07-31 16:32:25 +02:00
Harmen 0b883e24ba Add a 'Remove Graph' link to the 'Graph' screen 2016-07-31 16:30:23 +02:00
Steve Durrheimer 6633df1607 Merge pull request #1859 from prometheus/sdurrheimer-promu-go-version
Use the default go version for the crossbuilt process
2016-07-31 13:02:34 +02:00
Steve Durrheimer d41e66e9a3
Use the default go version for the crossbuilt process 2016-07-30 11:19:56 +02:00
Fabian Reinartz 603b3e50b9 Merge pull request #1858 from fabric8io/docker-consoles-dir
Docker: Move console dirs to /usr/share/prometheus
2016-07-30 01:30:34 -07:00
Jimmi Dyson bf6d92c63a
Docker: Move console dirs to /usr/share/prometheus 2016-07-29 14:00:47 +01:00
Andrew Hemming 7ebcd678ea Added HTML link for each job name
Useful for quick navigation on the target page when there are many jobs
and targets

Corrected HTML link for each job name

Regenerated bindata
2016-07-28 17:10:34 +01:00
Fabian Reinartz 3a1a5786a8 Merge pull request #1851 from prometheus/grobie/always-format-assets
Always format generated assets
2016-07-27 16:06:22 -07:00
Tobias Schmidt 4042392a2d Always format generated assets
It's easy to forget formatting assets after re-generating them, so let's
do this automatically.
2016-07-27 19:02:18 -04:00
Tobias Schmidt 0b6bec1af7 Merge pull request #1850 from caniszczyk/patch-1
Add CNCF reference in the README
2016-07-27 18:41:42 -04:00
Tobias Schmidt 5416518178 Fix go fmt of ui/bindata.go 2016-07-27 18:35:01 -04:00
Chris Aniszczyk 8066de91ca Add CNCF reference in the README
A simple reference to the CNCF and link to the website.
2016-07-27 17:15:03 -05:00
Fabian Reinartz e7ce06f506 Update Travis Go versions 2016-07-27 12:06:49 -07:00
Fabian Reinartz 3bcc36dd8a Merge pull request #1848 from audunstrand/patch-1
added path to pods scrape job
2016-07-27 09:31:55 -07:00
Fabian Reinartz 823ee3eeee Merge pull request #1847 from alicebob/alertmsg
Message on an empty Alerts page
2016-07-27 09:30:08 -07:00
Audun Fauchald Strand 50e044bb00 added path to pods scrape job 2016-07-27 15:13:53 +02:00
Harmen a1443280b4 make assets build 2016-07-27 12:56:08 +02:00
Harmen 512b3f8d95 Friendlier message when there are no alerting rules 2016-07-27 12:54:46 +02:00
Fabian Reinartz 67b7535471 Merge pull request #1835 from fabric8io/k8s-sd-pod-disco-hostname
Kubernetes SD: Add node name and host IP to pod discovery
2016-07-26 15:18:42 -07:00
Fabian Reinartz 4be73d118e Merge pull request #1831 from mattbostock/remove_silence_column
Alerts template: remove silence table header
2016-07-26 13:41:55 -07:00
Matt Bostock 78715e4182 Alerts template: remove silence table header
There's no corresponding table column for this table header. The
placeholder link for silences was removed in e8800730.

Accordingly, regenerate `web/ui/bindata.go` by running:

    make assets format
2016-07-26 21:33:21 +01:00
Björn Rabenstein 49e317333c Merge pull request #1844 from alicebob/lessnoise
don't store empty values in the URL
2016-07-26 00:59:48 +02:00
Harmen afc5873b0e don't store empty values in the URL 2016-07-25 21:08:05 +02:00
Julius Volz 3bfec97d46 Make the storage interface higher-level.
See discussion in
https://groups.google.com/forum/#!topic/prometheus-developers/bkuGbVlvQ9g

The main idea is that the user of a storage shouldn't have to deal with
fingerprints anymore, and should not need to do an individual preload
call for each metric. The storage interface needs to be made more
high-level to not expose these details.

This also makes it easier to reuse the same storage interface for remote
storages later, as fewer roundtrips are required and the fingerprint
concept doesn't work well across the network.

NOTE: this deliberately gets rid of a small optimization in the old
query Analyzer, where we dedupe instants and ranges for the same series.
This should have a minor impact, as most queries do not have multiple
selectors loading the same series (and at the same offset).
2016-07-25 13:59:22 +02:00
Björn Rabenstein e980913cd6 Merge pull request #1840 from zoidbergwill/patch-1
Fix missing roles in prometheus kubernetes example
2016-07-21 16:13:30 +02:00
William Stewart f97cd29e47
Drop '__meta_kubernetes_role' since we have role in the config 2016-07-21 15:46:14 +02:00
William Stewart 599fafd2aa
Add node job 2016-07-21 15:45:42 +02:00