Julien Pivotto
4596abee4d
Mixin: Ignore unset remote write timestamp ( #8046 )
...
* Mixin: Ignore unset remote write timestamp
This pull request ignores the zero value of highest_sent_timestamp_seconds
in Highest Timestamp In vs. Highest Timestamp Sent which just show that
remote write has not been successful yet.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
garanews
c38816828f
fix few typo ( #8023 )
...
Signed-off-by: garanews <puntogtg@tiscali.it>
4 years ago
Luke Chen
3364875ae5
update the doc link in internal_arthitecture.md ( #7966 )
...
* update the doc link in internal_arthitecture.md
* address reviewer's comment to remove out-dated wrapper
Signed-off-by: Luke Chen <showuon@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
kangwoo
7c0d5ae4e7
Add Eureka Service Discovery ( #3369 )
...
Signed-off-by: kangwoo <kangwoo@gmail.com>
4 years ago
Simon Pasquier
e693af6c01
.circleci/config.yml: check mixins ( #6895 )
...
* .circleci/config.yml: check mixins
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Run jsonnetfmt
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Install tools in the image instead of using coreos/jsonnet-ci
The latter is deprecated
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
* Update jsonnetfile.json
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
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
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
Frederic Branczyk
9f9fb1ab33
documentation: Adapt Kubernetes RBAC to use metrics roles ( #3661 )
4 years ago
Julien Pivotto
48140e5189
Improve docker swarm configuration exemple
...
Improve to use the unix socket as this is what is enabled by default.
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
John Bampton
98a69b77d1
Fix spelling ( #7512 )
...
Signed-off-by: John Bampton <jbampton@users.noreply.github.com>
4 years ago
Tom Wilkie
27b1009acd
Rename the dashboard in the mixin to 'Prometheus Overview'. ( #7489 )
...
Due to https://github.com/grafana/grafana/issues/15642 , this prevents users putting this dashboard in a Grafana folder called 'Prometheus'.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
4 years ago
Julien Pivotto
c61141ce51
Add DigitalOcean service discovery ( #7407 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Manuel Fontan
6e7554639b
Update Readme since jsonnetfmt is available in the jsonnet go implementation since v0.16.0
...
Signed-off-by: Manuel Fontan <mfontangarcia@slack-corp.com>
5 years ago
TakumaNakagame
7a541bd9a7
fix document rabbitmq example ( #7297 )
...
* remove prometheus.io annotations and add scrape_configs
Signed-off-by: TakumaNakagame <5129906+TakumaNakagame@users.noreply.github.com>
5 years ago
Bartlomiej Plotka
1d13a2cd2f
Updated different swagger output.
...
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
5 years ago
Marek Slabicki
8224ddec23
Capitalizing first letter of all log lines ( #7043 )
...
Signed-off-by: Marek Slabicki <thaniri@gmail.com>
5 years ago
Callum Styan
5400e71b91
Update mixin dashboards and alerts for new remote write label names.
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
5 years ago
qinng
e31b7b2679
[Doc] Fix wrong description in kubernetes expamle ( #7012 )
...
Signed-off-by: guoruyi1 <guoruyi1@xiaomi.com>
Co-authored-by: guoruyi1 <guoruyi1@xiaomi.com>
5 years ago
Julien Pivotto
ef63d8d16d
Update vendors
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Marco Pracucci
1e1785690a
Fix queue in alerts annotation
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
5 years ago
paulfantom
7321f1d227
documentation/prometheus-mixin: add dependency on grafonnet
...
Signed-off-by: paulfantom <pawel@krupa.net.pl>
5 years ago
Josh Soref
91d76c8023
Spelling ( #6517 )
...
* spelling: alertmanager
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: attributes
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: autocomplete
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: bootstrap
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: caught
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: chunkenc
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: compaction
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: corrupted
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: deletable
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: expected
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: fine-grained
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: initialized
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: iteration
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: javascript
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: multiple
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: number
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: overlapping
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: possible
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: postings
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: procedure
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: programmatic
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: queuing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: querier
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: repairing
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: received
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: reproducible
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: retention
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: sample
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: segements
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: semantic
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: software [LICENSE]
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: staging
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: timestamp
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: unfortunately
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: uvarint
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: subsequently
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
* spelling: ressamples
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
5 years ago
Callum Styan
f4fb6dc208
Simplify remote write dashboard in mixin.
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
5 years ago
beorn7
9c8f9bfa63
Fix the description template for PrometheusRemoteWriteDesiredShards
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
Benoit Gagnon
6d931a2195
Fix Windows support for custom-sd adapter ( #6217 )
...
* add test to custom-sd/adapter writeOutput() function
Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com>
* fix Adapter.writeOutput() function to work on Windows
On that platform, files cannot be moved while a process holds a handle
to them. Added an explicit Close() before that move. With this change,
the unit test succeeds.
Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com>
* add missing dot to comment
Signed-off-by: Benoit Gagnon <benoit.gagnon@ubisoft.com>
5 years ago
beorn7
61617eb2d9
Fix PrometheusRemoteWriteDesiredShards
...
This rule has the same labels on both sides. We don't want
`group_right` and `on`, we want nothing.
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
Callum Styan
da6d46625f
Repeat shards panels on the queue label.
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
5 years ago
Callum Styan
818974ff8f
Rewrite remote write dashboard using base grafonnet.
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
5 years ago
Callum Styan
81fa63006c
Add additional shards/segment graphs to remote write dashboard.
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
5 years ago
Simon Pasquier
e36ab7e192
prometheus-mixin: improve description of sample alerts ( #6050 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
5 years ago
Callum Styan
a98599bea8
Update remote write max shards alert; properly template/query for max
...
shards in description.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
5 years ago
李国忠
d89e783217
[bugfix] custom SD: when ip out of order, reflect.deepEqual can not correctly identify whether there is a change ( #5856 )
...
* [bugfix] custom SD: when ip out of order, reflect.deepEqual can not correctly identify whether there is a change
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
* [format] makefile:Makefile.common:116: common-style
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
* [bugfix] custom sd: simonpasquier comment,It would be simpler to sort the targets alphabetically and keep reflect.DeepEqual.
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
* [bugfix]custom SD:fix sort
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
* [bugfix] custom SD : adapter.go need an empty line after "sort"
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
* [bugfix]custom SD:test sign-off
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
* [bugfix]custom SD: fix adaper_test.go
Signed-off-by: fuling <fuling.lgz@alibaba-inc.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
Callum Styan
3b75614892
Add a warning alert, since the remote write behind alert will probably
...
already be going off, about desired shards being higher than max shards.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
5 years ago
Simon Pasquier
dd174963a2
prometheus-mixin: remove PrometheusTSDBWALCorruptions
...
The counter is only increased when tsdb.Open() is called which
Prometheus does only once in its lifetime (when it initializes). If the
corruption can't be recovered, tsdb.Open() returns an error and
Prometheus exits. Hence the metric is either 0 (no corruption) or 1
(corruption detected and repaired). If the latter, the alert isn't
actionable and the only way to resolve it is to restart Prometheus which
would reset the counter.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
5 years ago
Vadym Martsynovskyy
a9970a47ef
Fix incorrect examples in docs
...
Signed-off-by: Vadym Martsynovskyy <vmartsynovskyy@gmail.com>
5 years ago
Matthias Loibl
20d12ff1c7
Fix prometheus-mixin dashboards to use grafanaDashboards
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
5 years ago
beorn7
4825585834
Tweak tenses
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
9a2177949d
Protect gauge-based alerts against failed scrapes
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
52707535b8
Remove/improve unused variables and weird doc comments
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
7a25a2586d
Sync with alerts from kube-prometheus
...
While doing so, re-introduce the summary/description
annotations. Also, add a few more rules and tweak a few of the
existing ones.
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
ded0705bdc
Update remote repo for grafana-builder dependency
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
1336a28848
Use a config variable for the Prometheus name
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
613cb5430c
Add a "work in progress" disclaimer.
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
e34af6d4d3
Address various comments from the review
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
23c03207e9
Fixed indentation
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
d5845ad05b
Fix formatting
...
This is the outcome of `make fmt`.
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago
beorn7
d45e8a0f61
Adjust to jsonnet v0.13
...
Signed-off-by: beorn7 <beorn@grafana.com>
5 years ago