Measurement Naming

This article explains how measurement names for InfluxDB are formatted to specify both the measurement and field names.

The approach taken is to have the field name be specified by the last part of the name, as separated by periods. If no periods are used in the name, then the field name will simply be called "value".

A few examples will help elucidate the system:

Incoming Metric Name
Sent by Your Systems
Measurement Name
Stored in InfluxDB
Field Name
Stored in InfluxDB
ocean_buoy_wave_height ocean_buoy_wave_height value
ocean_buoy.wave_height ocean_buoy wave_height
ocean_buoy_wave_height.value ocean_buoy_wave_height value
ocean_buoy.wave_height.value ocean_buoy.wave_height value
ocean_buoy.wave.height ocean_buoy.wave height
ocean_buoy.wave.frequency ocean_buoy.wave frequency
ocean_buoy.wind.speed ocean_buoy.wind speed
ocean_buoy.wind.direction ocean_buoy.wind direction

The syntax for InfluxDB tags is explained in the Code Instrumentation article.

Have questions? Need advice?

Pick a slot from the calendar to chat with one of our engineers. Whether you just need high-level advice on metrics and monitoring or have specific questions about HostedMetrics, we're here to help you!
Schedule a Chat