One option would be to use the statsd plugin for telegraf [1] so you can
use gauges.

Another option would be to add a tag to the agent, and then use a
continuous query [2] to perform the sum.

[1]
https://www.influxdata.com/getting-started-with-sending-statsd-metrics-to-telegraf-influxdb/
[2]
https://docs.influxdata.com/influxdb/v1.2/query_language/continuous_queries/

On Wed, Feb 15, 2017 at 2:58 AM, <imisko...@gmail.com> wrote:

>
> in my case,i having multi agent to insert from multi node.
>
> agent-1:
> insert mechine_id = a value=98 1
>
> agent-2
> insert mechine_id = a value=102 1
>
> in influxdb,apply last insert value,
> but,in my case,the real value is 98 + 102
>
> how to solution this?
>
>
>
>
>
>
>
>
> --
> Remember to include the version number!
> ---
> You received this message because you are subscribed to the Google Groups
> "InfluxData" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to influxdb+unsubscr...@googlegroups.com.
> To post to this group, send email to influxdb@googlegroups.com.
> Visit this group at https://groups.google.com/group/influxdb.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/influxdb/7ac9215d-10ac-4943-8d9e-71b011f21680%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to influxdb+unsubscr...@googlegroups.com.
To post to this group, send email to influxdb@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/CALxJwdOex1UXZCHOJdeAgxo0gGnuwJnCjEH0ZmyzAUsKo9kDHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to