Sven Nebel
5a554df085
Nit: Improve doc text grammar ( #6068 )
...
Signed-off-by: Sven Nebel <nebel.sven@gmail.com>
5 years ago
Simon Pasquier
f6f23a2675
docs: update unit testing rules ( #6051 )
...
* docs: update unit testing rules
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* More nits fixed
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
5 years ago
yuxiaobo96
5f6a56a0bb
Third correction ( #6012 )
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
5 years ago
Ben Kochie
76769d4b61
Update link to SaltStack formula ( #6024 )
...
Use the "official" saltstack-formulas version. The existing one hasn't
been updated since 2015.
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
Alan
42d10aea80
docs: fix error link in /migration.md ( #6010 )
...
docs: fix error link in /migration.md
Signed-off-by: alan <zg.zhu@daocloud.io>
5 years ago
li mengyang
1c6d2194c4
fix spelling mistakes in docs ( #5952 )
...
Signed-off-by: hwdef <hwdef97@gmail.com>
5 years ago
Chris Marchbanks
a6a55c433c
Improve desired shards calculation ( #5763 )
...
The desired shards calculation now properly keeps track of the rate of
pending samples, and uses the previously unused integralAccumulator to
adjust for missing information in the desired shards calculation.
Also, configure more capacity for each shard. The default 10 capacity
causes shards to block on each other while
sending remote requests. Default to a 500 sample capacity and explain in
the documentation that having more capacity will help throughput.
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
5 years ago
Ganesh Vernekar
5ecef3542d
Cleanup after merging tsdb into prometheus
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
Ganesh Vernekar
7cf09b0395
Moving tsdb into its own subdirectory
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
Ben Kochie
ff40de7ca6
Add more details about retention to storage docs ( #5842 )
...
* Make compaction docs a little more clear, easy to find.
* Expand compaction docs slightly.
* Add notes about block cleanup to operational section.
Signed-off-by: Ben Kochie <superq@gmail.com>
5 years ago
Dan P
a9dea68ee6
removed document reference to meta label that doesnt exist in the kubernetes_sd ( #5821 )
...
Signed-off-by: Dan Potepa <dan@danpotepa.co.uk>
5 years ago
Johnny Lim
7645ed8fd3
Fix typo ( #5796 )
...
Signed-off-by: Johnny Lim <izeye@naver.com>
5 years ago
Chris Marchbanks
08f6a43619
Add documentation for the WAL compression flag
...
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
5 years ago
Marco Pracucci
2ccc48adc6
Documented /healthy, /ready and lifecycle API ( #5737 )
...
Signed-off-by: Marco Pracucci <marco.pracucci@spreaker.com>
5 years ago
beorn7
5973acd65d
Clarifying honor_labels documentation
...
Previously, the wording could be misunderstood as setting honor_labels
to "false" for federation.
This also adds scraping the Pushgateway as a typical use case for
honor_labels=true.
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
c2c-engg-20170100
81f9dac6a0
Fix docker hub link in installation guide
...
Signed-off-by: c2c-engg-20170100 <c2c-20170100@click2cloud.net>
5 years ago
Svend Sorensen
8d54650d06
Document behavior of empty ec2_sd_config region ( #5711 )
...
Document the behavior of an empty `ec2_sd_config` `region` setting. If this is
omitted or blank, the region is discovered from the instance metadata, if available.
If it is blank and instance region metadata is not available, an error will
result ("EC2 SD configuration requires a region").
Signed-off-by: Svend Sorensen <svend@svends.net>
5 years ago
Max Leonard Inden
41c22effbe
config¬ifier: Add option to use Alertmanager API v2
...
With v0.16.0 Alertmanager introduced a new API (v2). This patch adds a
configuration option for Prometheus to send alerts to the v2 endpoint
instead of the defautl v1 endpoint.
Signed-off-by: Max Leonard Inden <IndenML@gmail.com>
6 years ago
Jens Erat
375aeb9158
Added humanizePercentage formatting to templates ( #5670 )
...
Lots of alerts are based on ratios (eg. disk usage), and humans are used
to values in percentage in textual descriptions.
Signed-off-by: Jens Erat <email@jenserat.de>
6 years ago
Keenan Romain
55f3a9fe4a
Allows globs for rules when unit testing ( #5595 )
...
* Includes glob support when unit testing rule_files.
Signed-off-by: Keenan Romain <Keenan.Romain@mailchimp.com>
6 years ago
Callum Styan
e9129abeff
Remove max_retries from queue_config since it's not used in remote write
...
anymore.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
6 years ago
mkenigs
e23fa22233
Change snapshot description to be consistent with rest of the doc ( #5642 )
...
Signed-off-by: mkenigs <matthewkenigsberg@gmail.com>
6 years ago
Simon Pasquier
74ff35ccdd
cmd/promtool: add $externalLabels for alert unit tests
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
sh0rez
8ba23fb336
fix(style): container_is_init to container_init
...
Removes 'is' keyword to comply style guide
Signed-off-by: sh0rez <me@shorez.de>
6 years ago
Carl Bergquist
9ba2f13c5e
fix inconsistant example rule ( #5605 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
6 years ago
sh0rez
88b79bae64
chore(style): Comply with style guide, order list
...
Signed-off-by: sh0rez <me@shorez.de>
6 years ago
Callum Styan
babb8a0572
Update queue config documentation to reflect default value change for capacity.
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
6 years ago
sh0rez
1b144e499f
doc(discovery/kubernetes): container_is_init meta label
...
Signed-off-by: sh0rez <me@shorez.de>
6 years ago
Bevisy
2548271e0f
format markdown code block ( #5594 )
...
Signed-off-by: bevisy <binbin36520@gmail.com>
6 years ago
Bevisy
bdebb0c890
format markdown code block ( #5594 )
...
Signed-off-by: bevisy <binbin36520@gmail.com>
6 years ago
Alex Salt
d6a4daa26a
web api: handle alert with Infinity/NaN values ( #5582 )
...
* web/api/v1: alert value as string in alert/rules endpoints
Signed-off-by: Alexander Saltykov <alexander-s@yandex-team.ru>
6 years ago
Samuel Alfageme
425b07f3c4
Updated the 'consistency-modes' consul.io/api link to point to its new location ( #5572 )
...
Ref: 626392eb62
Signed-off-by: Samuel Alfageme <samuel@alfage.me>
6 years ago
Simon Pasquier
3441ecdea1
discovery/kubernetes: add node name and hostname to endpoints
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Semyon Slepov
33f085a4d6
Remove bits about substring matching from the docs ( #5549 )
...
Substring matching for labels doesn't work anymore.
These parts are misleading, and contradict with the rest of the
documentation.
Signed-off-by: Semyon Slepov <slepovss@gmail.com>
6 years ago
Simon Pasquier
9c69eec82a
cmd/promtool: use log.NewNopLogger() ( #5531 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
zhulongcheng
3ccab17f5d
docs: add label offset table and postings offset table ( #593 )
...
Signed-off-by: zhulongcheng <zhulongcheng.me@gmail.com>
6 years ago
Julius Volz
f04b1b5559
Clarify binary operator output label sets ( #5512 )
...
* Clarify binary operator output label sets
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Clarify binary op output labels further
Signed-off-by: Julius Volz <julius.volz@gmail.com>
6 years ago
EarthmanT
35be8c9e25
Add azure public ip label ( #5475 )
...
* Update Azure SD Config with Public IP label
Signed-off-by: earthmant <trammell@cloudify.co>
6 years ago
Bjoern Rabenstein
38d518c0fe
Rework #5009 after comments
...
Signed-off-by: Bjoern Rabenstein <bjoern@rabenste.in>
6 years ago
Sylvain Rabot
335a34486e
Add external labels to template expansion
...
This affects the expansion of templates in alert labels and
annotations and console templates.
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
6 years ago
Hrishikesh Barman
27404e6226
better readability for data directory tree in storage docs ( #5128 )
...
* better readabilty for data dir tree in storage docs
Signed-off-by: geekodour <hrishikeshbman@gmail.com>
6 years ago
Simon Pasquier
dafd1632a2
discovery/kubernetes: add present labels for labels/annotations ( #5443 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
6 years ago
Lucas Servén Marín
0e42449b78
docs/querying: improve wording ( #5442 )
...
This commit improves the wording of the subquery examples and makes
them more consistent with other examples.
Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
6 years ago
Kien Nguyen-Tuan
813b58367a
[OpenStack SD] Add ProjectID and UserID meta labels ( #5431 )
...
Add extra meta labels which will be useful in the case
Prometheus discovery instances from all projects.
Signed-off-by: Kien Nguyen <kiennt2609@gmail.com>
6 years ago
Bob Shannon
f8932dde66
Improve docs for query POST requests ( #5428 )
...
Signed-off-by: Bob Shannon <bobs@dropbox.com>
6 years ago
Bob Shannon
8c8bb82d04
Add support for POSTing to /series endpoint ( #5422 )
...
* Add support for POSTing to /series endpoint
* Document query API POST support
Signed-off-by: Bob Shannon <bob.m.shannon@gmail.com>
6 years ago
zhulongcheng
db9177de0c
docs: add multi chunks layout in chunks readme file ( #567 )
6 years ago
naivewong
1c392d0057
Update wal.md that the first wal entry includes only base id and timestamp without a value ( #562 )
...
Signed-off-by: naivewong <867245430@qq.com>
6 years ago
Bharath
91306bdf24
Support non POST methods for Lifecycle and Admin APIs ( #5376 )
...
Signed-off-by: Bharath Thiruveedula <bharath_ves@hotmail.com>
6 years ago
Julien Pivotto
4397916cb2
Add honor_timestamps ( #5304 )
...
Fixes #5302
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
6 years ago