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

Make logrotate_fs a generator #1066

Merged
merged 9 commits into from
Oct 29, 2024
Merged

Make logrotate_fs a generator #1066

merged 9 commits into from
Oct 29, 2024

Commits on Oct 29, 2024

  1. Make logrotate_fs a generator

    This commit migrates logrotate_fs to be a generator and not a stand-alone
    binary. While I think it is interesting to consider logrotate_fs as a
    user defined generator that's more of a rig that needs to be developed than
    I would like to for this project.
    
    Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
    blt committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    95f40c8 View commit details
    Browse the repository at this point in the history
  2. correct tests

    Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
    blt committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    f92c433 View commit details
    Browse the repository at this point in the history
  3. add more telemetry

    Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
    blt committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    0b0ffbf View commit details
    Browse the repository at this point in the history
  4. correctly backfill new_file with bytes

    Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
    blt committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    41a7d7d View commit details
    Browse the repository at this point in the history
  5. track max_offset_observed not just bytes_read, duplicate reads

    Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
    blt committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    a2ff5bf View commit details
    Browse the repository at this point in the history
  6. add created time to file, address bytes written property check fail

    Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
    blt committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    acfa0da View commit details
    Browse the repository at this point in the history
  7. clippy fixes

    Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
    blt committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    f86d308 View commit details
    Browse the repository at this point in the history
  8. install necessary lib in main container

    Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
    blt committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    0735cf3 View commit details
    Browse the repository at this point in the history
  9. pin package version

    Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
    blt committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    18ee493 View commit details
    Browse the repository at this point in the history