You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2021/12/15 12:38:19 UTC

[GitHub] [cloudstack] tampler opened a new issue #5778: Feat: Add Prometheus and Grafana monitoring support

tampler opened a new issue #5778:
URL: https://github.com/apache/cloudstack/issues/5778


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Improvement Request
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   API, UI, SDK go
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->
   
   ~~~
   4.17, 4.16
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   Many users need to monitor Cloudstack management server resources, such as Disk, CPU, Bandwidth, Public IPs, etc.
   This has already been implemented  [here](https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+Metrics+Exporter+for+Prometheus) and in #4173
   
   It was also covered on CCC 2021 [here](https://www.youtube.com/watch?v=m8mYdWHoxLY&list=PLnIKk7GjgFlY7L4-pp3pAD_b5IVEFd_2b&index=7).
   
   However, this feature is still not available for general use.  So need to make usable already implemented feature
   
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] tampler closed issue #5778: Feat: Add Prometheus and Grafana monitoring support

Posted by GitBox <gi...@apache.org>.
tampler closed issue #5778:
URL: https://github.com/apache/cloudstack/issues/5778


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache edited a comment on issue #5778: Feat: Add Prometheus and Grafana monitoring support

Posted by GitBox <gi...@apache.org>.
weizhouapache edited a comment on issue #5778:
URL: https://github.com/apache/cloudstack/issues/5778#issuecomment-994844163


   > 
   
   
   
   > hi @weizhouapache
   > 
   > Are there any API methods to enable/disable/update/remove metrics? Are there GUI knobs? It just works from the SQL cmdline, which is why 99.99% of users are NOT aware of it. Correct me if I'm wrong. Any links are highly welcome
   
   @tampler 
   no API, no GUI.
   you can get all metrics by cli `curl http://127.0.0.1:9595/metrics` if prometheus exporter is enabled in global setting.
   you can also use the http url in grafana.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] tampler edited a comment on issue #5778: Feat: Add Prometheus and Grafana monitoring support

Posted by GitBox <gi...@apache.org>.
tampler edited a comment on issue #5778:
URL: https://github.com/apache/cloudstack/issues/5778#issuecomment-994810147


   hi @weizhouapache 
   
   Are there any API methods to enable/disable/update/remove metrics? Are there GUI knobs? 
   It just works from the SQL cmdline, which is why 99.99% of users NOT aware of it. Correct me if I'm wrong. Any links are highly welcome


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] tampler commented on issue #5778: Feat: Add Prometheus and Grafana monitoring support

Posted by GitBox <gi...@apache.org>.
tampler commented on issue #5778:
URL: https://github.com/apache/cloudstack/issues/5778#issuecomment-994810147


   hi @weizhouapache 
   
   Are there any API methods to enable/disable/update/remote metrics? Are there GUI knobs? 
   It just works from the SQL cmdline, which is why 99.99% of users NOT aware of it. Correct me if I'm wrong. Any links are highly welcome


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] tampler commented on issue #5778: Feat: Add Prometheus and Grafana monitoring support

Posted by GitBox <gi...@apache.org>.
tampler commented on issue #5778:
URL: https://github.com/apache/cloudstack/issues/5778#issuecomment-1030885478


   Yes, works for me. Thanks everybody !


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #5778: Feat: Add Prometheus and Grafana monitoring support

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5778:
URL: https://github.com/apache/cloudstack/issues/5778#issuecomment-994796979


   @tampler 
   what are missing in your opinion ?
   afaik it just works.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] tampler edited a comment on issue #5778: Feat: Add Prometheus and Grafana monitoring support

Posted by GitBox <gi...@apache.org>.
tampler edited a comment on issue #5778:
URL: https://github.com/apache/cloudstack/issues/5778#issuecomment-994810147


   hi @weizhouapache 
   
   Are there any API methods to enable/disable/update/remove metrics? Are there GUI knobs? 
   It just works from the SQL cmdline, which is why 99.99% of users are NOT aware of it. Correct me if I'm wrong. Any links are highly welcome


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] weizhouapache commented on issue #5778: Feat: Add Prometheus and Grafana monitoring support

Posted by GitBox <gi...@apache.org>.
weizhouapache commented on issue #5778:
URL: https://github.com/apache/cloudstack/issues/5778#issuecomment-994844163


   > 
   
   
   
   > hi @weizhouapache
   > 
   > Are there any API methods to enable/disable/update/remove metrics? Are there GUI knobs? It just works from the SQL cmdline, which is why 99.99% of users are NOT aware of it. Correct me if I'm wrong. Any links are highly welcome
   
   @tampler 
   no API, no GUI.
   you can get all metrics by cli `curl http://127.0.0.1:9595` if prometheus exporter is enabled in global setting.
   you can also use the http url in grafana.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on issue #5778: Feat: Add Prometheus and Grafana monitoring support

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #5778:
URL: https://github.com/apache/cloudstack/issues/5778#issuecomment-1029553506


   Hi @tampler afaik it is working. Can you please confirm if the issue is still valid after @weizhouapache's comment?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org