Skip to content

Commit

Permalink
cr
Browse files Browse the repository at this point in the history
  • Loading branch information
torywheelwright committed Apr 3, 2024
1 parent 21ab5db commit 3bd6e12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/oplog/tail.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ var (
Namespace: "otr",
Subsystem: "oplog",
Name: "last_entry_staleness",
Help: "Guage recording the difference between this server's clock and the timestamp on the last read oplog entry. This measure is confounded by the usual clock skew.",
Help: "Gauge recording the difference between this server's clock and the timestamp on the last read oplog entry.",
})
)

Expand Down
4 changes: 2 additions & 2 deletions lib/redispub/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ var metricTemporaryFailures = promauto.NewCounter(prometheus.CounterOpts{
var metricLastCommandDuration = promauto.NewGauge(prometheus.GaugeOpts{
Namespace: "otr",
Subsystem: "redispub",
Name: "last_command_duration",
Help: "Number of failures encountered when trying to send a message. We automatically retry, and only register a permanent failure (in otr_redispub_processed_messages) after 30 failures.",
Name: "last_command_duration_seconds",
Help: "The round trip time in seconds of the most recent write to Redis.",
})

// PublishStream reads Publications from the given channel and publishes them
Expand Down

0 comments on commit 3bd6e12

Please sign in to comment.