Skip to content

Conversation

benank
Copy link
Contributor

@benank benank commented Jun 10, 2022

We don't have any markers to differentiate between the extension telemetry events coming from an auto assessment operation and any of the non auto assessment operations. With auto assessment running in regular intervals, we should consider adding some marker to differentiate between these logs for easier investigation. This PR adds some markers to differentiate between logs.

@codecov
Copy link

codecov bot commented Jun 10, 2022

Codecov Report

Merging #146 (4c7266a) into master (7e1c911) will increase coverage by 0.01%.
The diff coverage is 100.00%.

❗ Current head 4c7266a differs from pull request most recent head bbdb250. Consider uploading reports for the commit bbdb250 to get more accurate results

@@            Coverage Diff             @@
##           master     #146      +/-   ##
==========================================
+ Coverage   87.22%   87.24%   +0.01%     
==========================================
  Files          48       48              
  Lines        8354     8366      +12     
==========================================
+ Hits         7287     7299      +12     
  Misses       1067     1067              
Flag Coverage Δ
python27 86.08% <100.00%> (+0.02%) ⬆️
python39 87.20% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/core/src/CoreMain.py 96.34% <100.00%> (+0.04%) ⬆️
src/core/src/bootstrap/Constants.py 98.37% <100.00%> (+0.06%) ⬆️
src/core/src/service_interfaces/TelemetryWriter.py 79.83% <100.00%> (+0.33%) ⬆️
src/core/tests/Test_ConfigurePatchingProcessor.py 98.86% <100.00%> (ø)
src/core/tests/Test_CoreMain.py 99.85% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7e1c911...bbdb250. Read the comment docs.

@benank benank requested review from a team, kjohn-msft and rane-rajasi and removed request for a team June 10, 2022 23:27
# To separately preserve assessment + auto-assessment state information
ASSESSMENT_STATE_FILE = "AssessmentState.json"
AUTO_ASSESSMENT_MAXIMUM_DURATION = "PT1H"
MIN_AUTO_ASSESSMENT_INTERVAL = "PT6H" # do not perform auto-assessment if the last assessment happened less than this time interval ago
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these used in the code anywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet. Will be used in a future PR. Removed for now.

@benank benank merged commit bd98341 into master Jun 14, 2022
@benank benank deleted the bankiel-log-diff branch June 14, 2022 18:46
@benank benank mentioned this pull request Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants