1
0
mirror of https://github.com/prometheus/docs.git synced 2026-02-05 06:45:01 +01:00

Merge pull request #2812 from roidelapluie/roidelapluie/consoles

docs(consoles): Add Prometheus 3.0 deprecation warnings and update links
This commit is contained in:
Julien
2026-01-12 09:51:04 +01:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ title: Consoles and dashboards
sort_rank: 3 sort_rank: 3
--- ---
CAUTION: Starting with Prometheus 3.0, console templates and libraries are no longer bundled with Prometheus. If you wish to use console templates, you must provide your own templates and libraries by specifying the `--web.console.templates` and `--web.console.libraries` command-line flags. This documentation page is maintained for historical reference and to demonstrate the capabilities of console templates. Please be aware that any referenced console libraries from the Prometheus 2.x branch are no longer maintained and may contain known security vulnerabilities (CVEs).
It can be tempting to display as much data as possible on a dashboard, especially It can be tempting to display as much data as possible on a dashboard, especially
when a system like Prometheus offers the ability to have such rich when a system like Prometheus offers the ability to have such rich
instrumentation of your applications. This can lead to consoles that are instrumentation of your applications. This can lead to consoles that are

View File

@@ -3,6 +3,8 @@ title: Console templates
sort_rank: 4 sort_rank: 4
--- ---
CAUTION: Starting with Prometheus 3.0, console templates and libraries are no longer bundled with Prometheus. If you wish to use console templates, you must provide your own templates and libraries by specifying the `--web.console.templates` and `--web.console.libraries` command-line flags. This documentation page is maintained for historical reference and to demonstrate the capabilities of console templates. Please be aware that any referenced console libraries from the Prometheus 2.x branch are no longer maintained and may contain known security vulnerabilities (CVEs).
Console templates allow for creation of arbitrary consoles using the [Go Console templates allow for creation of arbitrary consoles using the [Go
templating language](http://golang.org/pkg/text/template/). These are served templating language](http://golang.org/pkg/text/template/). These are served
from the Prometheus server. from the Prometheus server.
@@ -121,7 +123,7 @@ Valid output formats for the third argument to `prom_query_drilldown`:
* `printf.3g`: Display 3 significant digits. * `printf.3g`: Display 3 significant digits.
Custom formats can be defined. See Custom formats can be defined. See
[prom.lib](https://github.com/prometheus/prometheus/blob/main/console_libraries/prom.lib) for examples. [prom.lib](https://github.com/prometheus/prometheus/blob/release-2.55/console_libraries/prom.lib) for examples.
## Graph Library ## Graph Library