Skip to content

Commit ea32a1a

Browse files
jh-RLIclaude
andcommitted
Probe Fuseki by TCP instead of /$/ping
On the test server Fuseki 5.1's Java heap grew by about 1.2 GiB per hour from the moment the monitoring started, from a flat ~220 MiB before. Stopping only the probes for four minutes took the growth from 20 to 1.5 MiB per minute, so the HTTP ping every 15 s is the cause. A TCP connect to port 3030 still shows whether Fuseki is up, without making the JVM do anything; a hung JVM with an open port is no longer caught. Part of #2412. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 12f5c1f commit ea32a1a

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

‎podman/monitoring/prometheus/prometheus.yml‎

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,16 @@ scrape_configs:
3535
target_label: instance
3636
- target_label: __address__
3737
replacement: oep-mon-blackbox:9115
38-
- job_name: probe_fuseki
39-
metrics_path: /probe
40-
params: { module: [http_2xx] }
41-
static_configs: [{ targets: ["http://fuseki:3030/$/ping"] }]
42-
relabel_configs: *probe
4338
- job_name: probe_tcp
4439
metrics_path: /probe
4540
params: { module: [tcp_connect] }
41+
# Fuseki by TCP only: an HTTP probe of /$/ping every 15 s made Fuseki 5.1's
42+
# Java heap grow by ~1.2 GiB per hour (measured on the test server, 2026-10-14).
4643
static_configs:
47-
[{ targets: ["ontop:8080", "lookup:8082", "postgres:5432"] }]
44+
[
45+
{
46+
targets:
47+
["fuseki:3030", "ontop:8080", "lookup:8082", "postgres:5432"],
48+
},
49+
]
4850
relabel_configs: *probe

0 commit comments

Comments
 (0)