Giter VIP home page Giter VIP logo

Comments (10)

Foxsa avatar Foxsa commented on June 12, 2024 1

tested on 5.4.0 and 2.4.1

from elasticsearch_exporter.

Foxsa avatar Foxsa commented on June 12, 2024

+1

2017/06/15 09:44:51 Starting Server: :9108
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x59fb4d]

goroutine 21 [running]:
panic(0x8931e0, 0xc820012080)
	/usr/lib/go-1.6/src/runtime/panic.go:481 +0x3e6
github.com/justwatchcom/elasticsearch_exporter/vendor/github.com/prometheus/client_golang/prometheus.(*CounterVec).WithLabelValues(0x0, 0xc820228a88, 0x2, 0x2, 0x0, 0x0)
	/home/asavin/golang/src/github.com/justwatchcom/elasticsearch_exporter/vendor/github.com/prometheus/client_golang/prometheus/counter.go:139 +0xbd
main.(*Exporter).Collect(0xc820084580, 0xc82000eba0)
	/home/asavin/golang/src/github.com/justwatchcom/elasticsearch_exporter/exporter.go:471 +0x5805
github.com/justwatchcom/elasticsearch_exporter/vendor/github.com/prometheus/client_golang/prometheus.(*registry).writePB.func2(0xc820131240, 0xc82000eba0, 0x7f5860df8c98, 0xc820084580)
	/home/asavin/golang/src/github.com/justwatchcom/elasticsearch_exporter/vendor/github.com/prometheus/client_golang/prometheus/registry.go:420 +0x58
created by github.com/justwatchcom/elasticsearch_exporter/vendor/github.com/prometheus/client_golang/prometheus.(*registry).writePB
	/home/asavin/golang/src/github.com/justwatchcom/elasticsearch_exporter/vendor/github.com/prometheus/client_golang/prometheus/registry.go:421 +0x34d

from elasticsearch_exporter.

dominikschulz avatar dominikschulz commented on June 12, 2024

Which ES versions are you using? Couldn't reproduce with ES 5.4.1.

from elasticsearch_exporter.

Electronn avatar Electronn commented on June 12, 2024

2.4.5 , 5.4.1

from elasticsearch_exporter.

dominikschulz avatar dominikschulz commented on June 12, 2024

Hmm, will need some more time to investigate ...

from elasticsearch_exporter.

Electronn avatar Electronn commented on June 12, 2024

Also tested on 4 different servers ( exporters ) with various hardware.

from elasticsearch_exporter.

dominikschulz avatar dominikschulz commented on June 12, 2024

Thank you, I do not doubt there is a bug somewhere, only I couldn't reproduce it in my (very brief) first tests.

We're using this exporter in production, and it's very important to us, so we'll definitely try to fix this soon.

Unfortunately no ETA, sorry.

from elasticsearch_exporter.

dominikschulz avatar dominikschulz commented on June 12, 2024

Can you please check if the issue is gone with 0.3.3? Works for us (but 0.3.1 also did ...)

from elasticsearch_exporter.

Foxsa avatar Foxsa commented on June 12, 2024

It works for me now! Thanks!

from elasticsearch_exporter.

dominikschulz avatar dominikschulz commented on June 12, 2024

In case you have any trouble with the current 1.0.0-rc1 or later, please open another issue.

from elasticsearch_exporter.

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.