InfluxDB - Send data to InfluxDB using Python

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024

Комментарии • 33

  • @parttimelarry
    @parttimelarry 3 года назад +1

    Love what you're doing here!

    • @DevOpsJourney
      @DevOpsJourney  3 года назад

      Thank you for the support Larry. I'm a big fan of your channel!

  • @ozaki66
    @ozaki66 3 года назад +3

    Hey thanks for the content! I was the one who asked for it so thank you very much!
    It didnt cross my mind to load all my data into a data structure first, make it look nice and then upload it just once. I was uploading to influx using the "line protocol", one line at a time.

  • @nyrangers3150
    @nyrangers3150 Год назад +1

    Thanks. I was struggling with instrumentation for Grafana building an exporter for inFluxDB. This makes so much sense.

  • @user-kn6xz8lc6d
    @user-kn6xz8lc6d Год назад

    What a good video! This guy really teachs well. He goes direct to the point.
    Thanks!

  • @CppExpedition
    @CppExpedition 2 месяца назад

    Hi Mr. Journey, EXCELLENT CONTENT!
    - Would you consider building a playlist of all your influxDB videos?

  • @MrMH0
    @MrMH0 2 года назад +1

    Very informative and helpful! Thank you very much!

  • @rtr195807
    @rtr195807 2 года назад +1

    You made my day.

  • @riccardor1060
    @riccardor1060 2 года назад +1

    Hello, thank you but… what about if you have to load many data (e.g. manual readings of some devices which are not connected to the InfluxDB server)? Should I write all those commands every time?
    I am not an expert of Python, but it looks like not so efficient.

    • @DevOpsJourney
      @DevOpsJourney  2 года назад

      Hello Riccardo. I think the best way would be to make a Python script that takes in the data and sends it to influxdb. Python is very powerful, you would be able to pull in data from a spreadsheet or from a users input and have python insert it into the database for you. It would require some learning of Python to make the script yourself.

  • @syedmuhammaddanish8511
    @syedmuhammaddanish8511 2 года назад

    Damn bro. You taught the whole course in a few minutes. That's pretty awesome content. Love it bro

    • @DevOpsJourney
      @DevOpsJourney  2 года назад

      Thank you! More to come in a week or so :)

  • @modx5534
    @modx5534 2 года назад

    Thank you so much for this tutorial. I was struggling a lot harder with inserting data via python into influxdb than I care to admit >.

  • @parsbytes
    @parsbytes 10 месяцев назад

    nice content bro

  • @xuxusito
    @xuxusito 3 года назад +2

    Does this also work with influxdb v2 or just 1.8? And how can I send data within C++?

    • @DevOpsJourney
      @DevOpsJourney  3 года назад +5

      This is actually for an older version of Influx unfortunatly..
      I will be doing a video on Influx 2.0 soon.

  • @JainmiahSk
    @JainmiahSk 2 года назад

    Hi, helpful video and thanks for it. I have a doubt if I'm having 500+ tickers (live data) continuously coming will this InfluxDB handle better? or is anything better available?

  • @danbam9018
    @danbam9018 Год назад

    is this possible if I want to send data using Can bus?

  • @eliassal1
    @eliassal1 3 года назад

    Hi,InfluxDB 2 has no DB concept anymore but Buckets. How code can be updated to write to bucket and not DB? Thanks in advance

    • @DevOpsJourney
      @DevOpsJourney  3 года назад

      In InfluxDB 2.0, if you log in and click data, it will give you the basics of how to use python, java etc. You can see in this video I quickly go over it. ruclips.net/video/-gF-Jsk85bQ/видео.html

    • @eliassal1
      @eliassal1 3 года назад

      @@DevOpsJourney So many thanks, I visited the python page but I need to upload a CSV file to influx, the 3 methods send data inline, any idea or piece of code as I am not a python expert

  • @andreavalentini956
    @andreavalentini956 3 года назад +1

    Thank you for this content!
    Unfortunately, when I try to connect with the InfluxDB database, I have this error : influxdb.exceptions.InfluxDBClientError: 401: {"code":"unauthorized","message":"Unauthorized"}
    I checked that the username and the password in the docker-compose.yml file and in the InfluxDBClient object are the same, but I can't figure out why I still have this message.
    Would you have any suggestion to solve this issue ?

    • @saahasburicha3614
      @saahasburicha3614 3 года назад +1

      same, have you figured it out?

    • @DevOpsJourney
      @DevOpsJourney  3 года назад +1

      problem is in the docker-compose file. I used influxdb:latest - now influxdb updated to 2.0 so authentication changed.
      I've corrected the docker-compose file on github. I now use image: influxdb:1.8. If you use my latest docker-compose file on github it should fix your problem

    • @DevOpsJourney
      @DevOpsJourney  3 года назад +1

      I have fixed the docker-compose file. Should work now!

    • @bw7112
      @bw7112 3 года назад +5

      @@DevOpsJourney will you record another video of Influxdb 2.0?

  • @nv3796
    @nv3796 2 года назад +1

    Is it different for InfluxDB 2.0?

    • @DevOpsJourney
      @DevOpsJourney  2 года назад

      yes InfluxDB 2.0 has differences on how you send data. I believe I have a video on it.

  • @dharmaputra7394
    @dharmaputra7394 3 года назад +1

    Request Tutorial gitlab ci

  • @DevOpsJourney
    @DevOpsJourney  3 года назад

    If you haven't already, checkout my video on InfluxDB! ruclips.net/video/Vq4cDIdz_M8/видео.html