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

chore: addressed nits #111

Merged
merged 3 commits into from
Oct 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/utils/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ export const blockHeight = new client.Gauge({

export const reorgDepth = new client.Gauge({
name: "watch_tower_latest_reorg_depth",
help: "Depth of the last reorg",
help: "Depth of the most recent reorg",
labelNames: ["chain_id"],
});

export const blockProducingRate = new client.Gauge({
name: "watch_tower_block_producing_rate_seconds",
name: "watch_tower_block_production_seconds",
help: "Time since last block",
labelNames: ["chain_id"],
});

export const eventsProcessedTotal = new client.Counter({
name: "watch_tower_order_creation_events_total",
help: "Total number of conditional order creation events processed",
name: "watch_tower_order_mutation_events_total",
help: "Total number of events for conditional order creation or Merkle root update (ConditionalOrderCreated and MerkleRootSet respectively)",
labelNames: ["chain_id"],
});

Expand Down