I don't know if it's possible to set data types during Graphite ingest. However, as of InfluxDB 1.0-beta1 it is possible to cast numeric types when querying. Your numbers would still be written as floats, but you can query them as integers. See https://github.com/influxdata/influxdb/pull/6529 and https://docs.influxdata.com/influxdb/v1.0/query_language/data_exploration/#data-types-and-cast-operations-in-queries for more.
On Wed, Jun 29, 2016 at 10:17 AM, <[email protected]> wrote: > Hi, I've been trying to send metrics to influxdb via the graphite listener > but it converts them into floating numbers, I tried adding "i" to the > number to force influxdb to treat it as an integer but this seems to only > work on the line protocol. > > How can I make influxdb treat my integer as an integer? > > -- > Remember to include the InfluxDB version number with all issue reports > --- > You received this message because you are subscribed to the Google Groups > "InfluxDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > 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/7dd74388-cc53-4c77-89c1-b81f607c992b%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- Sean Beckett Director of Support and Professional Services InfluxDB -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. 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/CALGqCvOqRrJibz_Lg0xEDo4DagyAChXQfGS6AAcJhKOVv7gkVA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
