Hello, dear HP community.
I have an interest needs. Let me explain. I have database query, that takes different metrics for different object in table like this:
OBJECT_NAME | start_date | end_date | datediff | avgdatediff
obj1 | 1.03.16 | 2.03.16 | 1 | 0,5
obj2 | 1.03.16 | 2.03.16 | 1 | 0,5
obj3 | 1.03.16 | 2.03.16 | 1 | 0,5
... | ... | ... | ... | ...
So, i need to create a lot of objects (node, business_application, doesn't matter) by OBJECT_NAME and get other columns as metrics for this object.
JS script is done and it's pretty clear for me.
But as for topology, i can't find way to take only OBJECT_NAME column and list it. As for now, i use Framework.getDestinationAttributeAsObject("metrics"). This way takes all metrics.
So, i've read about using Framework.getDestinationAttributeAsObject("monitorStorage").get(<parameter_name>). But i can't understand, how to get OBJECT_NAME column using it.
Any ideas about it?
Regards, Vitaly Vyblov