3 Replies Latest reply on Jun 4, 2013 5:02 AM by Arun Raj

    How to use d3 Charts in agent plugin ( RHQ Version 4.5.1 )

    Arun Raj Expert

      Hi Developers,

       

          D3 Charts looking great. Actually This kind of output only which I am looking for our metric values(I need Bar charts for my metrics instead of line charts). How could I get "Bar chart" output for metrics in Agent Plugin.

       

       

      Regards,

      ArunRaj.

        • 1. Re: How to use d3 Charts in agent plugin ( RHQ Version 4.5.1 )
          Arun Raj Expert

          Hi Developers,

           

              Is RHQ4.7 supports d3 charts as inbuilt option. If yes, Please let me know "How to access the d3chart in RHQ Agent Plugin ? ? ? ".

           

              Specifying displayType as "summary" in plugin descriptor is enough for d3charts ? ? ? ?  Please guide me to use the d3charts.

           

              How Monitor_16.png this "Live Streaming" option has been supported by RHQ. I want to study about it.

           

           

          Regards,

          ArunRaj

          • 2. Re: How to use d3 Charts in agent plugin ( RHQ Version 4.5.1 )
            Mike Thompson Novice

            Hi Arun,

             

            Just to be clear, only RHQ 4.7.0 or greater has the d3 graphing capability.

             

            I see three different questions here:

            1) How to access the d3chart in RHQ Agent Plugin ? ? ? ".

            Specifying displayType as "summary" in plugin descriptor is enough for d3charts ? ? ? ?

                

                 d3 charting can display any of the metrics exposed by the agent plugin. To create an agent plugin and expose the metrics for charting see one of the many custom plugin writing resources paying particular attention to measurements facet:

                 For example: https://docs.jboss.org/author/display/RHQ/Writing+Custom+Plugins

                 If you do some searches you will find many resources on this subject.

             

            2) Please guide me to use the d3charts.

            Sounds like a great blog article for me to  write-up; as a forum entry wouldn't do it justice. Hopefully next week

            In the meantime, not sure if you have seen: https://docs.jboss.org/author/display/RHQ/d3+Charts

             

            3) How  this "Live Streaming" option has been supported by RHQ. I want to study about it.

            This feature is being removed from the GUI as the real-time communication between the agent can cause load issues on server with its use. However, for the curious: org.rhq.enterprise.gui.coregui.server.gwt.MeasurementDataGWTServiceImpl#findLiveData

            • 3. Re: How to use d3 Charts in agent plugin ( RHQ Version 4.5.1 )
              Arun Raj Expert

              Hi Mike,

               

                 Thanks for your wonderful reply. I got an idea about d3charts. And also waiting for your blog article. Please let me know once if you have published it.

               

              Regards,

              ArunRaj