Skip to content

statsd input and field name #602

Closed
@lassizci

Description

I've been trying to template my metrics so that I could have multiple fields with my measurement. According to https://github.com/influxdata/influxdb/tree/master/services/graphite#templates (which is linked from statsd readme page).

it should be possible to make a template like:

templates = [
    "mybycket.* measurement.measurement.field"
]

so this:

echo "mybucket.appstats.foo_count_testing:1|c" | nc -C -w 1 -u localhost 8125

would turn in to:

> select * from mybucket_appstats;
name: mybucket_appstats
------------------------
time            host        metric_type metricgroup foo_count_testing
1453985830000000000 metricstest counter     metrics     1

However, there's only field called "value" and no tag field. So at least with statsd this doesn't seem to work. I'd like to be able to send multiple fields to same measurement.

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions