This is how the entire process works:
- We have created the Azure Function using the default Delete repeated word
- We have configured the following keys in the Application Settings of the Azure Function app:
- AI's Instrumentation Key
- The application ID
- The API access key
- The Azure Function runtime will automatically consume the AI API, run the custom query to retrieve the required metrics, and perform the required operations of feeding the derived telemetry data to AI.
- Once everything in the Azure Function is configured, we develop a simple query that pulls the request count of the last 1 hour and feed ir to the AI as a custom derived metric. This process repeats every 1 hour.
- Later, we configure a new report using Metrics ...