Forwarding from routing receiver to ingesting receiver #7264
Replies: 1 comment
-
Never found an answer. Maybe a bug, maybe traefik, we will never know. Resorted to using nginx as a forwarding proxy between vmagent and the cloud. In that case forwarding the traffic to the remote write endpoint, not the grpc endpoint. Probably a better solution anyway. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am attempting to set up a receiver in routing only mode on an "on premise" server to then forward remote writes made to it, to a receiver in the cloud which is running in ingestor mode. However, I am unable to get the traffic forwarded from the routing receiver to the ingesting receiver properly. Visualization of the setup:
This is my routing receiver configuration in docker compose:
.env file:
The routing receiver logs indicate that it is correctly attempting to forward the request to the ingesting receiver, but fails for reasons that are beyond my understanding:
Similar logs coming from vm agent which I am using to push logs to the routing receiver via the remote write endpoint:
I deployed the receive ingestor in eks with the bitnami thanos helm chart without making any changes to it. I just set receive.enabled to true and added an extraFlag --tsdb.out-of-order.time-window=24h. Here's the resource description of the deployed pod:
I exposed the 10901 (grpc) port via a traefik IngressRoute resource and a dummy ingess for external dns to create the record. Here's the IngressRoute I deployed to get access to the grpc endpoint externally:
and the ingress:
When I grpcurl the domain that the ingestor grpc endpoint is exposed on I get a response, which indicates to me that the grpc endpoint is exposed correctly:
Beta Was this translation helpful? Give feedback.
All reactions