Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get data from one node #28

Open
webfrank opened this issue Jan 26, 2022 · 1 comment
Open

Cannot get data from one node #28

webfrank opened this issue Jan 26, 2022 · 1 comment

Comments

@webfrank
Copy link

Hi, I have a 3 node gluster with gluster-metrics-exporter (0.3.1) running. I would like to get brick uptime for each node and I expect each node to export own brick data but this is what I get:

ovh3 (first node)

# HELP brick_uptime_seconds Brick Uptime in Seconds
# TYPE brick_uptime_seconds gauge
brick_uptime_seconds{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="0", hostname="ovh3", path="/mnt/gfs/data1/brick1"} 33081825.0
brick_uptime_seconds{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="0", hostname="ovh5", path="/mnt/gfs/data2/brick2"} 32977767.0
brick_uptime_seconds{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="1", hostname="ovh3", path="/mnt/gfs/data2/brick2"} 33081825.0
brick_uptime_seconds{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="1", hostname="ovh5", path="/mnt/gfs/data1/brick1"} 32977767.0

I have the metrics from the third node (ohv5)

ovh4 (second node)

# HELP brick_uptime_seconds Brick Uptime in Seconds
# TYPE brick_uptime_seconds gauge
brick_uptime_seconds{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="0", hostname="ovh5", path="/mnt/gfs/data2/brick2"} 32977988.0
brick_uptime_seconds{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="1", hostname="ovh5", path="/mnt/gfs/data1/brick1"} 32977988.0

I have metrics from ovh5 (not the expected ovh4)

ovh5 (third node)

# HELP brick_uptime_seconds Brick Uptime in Seconds
# TYPE brick_uptime_seconds gauge
brick_uptime_seconds{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="0", hostname="ovh5", path="/mnt/gfs/data2/brick2"} 32978040.0
brick_uptime_seconds{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="1", hostname="ovh5", path="/mnt/gfs/data1/brick1"} 32978040.0

Correct metrics for ovh5

From the metrics I gather I have no metrics for bricks on ovh4, why? On what depends?

@webfrank
Copy link
Author

Just for completeness:

# HELP brick_health Brick Health
# TYPE brick_health gauge
brick_health{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="0", hostname="ovh3", path="/mnt/gfs/data1/brick1"} 1.0
brick_health{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="0", hostname="ovh4", path="/mnt/gfs/data1/brick1"} 1.0
brick_health{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="0", hostname="ovh5", path="/mnt/gfs/data2/brick2"} 1.0
brick_health{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="1", hostname="ovh4", path="/mnt/gfs/data2/brick2"} 1.0
brick_health{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="1", hostname="ovh3", path="/mnt/gfs/data2/brick2"} 1.0
brick_health{volume_type="Distributed-Replicate", volume_state="Started", volume_name="glfs", subvol_index="1", hostname="ovh5", path="/mnt/gfs/data1/brick1"} 1.0

All bricks are up and online

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant