2 Replies Latest reply on Apr 17, 2013 12:40 AM by Arun Raj

    Trait DataType : Why this datatype behaving such strange manner ? ?

    Arun Raj Expert

      Hi Developers,

       

          I have created a plugin , which is consist of metrics of trait datatype.

       

          Those Metrics are doubled in the summary view. For eg: If I am specifying , Status metric. I am getting "status" and "status per minute". Status metric bringing perfect resultant values. But Status per minute is not producing values. Help me to find out this problem.

       

      Regards,
      ArunRaj

        • 1. Re: Trait DataType : Why this datatype behaving such strange manner ? ?
          jay shaughnessy Expert

          It's not a problem, it's by design:  From rhq-plugin.xsd:

           

                   <xs:attribute name="measurementType" default="dynamic">

                      <xs:annotation>

                         <xs:documentation>

                            If dataType is "measurement", this further describes the measurement data.

                            This defines whether the measurement values that get collected

                            consistently increase over time or are dynamic and can "randomly"

                            be higher or lower than previous values. The system will by itself generate

                            per minute metrics for data with measurementType of

                            trendsup or trendsdown.

                         </xs:documentation>

                      </xs:annotation>

           

          RHQ is helping you underdstand the rate of change for metrics that increase or decrease.  It's the per-minute value that is often useful for alerting, for example.

          • 2. Re: Trait DataType : Why this datatype behaving such strange manner ? ?
            Arun Raj Expert

            Hi Jay,

             

                Thanks for clarifying my doubt... Thanks a lot.

             

            Regards,

            ArunRaj