Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPrometheus-master can not query any metrics when labelmap and hashmod are both configured in Prometheus-slave #4872
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
heayin commentedNov 16, 2018
•
edited
I am using Prometheus Federation in k8s.
The master configuration is as follows:
"10.181.12.19:30093" is the ip-address of slave1.
"10.181.12.19:30092" is the ip-address of slave0.
The slave1 configuration is as follows:
I can query metrics successfully in slave1. But I can query nothing in master.
When querying in master, I tcpdumped "10.181.12.19:30093" . It showed that the slave sended the metrics to master.
However, I can query successfully in master when labelmap is removed in slave1 configuration .
The configuration is follows: