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

Filling Sparse Metrics #757

Closed
sparrc opened this issue Feb 25, 2016 · 1 comment
Closed

Filling Sparse Metrics #757

sparrc opened this issue Feb 25, 2016 · 1 comment

Comments

@sparrc
Copy link
Contributor

sparrc commented Feb 25, 2016

This would likely be a feature of a generic TCP & UDP listener input plugin.

Sparse Metrics are a common use case where bandwidth or power (or both) are at a premium. In an effort to reduce the transmit power needs, or to reduce traffic over the wire, devices only report metrics when the value changes. For example, imagine a sensor that monitors whether a door is open. We open the door at noon and it stays open until 1:15 p.m., when the door is closed again. The sensor reports every 10 minutes.

InfluxDB assumes the series would look like this (pseudo-line protocol):

door status=closed 11:50
door status=open 12:00
door status=open 12:10
door status=open 12:20
door status=open 12:30
door status=open 12:40
door status=open 12:50
door status=open 13:00
door status=open 13:10
door status=closed 13:20

When the customer actually wants the points to be like this:

door status=closed 11:50
door status=open 12:00
door status=closed 13:20

@danielnelson
Copy link
Contributor

Merging with #3388

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