Configure your Splunk Observability Cloud account to collect Azure OpenAI metrics
Learn how to configure your Splunk Observability Cloud account to collect Azure OpenAI metrics.
You can monitor the performance of Azure OpenAI applications by configuring your Azure OpenAI applications to send metrics to Splunk Observability Cloud. This solution creates a cloud connection in your Splunk Observability Cloud account that collects metrics from Azure application insights.
Complete the following steps to collect metrics from your Azure OpenAI applications.
Metrics and attributes
Learn about the available metrics for Azure OpenAI.
The following metrics and resource attributes are available for Azure OpenAI applications. These metrics fall under the default metric category.
| Metric name | Type | Unit | Description | Dimensions |
|---|---|---|---|---|
ProcessedPromptTokens | counter | count | The number of prompt tokens processed (input) on an OpenAI model. |
|
GeneratedTokens | counter | count | The number of tokens generated (output) on an OpenAI model. |
|
AzureOpenAIRequests | counter | count | The number of calls made to the Azure OpenAI service. |
|
AzureOpenAITimeToResponse | histogram | ms | The time taken for the first response to appear after the user sends a prompt. |
|
AzureOpenAIAvailabilityRate | gauge | percent | The availability percentage with the following calculation: (Total Calls - Server Errors)/Total Calls. Server Errors include any HTTP responses >=500. |
|
| gauge | count | The generation speed for a given Azure OpenAI model response. |
|
AzureOpenAIContextTokensCacheMatchRate | gauge | percent | The percentage of prompt tokens that hit the cache. |
|
Next steps
How to monitor your AI components after you set up Observability for AI.
After you set up data collection from supported AI components to Splunk Observability Cloud, the data populates built-in experiences that you can use to monitor and troubleshoot your AI components.
| Monitoring tool | Use this tool to | Link to documentation |
|---|---|---|
| Built-in navigators | Orient and explore different layers of your AI tech stack. | |
| Built-in dashboards | Assess service, endpoint, and system health at a glance. | |
| Splunk Application Performance Monitoring (APM) service map and trace view | View all of your LLM service dependency graphs and user interactions in the service map or trace view. |