scalyr / scalyr-agent-2

The source code for Scalyr Agent 2, the daemon process Scalyr customers run on their servers to collect metrics and logs.
Apache License 2.0
70 stars 60 forks source link

DTIN-2346: Set monitor attribute when message_log_template is used #1236

Closed jmakar-s1 closed 7 months ago

github-actions[bot] commented 7 months ago

Test Results

     20 files  ±0       20 suites  ±0   31m 58s :stopwatch: -9s 1 477 tests ±0  1 457 :heavy_check_mark: ±0    20 :zzz: ±0  0 :x: ±0  7 060 runs  ±0  6 835 :heavy_check_mark: ±0  225 :zzz: ±0  0 :x: ±0 

Results for commit 622bf312. ± Comparison against base commit 9aed9f1d.

:recycle: This comment has been updated with latest results.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9aed9f1) 81.53% compared to head (622bf31) 81.51%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/scalyr/scalyr-agent-2/pull/1236/graphs/tree.svg?width=650&height=150&src=pr&token=KrvyP8n7be&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scalyr)](https://app.codecov.io/gh/scalyr/scalyr-agent-2/pull/1236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scalyr) ```diff @@ Coverage Diff @@ ## master #1236 +/- ## ========================================== - Coverage 81.53% 81.51% -0.02% ========================================== Files 176 176 Lines 42564 42565 +1 Branches 4749 4749 ========================================== - Hits 34703 34694 -9 - Misses 6629 6641 +12 + Partials 1232 1230 -2 ``` | [Files](https://app.codecov.io/gh/scalyr/scalyr-agent-2/pull/1236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scalyr) | Coverage Δ | | |---|---|---| | [scalyr\_agent/builtin\_monitors/syslog\_monitor.py](https://app.codecov.io/gh/scalyr/scalyr-agent-2/pull/1236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scalyr#diff-c2NhbHlyX2FnZW50L2J1aWx0aW5fbW9uaXRvcnMvc3lzbG9nX21vbml0b3IucHk=) | `76.57% <100.00%> (+0.03%)` | :arrow_up: | | [...ests/unit/builtin\_monitors/syslog\_template\_test.py](https://app.codecov.io/gh/scalyr/scalyr-agent-2/pull/1236?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scalyr#diff-dGVzdHMvdW5pdC9idWlsdGluX21vbml0b3JzL3N5c2xvZ190ZW1wbGF0ZV90ZXN0LnB5) | `90.75% <ø> (ø)` | | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/scalyr/scalyr-agent-2/pull/1236/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scalyr)
alesnovak-s1 commented 7 months ago

@jmakar-s1 Approving and merging.