fix(testing): fix testing setup of prometheus - #4361
Conversation
This adds scrape config for scylla-manager service itself.
|
@VAveryanov8 what's the status of this PR? |
It works for the IPv4 (make sure you've restarted container with prometheus), but I wasn't able to verify it against IPv6 and that's why this PR is in draft |
Could you explain how does it work with IPV4? I tried to populate metrics by |
Yes, when running tests with For me it works, when I'm starting scylla-manager manually and running some backup/restore commands using sctool. I think it was working the same before, isn't it? |
Interesting! Anyway, do you know where is |
I guess, from here: ❯ docker network inspect scylla_manager_public -f 'json' | jq -r '.[].Containers[] | {Name, IPv4Address}'
{
"Name": "scylla_manager-dc2_node_1-1",
"IPv4Address": "192.168.100.21/24"
}
{
"Name": "scylla_manager-prometheus-1",
"IPv4Address": "192.168.100.98/24"
}
{
"Name": "scylla_manager-dc1_node_3-1",
"IPv4Address": "192.168.100.13/24"
}
{
"Name": "scylla_manager-dc1_node_2-1",
"IPv4Address": "192.168.100.12/24"
}
{
"Name": "scylla_manager-dc2_node_3-1",
"IPv4Address": "192.168.100.23/24"
}
{
"Name": "scylla_manager-second_cluster_dc1_node_2-1",
"IPv4Address": "192.168.100.32/24"
}
{
"Name": "scylla_manager-dc2_node_2-1",
"IPv4Address": "192.168.100.22/24"
}
{
"Name": "scylla_manager-dc1_node_1-1",
"IPv4Address": "192.168.100.11/24"
}
{
"Name": "scylla_manager_server",
"IPv4Address": "192.168.100.2/24"
}
{
"Name": "scylla_manager-second_cluster_dc1_node_1-1",
"IPv4Address": "192.168.100.31/24"
} |
|
I don't see
|
oh, that's because it's not in the container :) You need to run it using |
|
okay, I don't think I ever used |
|
@VAveryanov8 what is the status of this PR ? Do we still need it ? Can it be closed ? |
This adds scrape config for scylla-manager service itself.
Please make sure that: