[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.hyades] Re: How to use stat con in Hyades 3.1

Hello Antony,

thank you again!
I'll have a closer look into the CVS repository in future, to get those information by myself.


Holger Machens

Antony Miguel wrote:
Hi Holger,

There is a statistical data collection fragment schema at:

http://dev.eclipse.org/viewcvs/indextools.cgi/~checkout~/hyades-home/docs/components/data_collection/dtd_xsd/statistical.xsd

If you have any questions about it you should speak to Richard Duggan or
Marius Slavescu.

cheers

Antony Miguel

"Holger Machens" <machens@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:co1no0$48l$1@xxxxxxxxxxxxxxxxxx

Hi again,


i created a XML Schema out of the information i've read from XML Fragment Loaders in org.eclipse.hyades.loader.statistical. Could you please enter some comments in the schema?


Holger


Holger Machens wrote:

Hi,


it seems that many things changed in the statistical console. There are many differences between statcon documentation and it's actual operation. There are also many broken links. Can any one give me an introduction for this topic.


What I'd like to know: 1. How to fill statistical data model 1a. How to develop my own agent 1b. Which XML Fragments has to be used 1b. Do I need to develop plug-ins for the workbench side (launch

plugin?)

2. How to observe it in statistical data view.


I have made experiences in Plug-in development, Log and Trace Agent development using Remote Component Skeleton and XML Fragment Loader development - this may help to reduce the explanation overhead.


Thanks for reading Holger Machens



----------------------------------------------------------------------------
----



<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema";

elementFormDefault="qualified" attributeFormDefault="unqualified">

<xs:complexType name="Descriptor">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="description"/>
</xs:sequence>
<xs:attribute name="id" type="xs:string"/>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="parent" type="xs:string"/>
</xs:complexType>

<xs:complexType name="CounterDescriptor">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Descriptor">
<xs:choice minOccurs="1">
<xs:element name="GaugeRepresentation">
<xs:complexType>
<xs:attribute name="minTreshhold" type="xs:int"/>
<xs:attribute name="maxTreshhold" type="xs:int"/>
</xs:complexType>
</xs:element>
<xs:element name="RangeRepresentation">
<xs:complexType>
<xs:attribute name="min" type="xs:int"/>
<xs:attribute name="max" type="xs:int"/>
</xs:complexType>
</xs:element>
<xs:element name="TextRepresentation"/>
<xs:element name="DiscreteRepresentation"/>
<xs:element name="ContiguousRepresentation"/>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="SampleDescriptor">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="CounterDescriptor">
<xs:attribute name="updateFrequency"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="SnapshotObservationBase">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:attribute name="time"/>
<xs:attribute name="memberDescriptor"/>
</xs:complexType>
<xs:complexType name="DiscreteObservation">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="SnapshotObservationBase">
<xs:attribute name="value" type="xs:int"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ContiguousObservation">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="SnapshotObservationBase">
<xs:attribute name="value" type="xs:double"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="TextObservation">
<xs:annotation>
<xs:documentation></xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="SnapshotObservationBase">
<xs:attribute name="value" type="xs:string"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>