Hu Shuai
2d8738c947
Fix a typo in docs/configuration/configuration.md
...
Signed-off-by: Hu Shuai <hus.fnst@cn.fujitsu.com>
4 years ago
Julien Pivotto
08c259cda6
https: Add example configuration file
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
438ab463ad
Fix link in documentation
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
c04284ff90
Add https and authentication to the navbar
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
5b4f46a348
Add TLS and basic authentication
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Ben Ye
caa173d2aa
Support matchers for Labels API ( #8301 )
...
Signed-off-by: Ben Ye <yb532204897@gmail.com>
Co-authored-by: Erik Klockare <eklockare@gmail.com>
4 years ago
Atibhi Agrawal
c08009139a
Add docs for backfill ( #8230 )
...
* Add docs for backfill
Signed-off-by: aSquare14 <atibhi.a@gmail.com>
4 years ago
Julien Pivotto
87e142c02f
remote_write documentation: fix blank lines ( #8264 )
...
The blank line is not efficiently placed in the remote_write config,
affecting readability.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Thibault Jamet
f055690b34
Clarify: all rules in a group are concomitant ( #8248 )
...
Improve the documentation to clarify the differences beetween rules in a
group and outside a group.
Signed-off-by: Thibault Jamet <tjamet@users.noreply.github.com>
4 years ago
Mike DeSimone
759150878c
fix trivial typos ( #8238 )
...
Signed-off-by: Mike DeSimone <michael.2.desimone@gmail.com>
4 years ago
George Brighton
76cd5f4c7f
Fix typo in EC2 SD docs ( #8210 )
...
Signed-off-by: George Brighton <george@gebn.co.uk>
4 years ago
Muhammad Falak R Wani
587fd740be
discovery: ec2: expose IPv6 as label ( #7086 )
...
* discovery: ec2: expose IPv6 as label
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
4 years ago
Justin Toh
5f103aaecc
docs: Fix "time duration" link ( #8209 )
...
Signed-off-by: Justin Toh <tohjustin@hotmail.com>
4 years ago
gotjosh
4eca4dffb8
Allow metric metadata to be propagated via Remote Write. ( #6815 )
...
* Introduce a metadata watcher
Similarly to the WAL watcher, its purpose is to observe the scrape manager and pull metadata. Then, send it to a remote storage.
Signed-off-by: gotjosh <josue@grafana.com>
* Additional fixes after rebasing.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
* Rework samples/metadata metrics.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
* Use more descriptive variable names in MetadataWatcher collect.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
* Fix issues caused during rebasing.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
* Fix missing metric add and unneeded config code.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
* Address some review comments.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
* Fix metrics and docs
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Replace assert with require
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Bring back max_samples_per_send metric
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Fix tests
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Co-authored-by: Callum Styan <callumstyan@gmail.com>
Co-authored-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
4 years ago
Peter Wu
1797192f02
Fix the alerting rules name description ( #7083 ) ( #8197 )
...
commit 9875afc491
changed the type from
metric names to label values, we might as well adjust the description.
The alternative is to revert that commit and restrict names of alerting
rules again even if that was not really enforced.
Signed-off-by: Peter Wu <pwu@cloudflare.com>
4 years ago
Julien Pivotto
3509647462
Docker swarm: add filtering of services ( #8074 )
...
* Docker swarm: add filtering of services
Add filters on all docker swarm roles (nodes, tasks and services).
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julius Volz
3470ee1fbf
Make React UI the default, keep old UI under /classic ( #8142 )
...
The React app's assets are now served under /assets, while all old
custom web assets (including the ones for console templates) are now
served from /classic/static.
I tested different combinations of --web.external-url and
--web.route-prefix with proxies in front, and I couldn't find a problem
yet with the routing. Console templates also still work.
While migrating old endpoints to /classic, I noticed that /version was
being treated like a lot of the old UI pages, with readiness check
handler in front of it, etc. I kept it in /version and removed that
readiness wrapper, since it doesn't seem to be needed for that endpoint.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 years ago
Anthony D'Atri
2cbc0f9bfe
Various doc tweaks ( #8111 )
...
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
4 years ago
Harkishen Singh
9599bb9b38
Update remote_write default values in docs ( #8103 )
...
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
4 years ago
Dustin Hooten
916dbd4c8a
React UI: Implement missing TSDB head stats section ( #7876 )
...
* React UI: Implement missing TSDB head stats section
Signed-off-by: Dustin Hooten <dhooten@splunk.com>
* Add break
Signed-off-by: Dustin Hooten <dhooten@splunk.com>
4 years ago
venkatbvc
6f28c46f4c
Updating storage.md for retention.size ( #7942 )
...
Signed-off-by: venkatbvc <chalapathirao@gmail.com>
4 years ago
Julien Pivotto
e208afcc95
web: Remove APIv2 ( #7935 )
...
* web: Remove APIv2
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Justin Walz
808a14569d
Update alerting_rules.md ( #7252 )
...
Update `ALERTS` example be more meta-syntactic.
Signed-off-by: Justin Walz <justin.walz10@gmail.com>
4 years ago
Christian Hoffmann
51306cb158
docs: add promtool version in rule migration cmd ( #6989 )
...
`promtool update rules` is no longer available after Prometheus 2.5.
Document this to avoid confusion such as in #6988 .
Signed-off-by: Christian Hoffmann <mail@hoffmann-christian.info>
4 years ago
showuon
dba729f6b6
Referring to configuration.md, to have a Generic placeholders definition section ( #7875 )
...
Signed-off-by: Luke Chen <showuon@gmail.com>
4 years ago
Lars Kellogg-Stedman
e4cfa742a5
docs: minor corrections to the docker documentation ( #6869 )
...
The documentation referenced "data volume containers", which were
superseded by named volume support in Docker several years ago.
There were to bind-mounting examples in the docs that are effectively
doing the same thing, but the description of the second was somewhat
erroneous.
Signed-off-by: Lars Kellogg-Stedman <lars@redhat.com>
4 years ago
showuon
791b84830d
Update the storage.md to fix typo, and some grammar/format issue ( #7871 )
...
* Update the storage.md to fix typo, and some grammar/format issue
Signed-off-by: Luke Chen <showuon@gmail.com>
4 years ago
Julien Pivotto
085352ba97
Hetzner: fix lists in documentation ( #7863 )
...
The lists are inlined without empty lines upfront.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
kangwoo
7c0d5ae4e7
Add Eureka Service Discovery ( #3369 )
...
Signed-off-by: kangwoo <kangwoo@gmail.com>
4 years ago
showuon
ca6f2bde94
add relabeling link to be consistent with other section ( #7851 )
...
Signed-off-by: Luke Chen <showuon@gmail.com>
4 years ago
Julien Pivotto
27a1a281fd
Improve hetzner documentation ( #7849 )
...
* Improve hetzner documentation
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
showuon
5dcc21887b
update the migrating doc for less confusion ( #7845 )
...
Signed-off-by: Luke Chen <showuon@gmail.com>
4 years ago
Julien Pivotto
6f9e7ff750
Drop metric name in bool comparison between two instant vectors ( #7819 )
...
* Drop metric name in bool comparison between two instant vectors
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Lukas Kämmerling
b6955bf1ca
Add hetzner service discovery ( #7822 )
...
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
4 years ago
showuon
274dce9de2
Add a link to Clean TombStone for better reference ( #7830 )
...
Signed-off-by: Luke Chen <showuon@gmail.com>
4 years ago
Julien Pivotto
d867491364
Human-friendly durations in PromQL ( #7713 )
...
* Add support for user-friendly durations
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Lars Nielsen
019d031f3e
Updated documentation ( #5390 )
...
Updated documentation to include YAML example for file_sd_config
Signed-off-by: Lars Nielsen <nellemandela@gmail.com>
4 years ago
Julien Pivotto
32c2d897ec
Storage: add chunks_head and fix links ( #7693 )
...
The links fix makes the links point to the current version of the files,
e.g. the relase branch.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
f482c7bdd7
Add per scrape-config targets limit ( #7554 )
...
* Add per scrape-config targets limit
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
01e3bfcd1a
Add warnings about NFS ( #7691 )
...
* Add warnings about NFS
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
924e7239b7
Docker Swarm SD: Support tasks and service without published ports ( #7686 )
...
* Support tasks and service without published ports
Mimics k8s discovery behaviour.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
88bdb13c55
DNS SD: add srv record target and port meta labels ( #7678 )
...
* DNS SD: add srv record target and port meta labels
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julius Volz
9da59c856d
Improve scalar literal format documentation ( #7651 )
...
* Improve scalar literal format documentation
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Address review comments
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Fixup
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 years ago
Julien Pivotto
e17d18a043
docs: Fix type of the histogram_quantile function ( #7666 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
9c599f1ee2
Add new SD's to alertmanager config ( #7584 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
be96951c56
Add Docker Swarm configuration example ( #7542 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
9875afc491
Fix the type of the alert name ( #7523 )
...
The alert name should be a valid label value, not a metric name.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
beorn7
cf698f71e5
Add an explanation for the quantile aggregation operator
...
Sadly, just linking to the Histogram best practice document, as done
for `histogram_quantile`, would be confusing here because the best
practice document only deals with quantiles in the context of
Histograms and Summaries, which is very different from the context of
the `quantile` aggregator and `quantile_over_time` function, which is
already a source of a lot of confusion.
Thus, I think the least bad solution is to add a short explanation in
this section directly. There isn't even a good resource on the
internet we can link to. A lot of statisticians use φ-quantiles, but
they don't have a generally accepted name for it.
I have added the explanation after the other detailed explanations of
`count_values`, `topk` and `bottomk`. I think that fits quite nicely
into the flow.
Signed-off-by: beorn7 <beorn@grafana.com>
4 years ago
John Bampton
98a69b77d1
Fix spelling ( #7512 )
...
Signed-off-by: John Bampton <jbampton@users.noreply.github.com>
4 years ago
Julien Pivotto
74a6959d46
Docs: fix types ( #7508 )
...
I have batched a bunch of fixes around types in the documentation.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago