MeasurementUnits (EPOCH_MILLISECONDS, EPOCH_SECONDS)

Jiri Kremser jkremser at redhat.com
Thu Sep 20 12:40:28 UTC 2012


Hi,
  in plugin descriptor, there can be a metric definition with unit type "epoch_milliseconds" or "epoch_seconds" (rhq-configuration.xsd allows it). What kind of metric should could be represented by epoch_milliseconds? Shouldn't the exact time moments (what values epoch_milliseconds represent) be addressed rather by traits?

I am asking because the values of this type are not formatted (https://bugzilla.redhat.com/show_bug.cgi?id=857144).
I think these two unit types should be removed from MeasurementUnits and xml schema, however there might be some plugins out there using it, so what about deprecation? Are there any edge cases, when these unit types do make sense?

JK


More information about the rhq-devel mailing list