Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Wavefront, Influx, OpenTSDB DCC and packages for wavefront, influx, opentsdb. #184

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lucifercr07
Copy link

Added wavefront, influx, opentsdb DCCs and packages for wavefront, influx, opentsdb along with them examples for the DCCs.

@KohliDev
Copy link
Contributor

@Venkat2811 Please review the code.

Copy link
Contributor

@Venkat2811 Venkat2811 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Graphite, Wavefront, Influx, TSDB, AWSIoT DCCs have same register and create relationship implementation.

@pmasrani @KohliDev As discussed few months ago, we should make this implementation as part of Abstract DCC now.

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)
Copy link
Contributor

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)
Copy link
Contributor

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 = ''
Copy link
Contributor

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 = ''
Copy link
Contributor

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 = ''
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

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

Successfully merging this pull request may close these issues.

3 participants