Skip to content

Comments

feat: push test version#71

Open
Tadas Sutkaitis (fitbeard) wants to merge 4 commits intovexxhost:mainfrom
fitbeard:poc/testing_version
Open

feat: push test version#71
Tadas Sutkaitis (fitbeard) wants to merge 4 commits intovexxhost:mainfrom
fitbeard:poc/testing_version

Conversation

@fitbeard
Copy link
Contributor

No description provided.

Signed-off-by: Tadas Sutkaitis <tadas.sutkaitis@vexxhost.com>
Signed-off-by: Tadas Sutkaitis <tadas.sutkaitis@vexxhost.com>
Signed-off-by: Tadas Sutkaitis <tadas.sutkaitis@vexxhost.com>
Signed-off-by: Tadas Sutkaitis <tadas.sutkaitis@vexxhost.com>
@na50r
Copy link

Rosan Shanmuganathan (na50r) commented Feb 23, 2026

Regarding: this query for Octavia loadbalancers
I raised an issue #70

The Niedbalski exporter returns only loadbalancers that have lb.provisioning_status = "ACTIVE"
Without a condition in the query, it will return all loadbalancers, including the ones with lb.provisioning_status = "DELETED"

So behaviour is not identical and for some users, switching exporters will result in receiving more metrics than before.

Will this be mentioned/addressed or should it be changed to mimic the Niedbalski exporter?

@na50r
Copy link

Rosan Shanmuganathan (na50r) commented Feb 23, 2026

For Glance, the Niedbalski exporter does the following:

allPagesImage, err := images.List(exporter.Client, images.ListOpts{}).AllPages()

The equivlant Openstack CLI command as admin would be:

openstack image list -f value -c id | wc -l

But if we run the query used here:

# Simplified
SELECT * FROM images WHERE deleted=0

We get also images where os_hidden=1, which Openstack API does not expose. So this exporter will not produce the same metrics, it will produce more for some users. In particular, the metric

openstack_glance_images

can have a potentially much higher number than before, causing sudden jumps in dashboards when exporters are switched.

So either we ensure that the exporter only exports os_hidden=0 or we address/mention this in the audit report.

@na50r
Copy link

Rosan Shanmuganathan (na50r) commented Feb 23, 2026

For Neutron, the metrics:

openstack_neutron_subnets_free
openstack_neutron_subnets_total
openstack_neutron_subnets_used

Are missing, there is an implementation in this branch; it involves a bit of math; was adapted from what was found in the Niedbalski exporter

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