redis.replication.lag_bytes reports the slave offset, not the lag

XMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: None
    • Component/s: Templates (T)
    • None

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/db/redis/template_db_redis.yaml?at=release%2F7.4#2216-2226

      This code extracts and returns the slave's replication offset.

      The correct value for lag_bytes would be the difference between that and the master_repl_offset.

      As it stands, you just get a constantly-increasing value that's of no use.

            Assignee:
            Zabbix Support Team
            Reporter:
            James Howe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: