Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DB-9-8] Implement writes, events and bytes metrics. #4220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

YoEight
Copy link
Member

@YoEight YoEight commented Apr 6, 2024

Added: Implement writes, events and bytes metrics.

A better commit message would be that PR is tracking how many append stream commands, events and bytes the current leader of the cluster is dealing with.

@cdevarenne
Copy link
Contributor

DB-747

@thefringeninja
Copy link
Contributor

I am not sure about the naming but the rest looks good to me

@@ -85,6 +88,9 @@ public static class MetricsBootstrapper {
var queueBusyMetric = new AverageMetric(coreMeter, "eventstore-queue-busy", "seconds", label => new("queue", label));
var byteMetric = new CounterMetric(coreMeter, "eventstore-io", unit: "bytes");
var eventMetric = new CounterMetric(coreMeter, "eventstore-io", unit: "events");
var writesMetric = new CounterMetric(coreMeter, "eventstore-io", unit: "writes");
var writtenBytesMetric = new CounterMetric(coreMeter, "eventstore-io", unit: "bytes");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this going to work? it has the same name as two lines above it

@thefringeninja thefringeninja self-requested a review April 11, 2024 15:34
@hayley-jean hayley-jean changed the title Implement writes, events and bytes metrics. [DB-9-8] Implement writes, events and bytes metrics. Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants