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

Add block disk backend statistic label #39

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Vatson112
Copy link

Source File label not exist when we have block disk backend.

Before:
libvirt_domain_block_stats_read_bytes_total{domain="test-rhv02.unix.ru",flavorName="",host="rhv07-dev.hw.mgmt.tensor.ru",instanceId="505c6324-fd90-4e7a-96cc-fc9c8b644002",instanceName="",projectId="",projectName="",source_file="",target_device="sda",userId="",userName=""} 4.15006208e+08
After:
libvirt_domain_block_stats_read_bytes_total{domain="test-rhv02.unix.ru",flavorName="",host="rhv07-dev.hw.mgmt.tensor.ru",instanceId="505c6324-fd90-4e7a-96cc-fc9c8b644002",instanceName="",projectId="",projectName="",source_file="/rhev/data-center/mnt/blockSD/dd8a9e48-0450-4ca5-b06f-1995eeeee4c9/images/b8534a94-e352-47f5-92a7-0881819d650f/0fe01562-36fb-42fb-8247-d6f59465fbee",target_device="sda",userId="",userName=""} 4.15006208e+08

@frittentheke
Copy link

frittentheke commented Dec 18, 2023

@Vatson112 may I bluntly point you to our fork at https://github.com/inovex/prometheus-libvirt-exporter
If you read prometheus-community/community#50 you can see what we change since the fork and what our intentions actually are.

We do accept PRs if you like to contribute there and don't mind rebasing your PR again.

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

Successfully merging this pull request may close these issues.

2 participants