grafana/pyroscope

[remoteWrite] add more info (like url) when showing errors

Closed

#1,961 opened on May 25, 2023

 (1 comment) (0 reactions) (0 assignees)C (528 forks)batch import
good first issue

Repository metrics

Stars
 (9,041 stars)
PR merge metrics
 (Avg merge 5d 7h) (62 merged PRs in 30d)

Description

time="2023-05-25T15:55:10.103354" level=error msg="error happened while ingesting data" file=" remotewrite/queue.go:96" error="response not ok: status code: '404'. body: '404 page not found\n'" key="foo.cpu{}" remote_target=bar

This message would be more helpful if it had the url which is trying to be hit.

Contributor guide