-
Notifications
You must be signed in to change notification settings - Fork 120
Wavefront, Influx, OpenTSDB DCC and packages for wavefront, influx, opentsdb. #184
base: master
Are you sure you want to change the base?
Conversation
@Venkat2811 Please review the code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
else: | ||
host = (reg_metric.parent).ref_entity.entity_id #if device is not available, only gateway uuid | ||
|
||
metric_unit = str(reg_metric.ref_entity.unit) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parse unit is available in si_unit.py. Please use that.
else: | ||
host = (reg_metric.parent).ref_entity.entity_id #if device is not available, only gateway uuid | ||
|
||
metric_unit = str(reg_metric.ref_entity.unit) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parse unit is available in si_unit.py. Please use that.
|
||
def _format_data(self, reg_metric): | ||
met_cnt = reg_metric.values.qsize() | ||
message = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create these variables after met_cnt validation
|
||
def _format_data(self, reg_metric): | ||
met_cnt = reg_metric.values.qsize() | ||
message = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Create these variables after met_cnt validation
|
||
def _format_data(self, reg_metric): | ||
met_cnt = reg_metric.values.qsize() | ||
message = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
Added wavefront, influx, opentsdb DCCs and packages for wavefront, influx, opentsdb along with them examples for the DCCs.