Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting batch write client failed to send profiles in Parca Agent Logs #4660

Open
mayankkhullar opened this issue May 23, 2024 · 1 comment

Comments

@mayankkhullar
Copy link

I. have installed parca on k8s version 1.28.5 AKS using documentation https://www.parca.dev/docs/kubernetes

After installing server and agents my UI showing no targets configured as per below snapshot
image

And when i checked my parca agetn logs i saw below

level=warn name=parca-agent ts=2024-05-23T11:51:06.412537185Z caller=batch_remote_write_client.go:140 msg="batch write client failed to send profiles" count=21 err="rpc error: code = Internal desc = unexpected HTTP status code received from server: 400 (Bad Request); transport: received unexpected content-type \"text/plain; charset=utf-8\""
level=warn name=parca-agent ts=2024-05-23T11:51:17.372269774Z caller=batch_remote_write_client.go:140 msg="batch write client failed to send profiles" count=16 err="rpc error: code = Internal desc = unexpected HTTP status code received from server: 400 (Bad Request); transport: received unexpected content-type \"text/plain; charset=utf-8\""
level=warn name=parca-agent ts=2024-05-23T11:51:25.260474107Z caller=batch_remote_write_client.go:140 msg="batch write client failed to send profiles" count=17 err="rpc error: code = Internal desc = unexpected HTTP status code received from server: 400 (Bad Request); transport: received unexpected content-type \"text/plain; charset=utf-8\""
level=warn name=parca-agent ts=2024-05-23T11:51:35.036817576Z caller=batch_remote_write_client.go:140 msg="batch write client failed to send profiles" count=15 err="rpc error: code = Internal desc = unexpected HTTP status code received from server: 400 (Bad Request); transport: received unexpected content-type \"text/plain; charset=utf-8\""
level=warn name=parca-agent ts=2024-05-23T11:51:45.769154642Z caller=batch_remote_write_client.go:140 msg="batch write client failed to send profiles" count=10 err="rpc error: code = Internal desc = unexpected HTTP status code received from server: 400 (Bad Request); transport: received unexpected content-type \"text/plain; charset=utf-8\""
level=warn name=parca-agent ts=2024-05-23T11:51:55.138682498Z caller=batch_remote_write_client.go:140 msg="batch write client failed to send profiles" count=15 err="rpc error: code = Internal desc = unexpected HTTP status code received from server: 400 (Bad Request); transport: received unexpected content-type \"text/plain; charset=utf-8\"" ```


Can you please check and help exploring this tool
@brancz
Copy link
Member

brancz commented May 23, 2024

Can you share the full set of flags on Parca Agent?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants