Hello Ben and thanks for the prompt answer!

Is there a tool to do such a conversion or should I implement it myself? 

Also, would you have a few dataset examples of time series data in the 
appropriate format for Prometheus? 

My data currently looks something like this: 

*time, id_sensor, value1, value2, ... , value n*
*2022--01-03, 'd02', 0.54, 0.24, ... , 0.34*
*2022--01-03, 'd04', 0.35, 0.94, ... , 0.53*
*2022--01-04, 'd02', 0.59, 0.22, ... , 0.95*
*...*

Best,
Abdel 


On Monday, March 27, 2023 at 11:25:43 AM UTC+2 Ben Kochie wrote:

> You will want to convert the CSV to OpenMetrics format.
>
> See: 
> https://prometheus.io/docs/prometheus/latest/storage/#backfilling-from-openmetrics-format
>
> On Mon, Mar 27, 2023 at 11:18 AM Abdelouahab Khelifati <
> [email protected]> wrote:
>
>> Hello all, 
>>
>> How can I load a huge csv file into Prometheus? I tried 
>> https://github.com/stohrendorf/csv-prometheus-exporter but it doesn’t 
>> seem to be working.
>>
>> Thanks!
>>
>> Best,
>> Abdel
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Prometheus Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/prometheus-developers/4b580edc-8815-4ffd-9349-a8de58de5422n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/prometheus-developers/4b580edc-8815-4ffd-9349-a8de58de5422n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-developers/71430c18-3524-403d-9a22-b4e4161e32d3n%40googlegroups.com.

Reply via email to