I'm trying to a implement remote write setup via only pushing at strict 10 
minute interval requirement. Both push based and time intervals are must 
for me :(

Is remote write is possible without streaming? In Prometheus remote write 
spec, streaming is mentioned but I'm ok with losing data and scalability 
problems due to high humber of new tcp connection creation.

I increased `batch_send_deadlines` but still get requests in every 15 
second, there's an http config called `keepAlivesEnabled`  in 
[prometheus/common](https://github.com/prometheus/common/blob/main/config/http_config.go#L50)
 
. AFAIK from code and documentation there's no way to disable this option.

I tested via `tcpdump`:
- `tcpdump -i eth0 'port 9090'`: Main server (receives data) gets request 
in every 15 second
- `tcpdump -i eth0 'port 9090 and tcp[tcpflags] & (tcp-syn) != 0'`: Only 
one tcp connection is created and persisted



-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/3f4309e4-3b9c-4e7c-ab0b-86125318e572n%40googlegroups.com.

Reply via email to