Skyline is unable to display monitor tab for instances

Bug #2029896 reported by ivan.song
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
skyline console
Expired
Wishlist
Unassigned

Bug Description

Deploy Openstack using Kolla sense, version 2023.1. The ceilometer service has been installed, but the monitoring tab for the instance is not displayed in Compute ->Virtual Machine ->Instance. How can I enable this option,ths

Tags: feature new
Revision history for this message
xusongfu (xusongfu) wrote :

Hi Ivan,

Thank you for your interest in Skyline UI.

Could you please resubmit this issue as a feature request for us?

We will consider adding this functionality in a later update.

Changed in skyline-console:
status: New → Invalid
importance: Undecided → Wishlist
xusongfu (xusongfu)
Changed in skyline-console:
status: Invalid → New
Revision history for this message
ivan.song (ivansong2323) wrote :

Hi Xusongfu,
Thank you for your reply. Please help implement this new feature by adding a monitoring option in the virtual machine instance details tab. Opening the option can display the monitoring information of the instance, including CPU usage, CPU load, memory usage, disk space usage/IOPS, and network bandwidth. Thank you.

tags: added: feature new
Revision history for this message
Khoi (khoinh5) wrote :

We need be careful. User can dump Prometheus data if they can catch query api.

Revision history for this message
xusongfu (xusongfu) wrote :

Hi All,

Sorry, after our internal communication, we found that this feature may not be added.

Now skyline-console is not integated with ceilometer(which is a data collection service). But we only use prometheus for skyline. And no exporters will supply the detailed info for vm(such as cpu, mem and so on).

So if we need these informations for vm, we need to do like:

- develop new exporter to collector metrics of vm
or
- integrated with ceilometer

Revision history for this message
Satish Patel (satish-txt) wrote :

This feature will be good to have. To collect data from gnocchi or ceilometer etc.

Revision history for this message
Khoi (khoinh5) wrote :

Hello. If I want to contribute monitor module to Skyline will it reject? I can see that people need it. My code use Prometheus too.

Revision history for this message
xusongfu (xusongfu) wrote :

Hi Khoi,

Firstly, thanks for your advice, we greatly welcome everyone's contributions.

But i have some questions as below:

1.What's the data collecter(exporter) you will provide? ceilometer or others?

2.How to integrate the new exporter with promethus?

xusongfu (xusongfu)
Changed in skyline-console:
status: New → Incomplete
Revision history for this message
Satish Patel (satish-txt) wrote :

Prometheus already scraping data for all vms then why it’s hard to create new tab in instances detail page and point to Prometheus?

I have integrated Prometheus with skyline and I can see metrics in skyline-console for administration. But not instances detail.

Do you think it’s very hard to code that to fetch vm data from Prometheus?

Revision history for this message
xusongfu (xusongfu) wrote :

Hi Satish,

Based on our previous testing, the prometheus can't scrape data for vm(single instance), so we developed an exporter to scrape the data for instance, but the exporter is not open source project.

Maybe the prometheus already scraping data for all vms now, however, we have a bit busy in recent months, we will handle this issue as soon as possible.

Hi Khoi,

Could you please help to provide some contributions about this ?

Revision history for this message
Khoi (khoinh5) wrote (last edit ):

Hello.
I am coding. It worked but it does not follow some standars.
I will contribute when it looks good.
I followed this exporter
https://github.com/zhangjianweibj/prometheus-libvirt-exporter
I do some test and its metric quite exactly.
I am sure that i will help on this in future when i can work with dev team. My team is system and i just code by google guides. I will request pentest for this project too and give result. I stil learn howcsubmit code.
Sr for missing because thí post is not notified to me :(

Revision history for this message
xusongfu (xusongfu) wrote :

Hi,

Maybe the prometheus already scraping data for all vms now, then, maybe you don't need to follow a new exporter.

We have supported promethus in skyline-console, and we just need to test if it can scrape data for single instance vm. if it works, we will support monitoring tab in instance details page.

Revision history for this message
Khoi (khoinh5) wrote :

Hello.
What you mean?
This exporter will collect all openstack vms. We can query base on instance ID. I deployed 2 options. We can use for a vm detail or a monitor menu for all vm in project. My problem is nice code and prevent data leaks.
I integrated this in my skyline. but need more handle.

Revision history for this message
Khoi (khoinh5) wrote :

It looks like that for whole project. For each vm is same logic.

Revision history for this message
xusongfu (xusongfu) wrote :

Hi,

According to the Satish Patel's reply on 2023-09-20, maybe openstack has supported some exporters to let prometheus already scraping data for all vms?

Then, shall we still need to use the others exports, such as https://github.com/zhangjianweibj/prometheus-libvirt-exporter?

Revision history for this message
Khoi (khoinh5) wrote :

I need confirm with Satish.
I dont know any other exporters can scrap data for all vms. I think what he said linux node exporter. Currently, I use grafana visualize dashboards about instance performance monitor base on it. I do performance test and those metrics are quite exactly. My integration with skyline worked but not beautiful. I can help you about this exporter or something about my work. I also want to contribute some codes but I still learn how subbmit code to opendev.

Revision history for this message
xusongfu (xusongfu) wrote :

Hi,

Thank you for your help.

By the way, if you want to contribute some codes, you should register account from https://login.ubuntu.com.

Then, you can contribute codes to https://review.opendev.org for reviewing.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for skyline console because there has been no activity for 60 days.]

Changed in skyline-console:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.