Search code examples
azureazure-data-factoryazure-monitoring

Azure Monitor unable to read Data Factory Self Hosted IntegrationRuntime (SHIR) metrics


I'm trying to add some alerts using Azure Monitor to notify me if the Self Hosted Integration Runtime (SHIR) of my data factory is offline or not running for some reason. Azure Monitor provides 5 metrics related to Data Factory Integration Runtime

Available Integration Runtime signals

My problem is that Azure Monitor doesn't seem to be able to read any of these signals. I get a null or 0 reading if I select any of these signals/metrics. Is there any special permission that Azure Monitor needs to be able to read these metrics from the SHIR? If I select any pipeline related metrics, those are being shown alright.

For example, I select the IR Available Memory signal and it shows me a 0 value even when I can actually see the Available Memory in the SHIR details inside the Data factory.

enter image description here enter image description here


Solution

  • For a data factory to read the metrics of a SHIR, the subtype of the SHIR has to be Shared. If the SHIR is shared on a different data factory and if the metrics are tried to be read from over there, the subtype says Linked and will not provide any metrics.

    enter image description here