Open outofsight opened 6 months ago
Hi there :wave:
On April 9, 2024, Grafana Labs announced Grafana Alloy, the spirital successor to Grafana Agent and the final form of Grafana Agent flow mode. As a result, Grafana Agent has been deprecated and will only be receiving bug and security fixes until its end-of-life around November 1, 2025.
To make things easier for maintainers, we're in the process of migrating all issues tagged variant/flow to the Grafana Alloy repository to have a single home for tracking issues. This issue is likely something we'll want to address in both Grafana Alloy and Grafana Agent, so just because it's being moved doesn't mean we won't address the issue in Grafana Agent :)
This issue has not had any activity in the past 30 days, so the needs-attention
label has been added to it.
If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue.
The needs-attention
label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity.
Thank you for your contributions!
What's wrong?
The component
prometheus.remote_write
, with an endpoint configuration as the following, apparently try to make a post request tohttps://portal.domain.tld
instead ofhttps://prometheus-proxy
: the request fail because DNS nameportal.domain.tld
resolve to another non-routable ip address of the proxy.Notes:
server_name
is mandatory because the proxy host also other sites, but should be used for TLS negotiation, not endpoint api discovery.server_name
beingprometheus.portal.domain.tld
, Agent apparnetly resolve and try to dial forportal.domain.tld
.portal.domain.tld
being the same proxy, dial to this IP address fail because this address is on a Docker macvlan network.Steps to reproduce
System information
Linux 4.4.302+ x86_64 GNU/Linux + Docker
Software version
Grafana Agent v0.40
Configuration
Logs