Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

log analytics cost exceeds the cost of the VMs #173

Closed
Sinderella opened this issue Oct 19, 2020 · 3 comments
Closed

log analytics cost exceeds the cost of the VMs #173

Sinderella opened this issue Oct 19, 2020 · 3 comments

Comments

@Sinderella
Copy link

Information

  • Onefuzz version: 1.3.1
  • OS: Ubuntu 20.04 docker container on macOS

Details

I followed the instructions in the Getting Started guide and it turns out that the log analytics cost exceeds the cost of the VMs after running for 24 hours as shown below:
image

I am not sure if this is expected, but I don't think it is great having to pay for logs much more than the computational cost itself. My rough understanding is that the agent is reporting everything in realtime which would produce a huge amount of logs to process. Would it be possible to somehow reduce the logging cost by introducing some delays between reports?

To me, realtime stats are good when we're fuzzing something that requires monitoring to improve our harnesses and corpus. However, there are cases that we need to run it for days if not weeks where we don't expect any crash to occur, just use it as some kind of a baseline. Logging too much would create some unnecessary cost.

@bmc-msft
Copy link
Contributor

We're working on a number of changes that will reduce logging. Some of which have already been merged (See #175, #170, #160, #159).

We will continue to streamline how much data is logged in the future.

@bmc-msft
Copy link
Contributor

With 1.3.0, I saw a similar ratio to what you identified.

With 1.3.2, I get the following:

image

@bmc-msft
Copy link
Contributor

1.4.0 implemented service level application insights sampling after 20 events per second. With these issues, I consider this issue resolved. If this issue persists for you after upgrading to 1.4.00 or later, please re-open this issue.

@ghost ghost locked as resolved and limited conversation to collaborators Nov 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants