Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upExpose commit (aka private bytes) metric for a function app through MDM #726
Comments
paulbatum
added
the
metrics
label
Apr 4, 2018
This comment has been minimized.
This comment has been minimized.
@nimakms for monitoring |
ColbyTresness
added this to the Active Questions milestone
Dec 4, 2018
ColbyTresness
assigned
nimakms
Dec 4, 2018
This comment has been minimized.
This comment has been minimized.
@ColbyTresness Yes its relevant. Not sure why you put this in the active questions milestone. It describes a known platform gap. |
This comment has been minimized.
This comment has been minimized.
Will move to backlog. |
ColbyTresness
modified the milestones:
Active Questions,
Backlog
Dec 4, 2018
paulbatum
added
the
Blocked
label
Dec 5, 2018
This comment has been minimized.
This comment has been minimized.
Actually, I just realized that functions V2 is completely missing performance counters (I just filed Azure/azure-functions-host#3852 to track). So I have marked this as blocked. We'd need to resolve that first. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
paulbatum commentedMar 20, 2018
•
edited
GB-sec usage for a consumption function app is calculated based on how long a function runs for and how much memory was consumed by the sandbox during that time. Specifically, commit / private bytes. This memory usage is limited to 1.5GB per instance.
Ideally, the commit for the process would be captured as a metric and exposed through MDM. This would allow customers to gain an understanding of their memory usage and to create alerts. The latter capability is particularly useful when you consider that the runtime will start throwing OutOfMemoryExceptions once these limits are hit. These exceptions are hard to handle gracefully and some customers would prefer to be notified through these alerts so they can take action in their code/config to reduce the memory footprint of their function app.
By making this metric available through MDM, it would be browsable from the Monitor->Metrics UX in the azure portal.