Skip to content

Commit

Permalink
labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed Nov 14, 2023
1 parent a4be332 commit 8b88a68
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ public class FireflyMetricsImpl extends EndpointMetricsImpl implements FireflyMe

public FireflyMetricsImpl(Digest context, MetricRegistry registry) {
super(registry);
inboundGateway = registry.histogram(name(context.shortString(), "ff.gateway.inbound"));
inboundJoin = registry.histogram(name(context.shortString(), "ff.join.inbound"));
inboundGateway = registry.histogram(name(context.shortString(), "ff.gateway.inbound.bytes"));
inboundJoin = registry.histogram(name(context.shortString(), "ff.join.inbound.bytes"));
inboundJoinDuration = registry.timer(name(context.shortString(), "ff.join.inbound.duration"));
inboundSeedDuration = registry.timer(name(context.shortString(), "ff.seed.inbound.duration"));
outboundJoin = registry.histogram(name(context.shortString(), "ff.join.outbound"));
outboundJoin = registry.histogram(name(context.shortString(), "ff.join.outbound.bytes"));
joinDuration = registry.timer(name(context.shortString(), "ff.join.duration"));
outboundGateway = registry.histogram(name(context.shortString(), "ff.gateway.outbound"));
outboundRedirect = registry.histogram(name(context.shortString(), "ff.redirect.outbound"));
outboundGateway = registry.histogram(name(context.shortString(), "ff.gateway.outbound.bytes"));
outboundRedirect = registry.histogram(name(context.shortString(), "ff.redirect.outbound.bytes"));
outboundUpdateTimer = registry.timer(name(context.shortString(), "ff.update.outbound.duration"));
inboundUpdateTimer = registry.timer(name(context.shortString(), "ff.update.inbound.duration"));
outboundUpdate = registry.histogram(name(context.shortString(), "ff.update.outbound.bytes"));
Expand All @@ -74,11 +74,11 @@ public FireflyMetricsImpl(Digest context, MetricRegistry registry) {
joining = registry.meter(name(context.shortString(), "ff.joining"));
leaving = registry.meter(name(context.shortString(), "ff.leaving"));
filteredNotes = registry.meter(name(context.shortString(), "ff.gossip.notes.filtered"));
inboundRedirect = registry.histogram(name(context.shortString(), "ff.redirect.inbound"));
outboundSeed = registry.histogram(name(context.shortString(), "ff.seed.outbound"));
inboundRedirect = registry.histogram(name(context.shortString(), "ff.redirect.inbound.bytes"));
outboundSeed = registry.histogram(name(context.shortString(), "ff.seed.outbound.bytes"));
seedDuration = registry.timer(name(context.shortString(), "ff.seed.duration"));
shunnedGossip = registry.meter(name(context.shortString(), "ff.gossip.shunned"));
inboundSeed = registry.histogram(name(context.shortString(), "ff.seed.inbound"));
inboundSeed = registry.histogram(name(context.shortString(), "ff.seed.inbound.bytes"));
viewChanges = registry.meter(name(context.shortString(), "ff.view.change"));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
*/
public interface EndpointMetrics {

String INBOUND_BANDWIDTH = "bandwidth.inbound";
String OUTBOUND_BANDWIDTH = "bandwidth.outbound";
String INBOUND_BANDWIDTH = "bandwidth.inbound.bytes";
String OUTBOUND_BANDWIDTH = "bandwidth.outbound.bytes";

Meter inboundBandwidth();

Expand Down

0 comments on commit 8b88a68

Please sign in to comment.