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

Insights - Web App - /metrics Behavior Different depending on Service Plan #2333

Closed
solvingj opened this issue Sep 8, 2016 · 1 comment
Closed

Comments

@solvingj
Copy link

solvingj commented Sep 8, 2016

I just want to bring this up for possible confirmation, and posterity. If someone can confirm that it is true, then perhaps the information could make it into the documentation for web app plans.

It appears that the if a web app is using a free subscription (F1 or D1), then the /metrics endpoint always returns an empty array of values. I can understand if the policy is that the free plans don't collect metrics, and therefor cannot be monitored via API (It will disappoint many, but I can understand).

However, there's a bit of a corner case which behaves unexpectedly. It seems that even if I change the service plan for a Web App from a Free to a Standard plan (S1 small), the metrics do not begin collecting accordingly. I cannot add them to graphs in the portal, and the API continues to return empty arrays. I waited several hours, and also stopped/started. It looks like Apps created as free can never have the metrics collected.

I did perform any testing with Basic plans to see how they behave.

It's worth noting that /metricDefintions always returns the full list of metrics showing the normal availabilities, regardless of plan. It's just that values will never be collected for them.

@solvingj
Copy link
Author

solvingj commented Sep 9, 2016

I just performed a test again. Taking a free plan and upgrading it did cause the metrics to adjust accordingly after some time (I'm not sure how long). With another app, I had to stop and start the APP for the new metrics to appear. There were a number of variables in previous tests, perhaps I missed one.

I'm closing ticket because the metrics do appear for apps that are upgraded. However, hopefully someone takes note that Free plans do not get metrics, and documents it in the plan details.

As a side note, the basic plan does appear to record metrics.

@solvingj solvingj closed this as completed Sep 9, 2016
openapi-sdkautomation-test bot pushed a commit to openapi-env-test/azure-sdk-for-net that referenced this issue Apr 15, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Mar 29, 2023
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

1 participant