HarperFast / HarperFast/prometheus-exporter

replication_backlog_time not reporting a zero value when node has no writes to send

Open
#40 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce:

1. Setup a Harper cluster w/ this plugin enabled
1. Scrape prometheus metrics from this plugin's endpoint

Expected:

With no more writes to replicate, `replication_backlog_time` should be reported as `0`.

Observed:

`replication_backlog_time` is > 0.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.