Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggerator is called before the collector #5

Open
mehdiAhmed opened this issue Aug 24, 2016 · 1 comment
Open

Aggerator is called before the collector #5

mehdiAhmed opened this issue Aug 24, 2016 · 1 comment

Comments

@mehdiAhmed
Copy link
Contributor

The execution start with the execution of run method in Sensor Class. In this method you call the aggerator before the publisher. However, the collector is called from the publisher (in doPublish method, you call get method of the sensor. This later call the Collector)
Finnaly, the collector is called after the aggerator.

@gibello
Copy link
Member

gibello commented Aug 30, 2016

Is there a bug ? How can it be reproduced ?
OCCI monitoring states that aggregators obtain data from metrics, and that publishers obtain data from metrics or aggregators: see attached image.
occimonitoring
Something wrong with that in the code ?

The doPublish() method you mention is not in class Publisher, it is in utilitary implems (PrintStreamPublisher and its subclasses). So is there is any bug related to this, in the PrintStreamPublisher... or further in the sample apps (in specific Metric implems ?).
And what is the symptom ? Anything in the examples ? Or any code of your own which does not work properly ?? Would like to test something that goes wrong, then fix it.

Note there are certainly bugs, but I did not yet clearly understand this one...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants