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

No metrics for WebApps slots #27

Closed
gothvf opened this Issue Jan 16, 2018 · 6 comments

Comments

Projects
None yet
4 participants
@gothvf

gothvf commented Jan 16, 2018

If you use webapps slots the metrics are not pulled (only the webapp is)

@gothvf

This comment has been minimized.

gothvf commented Jan 31, 2018

xhrStatus:"complete"
request:Object
method:"GET"
url:"api/datasources/proxy/7/azuremonitor/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/resourceGroups/xxxxxxxxxxxxxxxxxx/providers/Microsoft.Web/sites/slots/xxxxxxxxxxxxxxxxxxx/xxxxxxx/providers/microsoft.insights/metricdefinitions?api-version=2017-05-01-preview"
response:Object
error:Object
code:"ResourceNotFound"
message:"The Resource 'Microsoft.Web/sites/slots' under resource group 'xxxxxxxxxxxxxxxxxxxxx' was not found."

@nikos9742

This comment has been minimized.

nikos9742 commented Mar 23, 2018

Hi,
I'm very interested in solving that issue, if people can spend some time on IRC or Slack or email or whatever explaining me where i need to look to find how to solve the issue. I already know how to get the metric definitions for webapp slots in the Azure Monitor API and i think with some patching for that special cases we can solve that issue.

Who's with me on that ? @villekr ? @daniellee

@nikos9742

This comment has been minimized.

nikos9742 commented Mar 28, 2018

There is a PR #45 that solve this issue. Can you merge it to master ? @daniellee Thanks a lot

@DeV1L

This comment has been minimized.

DeV1L commented Mar 29, 2018

Still not works
[root@zbx-01 ~]# grafana-cli plugins ls | grep azure grafana-azure-monitor-datasource @ 0.1.1
image

@daniellee daniellee closed this in 1698a5b Aug 21, 2018

@daniellee

This comment has been minimized.

Member

daniellee commented Aug 21, 2018

This fix is released in version 0.1.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment