[prometheus-users] Re: All Samples Lost when prometheus server return 500 to prometheus agent

2024-05-17 Thread 'Brian Candler' via Prometheus Users
It's difficult to make sense of what you're saying. Without seeing logs from both the agent and the server while this problem was occurring (e.g. `journalctl -eu prometheus`), it's hard to know what was really happening. Also you need to say what exact versions of prometheus and the agent were

[prometheus-users] All Samples Lost when prometheus server return 500 to prometheus agent

2024-05-17 Thread koly li
Hello all, Recently we found that our samples are all lost. After some investigation, we found: 1, we are using prometheus agent to send all data to prometheus server by remote write 2, the agent sample sending code is in storage\remote\queue_manager.go, the function is