I’m trying to wrap my head around the DataFrameClient.
What I have are pandas dataframes where each row represents a timestamp and each column represents a metric (something like “facility_name.section_name.subsection_name.device_name.measurement”).
I would like to write these into influxdb. I tried using DataFrameClient but I’m getting errors (specifically the latest one is BrokenPipeError(32, ‘Broken pipe’)).
I feel like I’m missing some understanding of the different parameters I should be giving to write_points, and I can’t find a detailed description of them anywhere. Specifically:
- What exactly is the “measurement” parameter and what sort of value it should be set to?
- Should field_columns simply be all the columns of my df, assuming each column represents a unique metric I want to write to the db?
I have installed influxdb through the docker instructions here: