Git Product home page Git Product logo

Comments (6)

marcinbudny avatar marcinbudny commented on June 30, 2024

Hi Frank,

Since version 0.11.0, the exporter uses the ESDB golang client for some of the operations. It is possible that a memory leak was introduced with this change.

Please provide me with additional details:

  • what is the exact configuration of the exporter you're using (e.g. do you use stream and subscription statistics)?
  • what version of ESDB you're using and do you run it in a cluster?
  • other than memory leak, is the exporter functioning correctly and returning metrics as expected?
  • are there any errors logged

from eventstore_exporter.

frankhetterich avatar frankhetterich commented on June 30, 2024

Please provide me with additional details:

  • what is the exact configuration of the exporter you're using (e.g. do you use stream and subscription statistics)?

I think it´s the default config, no special modifications

clusterMode=single enableParkedMessagesStats=false eventStorePassword="**REDACTED**" eventStoreURL="http://**************" eventStoreUser=***** insecureSkipVerify=true port=9448 timeout=20s verbose=true

  • what version of ESDB you're using and do you run it in a cluster?

We´re running different Versions of Eventstore 20.6 and 20.10. The instances are running as single but also as cluster (depends on the environment)

  • other than memory leak, is the exporter functioning correctly and returning metrics as expected?

Everything is running fine, all metrics are available in the Grafana Dashboards

  • are there any errors logged

I couldnt find any errors in the container logs

from eventstore_exporter.

marcinbudny avatar marcinbudny commented on June 30, 2024

Probable culprit: EventStore/EventStore-Client-Go#113

from eventstore_exporter.

marcinbudny avatar marcinbudny commented on June 30, 2024

I released version v0.12.1 which should not leak memory in your configuration. With v0.12.1, ESDB go client is not created if both parked message stats and stream stats are disabled.

Waiting for a reply from ESDB go client team to apply a proper fix.

from eventstore_exporter.

frankhetterich avatar frankhetterich commented on June 30, 2024

Deployed V0.12.1 this morning. Memory consumption looks good so far.

Thanks for the quick fix

from eventstore_exporter.

marcinbudny avatar marcinbudny commented on June 30, 2024

The v0.12.2 release uses the latest ESDB client version that fixed the memory leak. It looks good in my tests. Let me know if you experience any further issues.

from eventstore_exporter.

Related Issues (19)

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.