Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 32459ca679ef13f51a7e6526cdae100660ecbdbd
https://github.com/tribe29/checkmk/commit/32459ca679ef13f51a7e6526cdae10066…
Author: Simon Meggle <simon.meggle(a)elabit.de>
Date: 2022-10-06 (Thu, 06 Oct 2022)
Changed paths:
A .werks/14561
M cmk/special_agents/agent_prometheus.py
Log Message:
-----------
14561 FIX Prometheus: allow operation of special agent without querying targets
endpoint
Previously, the Prometheus special agent would query the endpoint
`/api/v1/targets` regardless of what was configured in the Prometheus
rule. This was an additional burden on users, which did not specify any
scrape targets and therefore do not need this endpoint. E.g., it can
lead to additional timeouts. With this werk, the endpoint
`/api/v1/targets` is only queried if necessary.
CMK-11288
Change-Id: I5a0bed07f97b1217a8b2d632dd5abe82527082ea
Commit: 0d76f50d1a945f148730864b8794ee77110d8d59
https://github.com/tribe29/checkmk/commit/0d76f50d1a945f148730864b8794ee771…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-10-06 (Thu, 06 Oct 2022)
Changed paths:
M cmk/special_agents/utils/prometheus.py
M tests/unit/cmk/special_agents/utils/test_prometheus.py
Log Message:
-----------
agent_prometheus: only pass parameters needed for generate_api_session
Change-Id: If30b427f78d7471bb52362c81d83cdbb6a1e4453
Commit: b016a3c23dd8f4eb77ec6f7a13a2210bd77188aa
https://github.com/tribe29/checkmk/commit/b016a3c23dd8f4eb77ec6f7a13a2210bd…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-10-06 (Thu, 06 Oct 2022)
Changed paths:
M cmk/special_agents/utils/prometheus.py
Log Message:
-----------
agent_prometheus: simplify api_url creation
Change-Id: If496b0a608346b6e1a9b36a0a3423ae5ea96d970
Commit: 6d4912d9b5be38534d55c2f5776078ac68fa9db1
https://github.com/tribe29/checkmk/commit/6d4912d9b5be38534d55c2f5776078ac6…
Author: Solomon Jacobs <solomon.jacobs(a)tribe29.com>
Date: 2022-10-06 (Thu, 06 Oct 2022)
Changed paths:
M cmk/special_agents/utils/prometheus.py
Log Message:
-----------
agent_prometheus: add typing to url creation
Change-Id: I7fc11b3d0a44d838aacb6c4c943181cb86fb1f1e
Compare:
https://github.com/tribe29/checkmk/compare/34d8fb56042e...6d4912d9b5be