Wavefront, Influx, OpenTSDB DCC and packages for wavefront,influx,opentsdb.#5
Open
lucifercr07 wants to merge 12 commits into
Open
Wavefront, Influx, OpenTSDB DCC and packages for wavefront,influx,opentsdb.#5lucifercr07 wants to merge 12 commits into
lucifercr07 wants to merge 12 commits into
Conversation
KohliDev
reviewed
Nov 9, 2017
| metric_unit = str(reg_metric.ref_entity.unit) | ||
| metric_unit = ''.join(metric_unit.split()) | ||
| message += '{0},unit={5},host={1} {2}={3} {4}'.format(device_name,host,metric_name,v[1], | ||
| v[0]*1000000,metric_unit) |
|
|
||
| def _format_data(self, reg_metric): | ||
| met_cnt = reg_metric.values.qsize() | ||
| message = '' |
Collaborator
Author
There was a problem hiding this comment.
For replacing message as None, https://stackoverflow.com/a/1398628/4134429 as per this stack answer we should go with None, Should I go ahead and change this to None?
| # Encapsulate QoS related parameters | ||
| qos_details = QoSDetails(config['in_flight'], config['queue_size'], config['retry']) | ||
|
|
||
| # Connecting to emqtt broker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added wavefront, influx, opentsdb DCCs and packages for wavefront, influx, opentsdb along with them examples for the DCCs.