Git Product home page Git Product logo

Comments (3)

n-tyulenev avatar n-tyulenev commented on August 16, 2024 1

Hi, It would be great if there will be list of the subscriptions with stream and group names, number of totalItemsProcessed,totalInFlightMessages, averageItemsPerSecond, count of the opened connections and count of the parked messages (if exists). The latter can be obtained if go via link contained in attribute "parkedMessageUri" (If there's no messages it will return 404).
For an example fragment of the returned json from http://*:2113/subscriptions:
[ {
"links": [
{
"href": "http://localhost:2113/subscriptions/request/test/info",
"rel": "detail"
}
],
"eventStreamId": "request",
"groupName": "test",
"parkedMessageUri": "http://localhost:2113/streams/%24persistentsubscription-request::test-parked",
"getMessagesUri": "http://localhost:2113/subscriptions/request/test/1",
"status": "Live",
"averageItemsPerSecond": 0.0,
"totalItemsProcessed": 1,
"lastProcessedEventNumber": -1,
"lastKnownEventNumber": 0,
"connectionCount": 0,
"totalInFlightMessages": 0
},
....
]

from eventstore_exporter.

marcinbudny avatar marcinbudny commented on August 16, 2024

Hi. I can take a look at this in in a week or two. I don't personally use persistent subscriptions, so I'll have to come up with a test environment first. Any particular metrics you would like to see as a result?

from eventstore_exporter.

marcinbudny avatar marcinbudny commented on August 16, 2024

Version 0.4.0 now has metrics related to subscriptions. Items per second can be calculated from total items processed with rate function. I did not add metrics related to parked messages. This would require running expensive requests on the EventStore.

from eventstore_exporter.

Related Issues (17)

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.