Coder Social home page Coder Social logo

Comments (4)

ulikl avatar ulikl commented on June 1, 2024 1

Hi @hagen1778
thank you very much, the request error is shown now immediately.

...
Found 5 timeseries to import. Continue? [Y/n] Y
2020/08/05 09:37:32 Import process failed:
test1_value{id="1",x="2",db="migtest"} for timestamps range 1595578136075 - 1595578136075
test2_w{id="1",x="2",db="migtest"} for timestamps range 1595578161760 - 1595578161760
test_influxline_field2{tag1="value1",tag2="value2",db="migtest"} for timestamps range 1593184 - 1593184
 with error: import request error for "http://127.0.0.1:8428": unexpected response code 401:

from vmctl.

hagen1778 avatar hagen1778 commented on June 1, 2024

Hello @ulikl!
Have you tried following flags:

./vmctl influx --help | grep basic
   --vm-user value         VictoriaMetrics username for basic auth [$VM_USERNAME]
   --vm-password value     VictoriaMetrics password for basic auth [$VM_PASSWORD]

from vmctl.

ulikl avatar ulikl commented on June 1, 2024

@hagen1778 , thanks for the hint. I have I overlooked these options. This works fine.

But the missing error message is really confusing.
Could you improve the error handling?

from vmctl.

hagen1778 avatar hagen1778 commented on June 1, 2024

Right! The errors are usually processed and returned to user during the import. In current case the number of series was so small that it "fit" the importer buffers and process exited before reading it. In commit 36b96a8 this issue should be addressed.
Thanks for reporting!

from vmctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.