Skip to content

Add a replication log analysis tool for performance monitoring #6465

Description

@droideck

Description
Add a new ReplicationLogAnalyzer class and supporting infrastructure to analyze replication performance across multiple servers. The tool parses replication logs, tracks CSNs, calculates lag times, and generates comprehensive reports in multiple formats including interactive HTML visualizations.
Additionally, add CLI and UI implementations.

Implementation References
Base implementation can be adapted from: https://github.com/droideck/ansible-ds389-repl-monitoring/tree/main/roles/ds389_repl_monitoring/library

Activity

  1. droideck commented on Jan 29, 2025

    @droideck
    MemberAuthor

    82fe212..b55f3b2 389-ds-base-3.0 -> 389-ds-base-3.0
    9e4890b..682de45 389-ds-base-2.6 -> 389-ds-base-2.6

  2. vashirov commented on Jan 29, 2025

    @vashirov
    Member

    I tried updating nightly in my VM and was a bit surprised with the amount of dependencies:

    Transaction Summary:
     Installing:       764 packages
     Upgrading:          3 packages
     Replacing:          3 packages
    
    Total size of inbound packages is 536 MiB. Need to download 536 MiB.
    After this operation, 2 GiB extra will be used (install 2 GiB, remove 21 MiB).
    

    I retried with

    dnf --setopt=install_weak_deps=False update 389-ds-base
    

    Still:

    Transaction Summary:
     Installing:        47 packages
     Upgrading:         12 packages
     Replacing:         12 packages
    
    Total size of inbound packages is 98 MiB. Need to download 98 MiB.
    After this operation, 336 MiB extra will be used (install 462 MiB, remove 126 MiB).
    

    Apparently lib389 still requires numpy, plotly and matplotlib because of the imports, even though we used Recommends in the spec file:

    # rpm -q --requires python3-lib389
    /usr/bin/python3
    389-ds-base = 3.1.2.202501290613git7daee1846-1.fc41
    iproute
    openssl
    openssl-perl
    python(abi) = 3.13
    python3
    python3-argcomplete
    python3-cryptography
    python3-dateutil
    python3-distro
    python3-ldap
    python3-libselinux
    python3-pyasn1
    python3-pyasn1-modules
    python3-pytest
    python3-setuptools
    python3.13dist(argcomplete)
    python3.13dist(cryptography)
    python3.13dist(distro)
    python3.13dist(matplotlib)
    python3.13dist(numpy)
    python3.13dist(plotly)
    python3.13dist(pyasn1)
    python3.13dist(pyasn1-modules)
    python3.13dist(python-dateutil)
    python3.13dist(python-ldap)
    python3.13dist(setuptools)
    rpmlib(CompressedFileNames) <= 3.0.4-1
    rpmlib(FileDigests) <= 4.6.0-1
    rpmlib(PartialHardlinkSets) <= 4.0.4-1
    rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    rpmlib(PayloadIsZstd) <= 5.4.18-1
    

    @droideck Do you think we can split it in a separate package?

  3. droideck commented on Jan 29, 2025

    @droideck
    MemberAuthor

    @droideck Do you think we can split it in a separate package?

    Yeah, I think it is the best option. I'll create PR.
    Thanks for the investigation!

  4. droideck commented on Jan 31, 2025

    @droideck
    MemberAuthor

    4790bfe..71b4caa 389-ds-base-3.0 -> 389-ds-base-3.0
    a3d58dc..9edf4e9 389-ds-base-2.6 -> 389-ds-base-2.6

  5. droideck commented on Apr 8, 2025

    @droideck
    MemberAuthor

    5cbf84d..68238c9 389-ds-base-3.0 -> 389-ds-base-3.0
    7143048..1121032 389-ds-base-2.6 -> 389-ds-base-2.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThe issue will be triaged during scrum

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions