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

No metrics for WebApps slots #27

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

No metrics for WebApps slots #27

gothvf opened this issue Jan 16, 2018 · 6 comments

Comments

@gothvf
Copy link

gothvf commented Jan 16, 2018

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

@gothvf
Copy link
Author

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
Copy link

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
Copy link

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

@DeV1L
Copy link

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
Copy link
Contributor

This fix is released in version 0.1.2.

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

4 participants