Ben Kochie
818d67cd2e
feat: Support Prometheus 3.0 ( #462 )
...
Update prometheus role for 3.0.0.
* Update argument_specs.yml to reflect support of 3.x.
* Skip console templates on 3.x.
Fixes: https://github.com/prometheus-community/ansible/issues/460
Signed-off-by: SuperQ <superq@gmail.com>
2024-11-18 14:44:55 +01:00
Pavle
e04558d143
Merge branch 'main' into main
2024-10-30 18:53:28 +01:00
Leonhard Mayr
b7cbef892e
Rename directory to scrape_configs
...
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-10-17 17:25:17 +02:00
Leonhard Mayr
b958d82dcd
Add test for scrape config files
...
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-10-17 17:25:17 +02:00
gardar
1e4e4c3415
refactor(prometheus): delegate common tasks to _common role
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:11:12 +00:00
gardar
1c809bc7fc
fix: cleanup unused playbooks now that prepare stages have been merged into one
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-28 03:01:55 +00:00
gardar
4e98e1f597
fix: make sure old versions of pytest find helper
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-27 13:32:19 +00:00
gardar
3b679c9161
fix: skip running testinfra on excluded ansible versions
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-20 19:48:18 +00:00
gardar
b471a1f4a4
test: unified prepare playbook for alternative molecule scenarios
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-18 03:49:54 +00:00
dpavle
b8e4f31779
enhancement(prometheus): fully commit to the yaml rule format
...
Signed-off-by: dpavle <17710777+dpavle@users.noreply.github.com>
2024-04-18 12:34:06 +02:00
Christian Krause
762cb1d5f3
enhancement(prometheus): supports multiple web listen addresses in preflight
...
this is for consistency with the other roles' preflight asserts for when
prometheus itself finally supports multiple web listen addresses
Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-30 11:12:11 +01:00
Ben Kochie
37d7956dc3
feat(prometheus): Add shutdown timeout variable ( #220 )
...
In order to allow Prometheus more time to shutdown, especially if
`memory-snapshot-on-shutdown` is used, override the default 90s systemd
shutdown timeout. Otherwise systemd will SIGKILL Prometheus.
* Use 10min shutdown timeout by default.
Signed-off-by: SuperQ <superq@gmail.com>
2023-09-27 16:30:36 +02:00
Stan Rudenko
f637d5f7c9
removing prometheus_rules_enable, minor fixes
...
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-24 10:24:56 -07:00
Stan Rudenko
8f6880ceba
test rebase and fixes
...
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:35:26 -07:00
Stan Rudenko
f657060bef
PEP8 fix
...
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:40 -07:00
Stan Rudenko
83eee4cd08
molecule support
...
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:27 -07:00
gardar
65d08f8765
fix: lint
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-18 19:11:46 +00:00
gardar
d9e0c77bfb
skip_changelog: merge all role molecule converge into one
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-18 19:03:40 +00:00
gardar
083ff4ef36
skip_changelog: make testinfra tests capture logs on service failure
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-18 15:47:32 +00:00
Andy Grunwald
7bc4f474e3
docs: Remove references to to previous named ansible collection cloudalchemy
...
The repository is a migration from https://github.com/cloudalchemy/ansible-node-exporter .
The previous repository has been marked as archived already.
Signed-off-by: Andy Grunwald <andygrunwald@gmail.com>
2023-03-06 09:59:42 +01:00
gardar
3227cf01ec
fix: future-import-boilerplate and metaclass-boilerplate
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:50:51 +00:00
gardar
364d06f294
refactor: combine molecule config
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:37:31 +00:00
gardar
92f54b4ae7
fix: remove unneeded prepare playbooks
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:30:37 +00:00
gardar
3c9df6fae7
fix: use fcqn for role names
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:27:47 +00:00
gardar
4efb8fe813
fix: use default playbook for converge
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:17:30 +00:00
gardar
8f326b6162
fix(lint): no need to run_once when only running against one host
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-12-08 18:02:14 +00:00
gardar
2529617e41
fix(lint): fix all linter exceptions and remove exception rules
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00
gardar
2c075e3b15
fix(lint): warning lint errors
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00
SuperQ
1d98aee69a
Fix up ansible-lint issues.
...
Signed-off-by: SuperQ <superq@gmail.com>
2022-09-24 10:55:09 +02:00
Paweł Krupa (paulfantom)
dcfbfa84d2
initial migration of roles from cloudalchemy
...
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl>
2022-09-23 13:29:55 +02:00