Commit 1d6d2255 authored by Julius Volz's avatar Julius Volz

Fix broken links, avoid redirects, etc.

parent bbe75fa5
...@@ -32,7 +32,7 @@ must match the regex `[a-zA-Z_][a-zA-Z0-9_]`. ...@@ -32,7 +32,7 @@ must match the regex `[a-zA-Z_][a-zA-Z0-9_]`.
Label values may contain any Unicode characters. Label values may contain any Unicode characters.
See also the [best practices for naming metrics and labels](/docs/practices/naming). See also the [best practices for naming metrics and labels](/docs/practices/naming/).
## Samples ## Samples
Samples form the actual time series data. Each sample consists of: Samples form the actual time series data. Each sample consists of:
......
...@@ -22,4 +22,4 @@ sends the current state of all tracked metrics to the server. ...@@ -22,4 +22,4 @@ sends the current state of all tracked metrics to the server.
If no client library is available for your language, or you want to avoid If no client library is available for your language, or you want to avoid
dependencies, you may also implement one of the supported [exposition dependencies, you may also implement one of the supported [exposition
formats](/docs/instrumenting/exposition_formats) yourself to expose metrics. formats](/docs/instrumenting/exposition_formats/) yourself to expose metrics.
...@@ -17,5 +17,5 @@ For details on each format and the content negotiation options, see the ...@@ -17,5 +17,5 @@ For details on each format and the content negotiation options, see the
[Client Data Exposition Format](https://docs.google.com/document/d/1ZjyKiKxZV83VI9ZKAXRGKaUKK2BIWCT7oiGBKDBpjEY/edit?usp=sharing) [Client Data Exposition Format](https://docs.google.com/document/d/1ZjyKiKxZV83VI9ZKAXRGKaUKK2BIWCT7oiGBKDBpjEY/edit?usp=sharing)
document. document.
The majority of users should use the existing [client libraries](../clientlibs) The majority of users should use the existing [client libraries](/docs/instrumenting/clientlibs/)
that already implement the exposition formats. that already implement the exposition formats.
...@@ -9,11 +9,11 @@ sort_rank: 5 ...@@ -9,11 +9,11 @@ sort_rank: 5
### What is Prometheus? ### What is Prometheus?
Prometheus is an open-source systems monitoring and alerting toolkit Prometheus is an open-source systems monitoring and alerting toolkit
with an active ecosystem. See the [overview](../overview). with an active ecosystem. See the [overview](/docs/introduction/overview/).
### How does Prometheus compare against \[other monitoring system\]? ### How does Prometheus compare against \[other monitoring system\]?
See the [comparison](../comparison) page. See the [comparison](/docs/introduction/comparison/) page.
### What dependencies does Prometheus have? ### What dependencies does Prometheus have?
...@@ -44,7 +44,7 @@ not be considered a major point when considering a monitoring system. ...@@ -44,7 +44,7 @@ not be considered a major point when considering a monitoring system.
The [Push vs Pull for Monitoring](http://www.boxever.com/push-vs-pull-for-monitoring) The [Push vs Pull for Monitoring](http://www.boxever.com/push-vs-pull-for-monitoring)
blog post by Brian Brazil goes into more detail. blog post by Brian Brazil goes into more detail.
For cases where you must push, we offer the [Pushgateway](../../instrumenting/pushing). For cases where you must push, we offer the [Pushgateway](/docs/instrumenting/pushing/).
### Who wrote Prometheus? ### Who wrote Prometheus?
...@@ -53,7 +53,7 @@ Prometheus was initially started privately by ...@@ -53,7 +53,7 @@ Prometheus was initially started privately by
[Julius Volz](http://juliusv.com). The majority of its [Julius Volz](http://juliusv.com). The majority of its
development has been sponsored by [SoundCloud](https://soundcloud.com). development has been sponsored by [SoundCloud](https://soundcloud.com).
Other companies making active contributions include [Boxever](www.boxever.com) Other companies making active contributions include [Boxever](http://www.boxever.com/)
and [Docker](https://www.docker.com). A full list can be found in the and [Docker](https://www.docker.com). A full list can be found in the
[CONTRIBUTORS](https://github.com/prometheus/prometheus/blob/master/CONTRIBUTORS.md) [CONTRIBUTORS](https://github.com/prometheus/prometheus/blob/master/CONTRIBUTORS.md)
file in each repository. file in each repository.
...@@ -71,12 +71,12 @@ After extensive research it has been determined that the correct plural of ...@@ -71,12 +71,12 @@ After extensive research it has been determined that the correct plural of
### Can I send alerts? ### Can I send alerts?
Yes, with the experimental [Alertmanager](https://github.com/prometheus/alertmanager). Yes, with the experimental [Alertmanager](https://github.com/prometheus/alertmanager).
[PagerDuty](https://www.pagerduty.com/) and email are supported. [PagerDuty](http://www.pagerduty.com/) and email are supported.
### Can I create dashboards? ### Can I create dashboards?
Yes, with [PromDash](../../visualization/promdash/) and [Console Yes, with [PromDash](/docs/visualization/promdash/) and [Console
templates](visualization/consoles/). templates](/docs/visualization/consoles/).
## Instrumentation ## Instrumentation
...@@ -89,7 +89,7 @@ Currently there are client libraries for: ...@@ -89,7 +89,7 @@ Currently there are client libraries for:
* [Ruby](https://github.com/prometheus/client_ruby) * [Ruby](https://github.com/prometheus/client_ruby)
If you are interested in contributing a client library for a new language, see If you are interested in contributing a client library for a new language, see
the [exposition formats](../../instrumenting/exposition_formats/). the [exposition formats](/docs/instrumenting/exposition_formats/).
### Can I monitor machines? ### Can I monitor machines?
...@@ -99,13 +99,13 @@ disk utilization, filesystem fullness and network bandwidth. ...@@ -99,13 +99,13 @@ disk utilization, filesystem fullness and network bandwidth.
### Can I monitor batch jobs? ### Can I monitor batch jobs?
Yes, using the [Pushgateway](../../instrumenting/pushing). See also the Yes, using the [Pushgateway](/docs/instrumenting/pushing/). See also the
[best practices](../../practices/instrumentation/#batch-jobs) for monitoring batch [best practices](/docs/practices/instrumentation/#batch-jobs) for monitoring batch
jobs. jobs.
### What applications can Prometheus monitor out of the box? ### What applications can Prometheus monitor out of the box?
See [exporters for third-party systems](../../instrumenting/exporters). See [exporters for third-party systems](/docs/instrumenting/exporters/).
### Which Java client should I use? ### Which Java client should I use?
......
...@@ -71,7 +71,7 @@ job: { ...@@ -71,7 +71,7 @@ job: {
``` ```
Prometheus configuration is supplied in an ASCII form of [protocol Prometheus configuration is supplied in an ASCII form of [protocol
buffers](https://developers.google.com/protocol-buffers/docs/overview). The buffers](https://developers.google.com/protocol-buffers/docs/overview/). The
[schema definition](https://github.com/prometheus/prometheus/blob/master/config/config.proto) [schema definition](https://github.com/prometheus/prometheus/blob/master/config/config.proto)
has a complete documentation of all available configuration options. has a complete documentation of all available configuration options.
...@@ -128,7 +128,7 @@ count(prometheus_target_interval_length_seconds) ...@@ -128,7 +128,7 @@ count(prometheus_target_interval_length_seconds)
``` ```
For further details about the expression language, see the For further details about the expression language, see the
[expression language documentation](/docs/querying/basics). [expression language documentation](/docs/querying/basics/).
## Using the graphing interface ## Using the graphing interface
......
...@@ -31,7 +31,7 @@ If you find yourself exceeding these, it could make sense to demote the visibili ...@@ -31,7 +31,7 @@ If you find yourself exceeding these, it could make sense to demote the visibili
less important information, possibly splitting out some subsystems to a new console. less important information, possibly splitting out some subsystems to a new console.
For example, you could graph aggregated rather than broken-down data, move For example, you could graph aggregated rather than broken-down data, move
it to the right-hand-side table, or even remove data completely if it is rarely it to the right-hand-side table, or even remove data completely if it is rarely
useful - you can always look at it in the [expression browser](../../visualization/browser/)! useful - you can always look at it in the [expression browser](/docs/visualization/browser/)!
Finally, it is difficult for a set of consoles to serve more than one master. Finally, it is difficult for a set of consoles to serve more than one master.
What you want to know when oncall (what's broken?) tends to be very different What you want to know when oncall (what's broken?) tends to be very different
......
...@@ -170,7 +170,7 @@ As a rule of thumb, no part of a metric name should ever be procedurally ...@@ -170,7 +170,7 @@ As a rule of thumb, no part of a metric name should ever be procedurally
generated (use labels instead). The one exception is when proxying metrics generated (use labels instead). The one exception is when proxying metrics
from another monitoring/instrumentation system. from another monitoring/instrumentation system.
See also the [naming](../naming) section. See also the [naming](/docs/practices/naming/) section.
### Do not overuse labels ### Do not overuse labels
......
...@@ -5,7 +5,7 @@ sort_rank: 5 ...@@ -5,7 +5,7 @@ sort_rank: 5
# Recording rules # Recording rules
A consistent naming scheme for [recording rules](../../operating/rules) makes it A consistent naming scheme for [recording rules](/docs/querying/rules/) makes it
easier to interpret the meaning of a rule at a glance. It also avoids mistakes by easier to interpret the meaning of a rule at a glance. It also avoids mistakes by
making incorrect or meaningless calculations stand out. making incorrect or meaningless calculations stand out.
......
...@@ -13,7 +13,7 @@ browser, or consumed by external systems via the HTTP API. ...@@ -13,7 +13,7 @@ browser, or consumed by external systems via the HTTP API.
## Examples ## Examples
This document is meant as a reference. For learning, it might be easier to This document is meant as a reference. For learning, it might be easier to
start with a couple of [examples](/docs/querying/examples). start with a couple of [examples](/docs/querying/examples/).
## Expression Language Data Types ## Expression Language Data Types
...@@ -110,12 +110,12 @@ a `job` label set to `prometheus`: ...@@ -110,12 +110,12 @@ a `job` label set to `prometheus`:
## Operators ## Operators
Prometheus supports many binary and aggregation operators. These are described Prometheus supports many binary and aggregation operators. These are described
in detail in the [expression language operators](/docs/querying/operators) page. in detail in the [expression language operators](/docs/querying/operators/) page.
## Functions ## Functions
Prometheus supports several functions to operate on data. These are described Prometheus supports several functions to operate on data. These are described
in detail in the [expression language functions](/docs/querying/functions) page. in detail in the [expression language functions](/docs/querying/functions/) page.
## Gotchas ## Gotchas
...@@ -149,7 +149,7 @@ Prometheus's expression browser until the result set seems reasonable ...@@ -149,7 +149,7 @@ Prometheus's expression browser until the result set seems reasonable
(hundreds, not thousands, of time series at most). Only when you have filtered (hundreds, not thousands, of time series at most). Only when you have filtered
or aggregated your data sufficiently, switch to graph mode. If the expression or aggregated your data sufficiently, switch to graph mode. If the expression
still takes too long to graph ad-hoc, pre-record it via a [recording still takes too long to graph ad-hoc, pre-record it via a [recording
rule](../rules/#recording-rules). rule](/docs/querying/rules/#recording-rules).
This is especially relevant for Prometheus's query language, where a bare This is especially relevant for Prometheus's query language, where a bare
metric name selector like `api_http_requests_total` could expand to thousands metric name selector like `api_http_requests_total` could expand to thousands
......
...@@ -123,7 +123,7 @@ Prometheus's alerting rules are good at figuring what is broken *right now*, ...@@ -123,7 +123,7 @@ Prometheus's alerting rules are good at figuring what is broken *right now*,
but they are not a fully-fledged notification solution. Another layer is needed but they are not a fully-fledged notification solution. Another layer is needed
to add summarization, notification rate limiting, silencing and alert to add summarization, notification rate limiting, silencing and alert
dependencies on top of the simple alert definitions. In Prometheus' ecosystem, dependencies on top of the simple alert definitions. In Prometheus' ecosystem,
the [Alert Manager](http://github.com/prometheus/alertmanager) takes on this the [Alert Manager](https://github.com/prometheus/alertmanager) takes on this
role. Thus, Prometheus may be configured to periodically send information about role. Thus, Prometheus may be configured to periodically send information about
alert states to an Alert Manager instance, which then takes care of dispatching alert states to an Alert Manager instance, which then takes care of dispatching
the right notifications. The Alert Manager instance may be configured via the the right notifications. The Alert Manager instance may be configured via the
......
...@@ -7,4 +7,4 @@ sort_rank: 1 ...@@ -7,4 +7,4 @@ sort_rank: 1
The expression browser is available at `/graph` on the Prometheus server, allowing you to enter any expression and see its result either in a table or graphed over time. The expression browser is available at `/graph` on the Prometheus server, allowing you to enter any expression and see its result either in a table or graphed over time.
This is primarily useful for ad-hoc queries and debugging. For consoles, use [PromDash](../promdash/) or [Console templates](../consoles/). This is primarily useful for ad-hoc queries and debugging. For consoles, use [PromDash](/docs/visualization/promdash/) or [Console templates](/docs/visualization/consoles/).
...@@ -11,7 +11,7 @@ from the Prometheus server. ...@@ -11,7 +11,7 @@ from the Prometheus server.
Console templates are the most powerful way to create templates that can be Console templates are the most powerful way to create templates that can be
easily managed in source control. There is a learning curve though, so users new easily managed in source control. There is a learning curve though, so users new
to this style of monitoring should try out [PromDash](../promdash/) first. to this style of monitoring should try out [PromDash](/docs/visualization/promdash/) first.
## Getting started ## Getting started
...@@ -62,7 +62,7 @@ table. The main content has a queries-per-second graph. ...@@ -62,7 +62,7 @@ table. The main content has a queries-per-second graph.
</tr> </tr>
<tr> <tr>
<td>CPU</td> <td>CPU</td>
<td>{{ template "prom_query_drilldown" (args <td>{{ template "prom_query_drilldown" (args
"avg by(job)(rate(process_cpu_seconds_total{job='myjob'}[5m]))" "avg by(job)(rate(process_cpu_seconds_total{job='myjob'}[5m]))"
"s/s" "humanizeNoSmallPrefix") }} "s/s" "humanizeNoSmallPrefix") }}
</td> </td>
...@@ -87,8 +87,8 @@ new PromConsole.Graph({ ...@@ -87,8 +87,8 @@ new PromConsole.Graph({
node: document.querySelector("#queryGraph"), node: document.querySelector("#queryGraph"),
expr: "sum(rate(http_query_count{job='myjob'}[5m]))", expr: "sum(rate(http_query_count{job='myjob'}[5m]))",
name: "Queries", name: "Queries",
yAxisFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix, yAxisFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix,
yHoverFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix, yHoverFormatter: PromConsole.NumberFormatter.humanizeNoSmallPrefix,
yUnits: "/s", yUnits: "/s",
yTitle: "Queries" yTitle: "Queries"
}) })
...@@ -102,8 +102,8 @@ new PromConsole.Graph({ ...@@ -102,8 +102,8 @@ new PromConsole.Graph({
The `prom_right_table_head` and `prom_right_table_tail` templates contain the The `prom_right_table_head` and `prom_right_table_tail` templates contain the
right-hand-side table. This is optional. right-hand-side table. This is optional.
`prom_query_drilldown` is a template that will evaluate the expression passed to it, format it, `prom_query_drilldown` is a template that will evaluate the expression passed to it, format it,
and link to the expression in the [expression browser](../browser). The first and link to the expression in the [expression browser](/docs/visualization/browser/). The first
argument is the expression. The second argument is the unit to use. The third argument is the expression. The second argument is the unit to use. The third
argument is how to format the output. Only the first argument is requred. argument is how to format the output. Only the first argument is requred.
......
...@@ -53,7 +53,7 @@ samples were returned to avoid an execution error. For example this could ...@@ -53,7 +53,7 @@ samples were returned to avoid an execution error. For example this could
happen if a scrape or rule evaluation has not run yet, or a host was down. happen if a scrape or rule evaluation has not run yet, or a host was down.
The included `prom_query_drilldown` template handles this, allows for The included `prom_query_drilldown` template handles this, allows for
formatting of results, and linking to the [expression browser](../browser/). formatting of results, and linking to the [expression browser](/docs/visualization/browser/).
## Using console URL parameters ## Using console URL parameters
...@@ -90,8 +90,8 @@ available inside the loop as `.` is now the loop variable. ...@@ -90,8 +90,8 @@ available inside the loop as `.` is now the loop variable.
## Defining reusable templates ## Defining reusable templates
Prometheus supports defining templates that can be reused. This is particularly Prometheus supports defining templates that can be reused. This is particularly
powerful when combined with powerful when combined with
[console library](../template_reference/#console-templates) support, allowing [console library](/docs/visualization/template_reference/#console-templates) support, allowing
sharing of templates across consoles. sharing of templates across consoles.
``` ```
......
...@@ -66,8 +66,8 @@ versions. ...@@ -66,8 +66,8 @@ versions.
| title | string | string | [strings.Title](http://golang.org/pkg/strings/#Title), capitalises first character of each word.| | title | string | string | [strings.Title](http://golang.org/pkg/strings/#Title), capitalises first character of each word.|
| match | pattern, text | boolean | [regexp.MatchString](http://golang.org/pkg/regexp/#MatchString) Tests for a regexp match. | | match | pattern, text | boolean | [regexp.MatchString](http://golang.org/pkg/regexp/#MatchString) Tests for a regexp match. |
| reReplaceAll | pattern, replacement, text | string | [Regexp.ReplaceAllString](http://golang.org/pkg/regexp/#Regexp.ReplaceAllString) Regexp substitution. | | reReplaceAll | pattern, replacement, text | string | [Regexp.ReplaceAllString](http://golang.org/pkg/regexp/#Regexp.ReplaceAllString) Regexp substitution. |
| graphLink | expr | string | Returns path to graph view in the [expression browser](../browser) for the expression. | | graphLink | expr | string | Returns path to graph view in the [expression browser](/docs/visualization/browser/) for the expression. |
| tableLink | expr | string | Returns path to tabular view in the [expression browser](../browser) for the expression. | | tableLink | expr | string | Returns path to tabular view in the [expression browser](/docs/visualization/browser/) for the expression. |
### Others ### Others
......
...@@ -38,7 +38,7 @@ title: Home ...@@ -38,7 +38,7 @@ title: Home
<div class="col-md-3"> <div class="col-md-3">
<h2><i class="fa fa-warning"></i> Alerting</h2> <h2><i class="fa fa-warning"></i> Alerting</h2>
<p class="desc">Alerts are defined based on Prometheus's flexible query language and maintain dimensional information. An alertmanager handles notifications and silencing.</p> <p class="desc">Alerts are defined based on Prometheus's flexible query language and maintain dimensional information. An alertmanager handles notifications and silencing.</p>
<p><a class="btn btn-default" href="/docs/operating/rules/#alerting-rules" role="button">View details &raquo;</a></p> <p><a class="btn btn-default" href="/docs/querying/rules/#alerting-rules" role="button">View details &raquo;</a></p>
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
<h2><i class="fa fa-cloud-upload"></i> Exporters</h2> <h2><i class="fa fa-cloud-upload"></i> Exporters</h2>
......
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
<div class="collapse navbar-collapse" id="navbar"> <div class="collapse navbar-collapse" id="navbar">
<ul class="nav navbar-nav navbar-right main-nav"> <ul class="nav navbar-nav navbar-right main-nav">
<li><a href="/">Overview</a></li> <li><a href="/">Overview</a></li>
<li><a href="/docs/introduction/overview">Documentation</a></li> <li><a href="/docs/introduction/overview/">Documentation</a></li>
<li><a href="/community">Community</a></li> <li><a href="/community/">Community</a></li>
<li><a href="https://github.com/prometheus"><i class="fa fa-github"></i> Github</a></li> <li><a href="https://github.com/prometheus"><i class="fa fa-github"></i> Github</a></li>
</ul> </ul>
</div> </div>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="container"> <div class="container">
<h1><img src="/assets/prometheus_logo.svg" alt="Prometheus logo"> Prometheus</h1> <h1><img src="/assets/prometheus_logo.svg" alt="Prometheus logo"> Prometheus</h1>
<p class="subtitle">An open-source service monitoring system and time series database.</p> <p class="subtitle">An open-source service monitoring system and time series database.</p>
<p><a class="btn btn-default btn-lg" href="/docs/introduction/getting_started" role="button">Get Started</a></p> <p><a class="btn btn-default btn-lg" href="/docs/introduction/getting_started/" role="button">Get Started</a></p>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment