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

Add timestamp_differ processor #242

Merged
merged 23 commits into from
Dec 9, 2022
Merged

Conversation

dtrai2
Copy link
Collaborator

@dtrai2 dtrai2 commented Dec 5, 2022

This pull requests adds a new timestamp_differ processor which can calculate the time delta between two timestamps. The respective timestamp format can be specified each.

@dtrai2 dtrai2 added the enhancement New feature or request label Dec 5, 2022
@codecov-commenter
Copy link

codecov-commenter commented Dec 6, 2022

Codecov Report

Base: 90.05% // Head: 90.25% // Increases project coverage by +0.20% 🎉

Coverage data is based on head (8b2b0f7) compared to base (d0f1b08).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #242      +/-   ##
==========================================
+ Coverage   90.05%   90.25%   +0.20%     
==========================================
  Files         111      113       +2     
  Lines        7458     7512      +54     
==========================================
+ Hits         6716     6780      +64     
+ Misses        742      732      -10     
Impacted Files Coverage Δ
logprep/abc/processor.py 100.00% <100.00%> (+0.78%) ⬆️
logprep/processor/calculator/processor.py 100.00% <100.00%> (ø)
logprep/processor/calculator/rule.py 100.00% <100.00%> (ø)
logprep/processor/timestamp_differ/processor.py 100.00% <100.00%> (ø)
logprep/processor/timestamp_differ/rule.py 100.00% <100.00%> (ø)
logprep/registry.py 100.00% <100.00%> (ø)
logprep/_version.py 39.71% <0.00%> (+2.53%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dtrai2 dtrai2 changed the title Add timestamp differ processor Add timestamp_differ processor Dec 6, 2022
@dtrai2 dtrai2 requested a review from ekneg54 December 6, 2022 10:15
@dtrai2 dtrai2 marked this pull request as ready for review December 6, 2022 10:15
@dtrai2 dtrai2 requested a review from ekneg54 December 8, 2022 09:54
@dtrai2 dtrai2 force-pushed the dev-add-timestamp-differ-processor branch from f800406 to 8b2b0f7 Compare December 8, 2022 11:53
- Fix also doc string timestamp format token
logprep/abc/processor.py Outdated Show resolved Hide resolved
logprep/processor/timestamp_differ/processor.py Outdated Show resolved Hide resolved
logprep/processor/timestamp_differ/processor.py Outdated Show resolved Hide resolved
logprep/processor/timestamp_differ/rule.py Show resolved Hide resolved
@dtrai2 dtrai2 requested a review from ekneg54 December 9, 2022 08:44
@ekneg54 ekneg54 merged commit dc46e33 into main Dec 9, 2022
@ekneg54 ekneg54 deleted the dev-add-timestamp-differ-processor branch March 10, 2023 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants