Need to find the queue length and activities running in self hosted IR in Azure ADF

Pavan Kumar Chakilam 126 Reputation points
2023-10-23T21:41:59.4533333+00:00

Hi,

I need powershell script or any other way to find out the queue length and queue details of SHIR. Please help.

User's image

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,641 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA 90,651 Reputation points Moderator
    2023-10-25T10:08:50.33+00:00

    @Pavan Kumar Chakilam - Thanks for the question and using MS Q&A platform.

    Answer provided by Amira Bedhiafi doesn't gives you the integration runtime monitoring data using powershell.User's image

    Get-AzDataFactoryV2IntegrationRuntime cmdlet does not provide the queue length of a self-hosted integration runtime (SHIR) in Azure Data Factory (ADF). Here is the output of the cmdlet which doesn't provide details about the queue length. User's image

    To get the queue length and queue details of a SHIR, you can use the Azure Management REST API. Here's an example REST API that you can use:

    POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData?api-version=2018-06-01

    Get the integration runtime monitoring data, which includes the monitor data for all the nodes under this integration runtime.

    User's image

    For more details, refer to Integration Runtimes - Get Monitoring Data.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.