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
gardar
2faef08081
fix: remove old internal variable remnants
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-11-08 13:46:42 +00:00
gardar
3dacdab829
Merge pull request #449 from gardar/scrapes-removal-become
...
fix: use elevated permissions for removing scrapes dir
2024-10-31 16:52:31 +00:00
gardar
e4384eba3a
Merge pull request #333 from dpavle/main
...
enhancement(prometheus): support prometheus2 .yml rule file format
2024-10-31 16:33:18 +00:00
gardar
cf1f68c6ba
fix: properly tag task
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-31 16:29:20 +00:00
gardar
e1510bc1b6
fix: use elevated permissions for removing scrapes
...
fixes #445
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-31 16:29:20 +00:00
Pavle
e04558d143
Merge branch 'main' into main
2024-10-30 18:53:28 +01:00
Jack
2ec62b392b
feat: move naive assertion to common role
...
Signed-off-by: Jack <jack4zhang@gmail.com>
2024-10-30 09:53:00 +08:00
gardar
e2d8b745dc
Merge pull request #377 from manzsolutions-lpr/fix-scrape-config-path
...
fix: scrape config files path
2024-10-25 16:46:18 +00:00
gardar
d7ed763594
removed: Drop Fedora support and testing in favor of EL
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-18 13:41:24 +00:00
Leonhard Mayr
549ca653fa
Remove replaced "scrapes" folder
...
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-10-17 17:25:17 +02: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
Leonhard Mayr
2d805ae8d0
Reload prometheus on file changes
...
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-10-17 17:25:17 +02:00
Leonhard Mayr
fb388d168c
Fix scrape config files path
...
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-10-17 16:54:53 +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
gardar
7be1f09b9c
fix: add Ubuntu 24.04 to supported platforms
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:14 +00:00
gardar
93d4e2b672
fix: replace EOL Fedora versions with current ones
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:14 +00:00
gardar
f668cd0ac4
removed: drop centos 7 support as it is EOL
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:14 +00:00
gardar
94fb802ec2
removed: drop debian 10 support as it is EOL
...
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:13 +00:00
prombot
0a41fad3b9
patch: 🎉 automated upstream release update
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-08-28 14:32:02 +00:00
github-actions[bot]
a1e83cd17d
patch: 🎉 automated upstream release update ( #409 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2024-08-19 18:19:14 +02:00
gibix
b443b7cd22
docs: fix config_flags_extra wrong example
...
The prometheus configuration `storage.tsdb.retention` should be setted
via `prometheus_storage_retention`. If setted via
`prometheus_config_flags_extra` it throws `duplicating configuration`
error.
Signed-off-by: gibix <gibix@inventati.org>
2024-05-31 15:56:35 +02:00
Leonhard Mayr
62f1a07b6f
Limit scrape_config_files to supported versions
...
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-05-29 13:13:20 +02:00
Leonhard Mayr
60fe2d4332
Use system group variable
...
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-05-29 08:10:32 +02:00
Zdeněk Bělehrádek
0d07f6e57e
Added prometheus scrape_config_files support
...
Signed-off-by: Zdeněk Bělehrádek <zdenek.belehradek@ataccama.com>
2024-05-28 15:56:40 +02:00
prombot
a901e4552b
patch: 🎉 automated upstream release update
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-05-24 22:55:14 +00:00
dpavle
0895a2c2a2
enhancement(prometheus): fix linting errors
...
Signed-off-by: dpavle <17710777+dpavle@users.noreply.github.com>
2024-04-18 12:47:05 +02:00
dpavle
a7b4409840
enhancement(prometheus): handle yaml formatted files with the old .rules extension
...
Signed-off-by: dpavle <17710777+dpavle@users.noreply.github.com>
2024-04-18 12:34:14 +02: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
Pavle
06de856576
Merge branch 'prometheus-community:main' into main
2024-04-17 18:12:58 +02:00
dpavle
e8b9766d7e
enhancement(prometheus): match any .yml file in /rules: docs
...
Signed-off-by: dpavle <17710777+dpavle@users.noreply.github.com>
2024-04-15 16:32:34 +02:00
prombot
598368682d
patch: 🎉 automated upstream release update
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-04-15 14:26:21 +00:00
Pavle
3eff65f47d
enhancement(prometheus): match any .yml file in /rules
...
Co-authored-by: Ben Kochie <superq@gmail.com>
Signed-off-by: Pavle <17710777+dpavle@users.noreply.github.com>
2024-04-15 15:45:48 +02:00
dpavle
52056c158b
enhancement(prometheus): support prometheus2 .yml rule file format
...
Signed-off-by: dpavle <dencic.pavle@gmail.com>
2024-04-15 14:41:48 +02:00
prombot
7dfa3a3abc
patch: 🎉 automated upstream release update
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-04-09 10:57:35 +00:00
github-actions[bot]
51189b8368
patch: 🎉 automated upstream release update ( #315 )
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2024-03-20 16:25:56 +01:00
gardar
da146e07d2
Merge pull request #301 from mark-tomich/main
...
bugfix: use temporary directory to make compatible with multi-user controllers
2024-03-05 15:08:32 +00:00
Mark Tomich
d25f772f5f
adding *_archive_path by request
...
Signed-off-by: Mark Tomich <tomichms@nih.gov>
2024-02-29 13:21:57 -05:00
Mark Tomich
32d15d4361
Setting one archive_path per role and setting default values
...
Signed-off-by: Mark Tomich <tomichms@nih.gov>
2024-02-29 10:55:40 -05:00
Mahendra Paipuri
cf1a5dbece
chore: Configurable prometheus system user, group ( #307 )
...
Signed-off-by: Mahendra Paipuri <mahendra.paipuri@gmail.com>
2024-02-29 09:50:15 +01:00
Mark Tomich
5150409d55
allowing for the specification of a prometheus_archive_path
other than
...
`/tmp`
Signed-off-by: Mark Tomich <tomichms@nih.gov>
2024-02-28 10:40:41 -05:00
prombot
763bc8aee7
patch: 🎉 automated upstream release update
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-02-26 14:29:30 +00:00
prombot
90d372cbaf
patch: 🎉 automated upstream release update
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-02-23 01:43:10 +00:00
SuperQ
954a01d17c
fix: Don't reload services when restarting
...
Avoid triggering a reload of various role services when a restart is
needed. This avoids the race between restart and reload.
Signed-off-by: SuperQ <superq@gmail.com>
2024-01-29 13:57:34 +01:00
prombot
a9f0d532fc
patch: 🎉 automated upstream release update
...
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-01-16 14:30:41 +00:00