Skip to content

Commit 9249df2

Browse files
Merge pull request #256464 from samsadsam/main
Add hit count concept in our logging docs
2 parents 35e9e43 + d3c6b89 commit 9249df2

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

articles/azure-app-configuration/monitor-app-configuration-reference.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ App Configuration uses the [AACHttpRequest Table](/azure/azure-monitor/refere
7575
|Category |string |The log category of the event, always HttpRequest.
7676
|ClientIPAddress | string| IP Address of the client that sent the request.
7777
|ClientRequestId| string| Request ID provided by client.
78-
|CorrelationId| string| GUID for correlated logs.
78+
|CorrelationId| string| An ID provided by the client to correlate multiple requests.
7979
|DurationMs| int |The duration of the operation in milliseconds.
80+
|HitCount| int |The number of requests that the record is associated with.
8081
|Method string| HTTP| Http request method (get or post)
8182
|RequestId| string| Unique request ID generated by server.
8283
|RequestLength| int |Length in bytes of the HTTP request.

articles/azure-app-configuration/monitor-app-configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,15 @@ Following are sample queries that you can use to help you monitor your App Confi
149149
```Kusto
150150
   AACHttpRequest
151151
| where TimeGenerated > ago(3d)
152-
| summarize requestCount= count() by ClientIPAddress
152+
| summarize requestCount=sum(HitCount) by ClientIPAddress
153153
| order by requestCount desc
154154
```
155155
156156
* Create a pie chart of the types of status codes received in the last three days
157157
```Kusto
158158
   AACHttpRequest
159159
| where TimeGenerated > ago(3d)
160-
| summarize requestCount=count() by StatusCode
160+
| summarize requestCount=sum(HitCount) by StatusCode
161161
| order by requestCount desc
162162
| render piechart
163163
```
@@ -167,7 +167,7 @@ Following are sample queries that you can use to help you monitor your App Confi
167167
AACHttpRequest
168168
| where TimeGenerated > ago(14d)
169169
| extend Day = startofday(TimeGenerated)
170-
| summarize requestcount=count() by Day
170+
| summarize requestcount=sum(HitCount) by Day
171171
| order by Day desc
172172
```
173173
@@ -178,7 +178,7 @@ The following table lists common and recommended alert rules for App C
178178
179179
| Alert type | Condition | Description  |
180180
|:---|:---|:---|
181-
|Rate Limit on Http Requests | Status Code = 429  | The configuration store has exceeded the [hourly request quota](./faq.yml#are-there-any-limits-on-the-number-of-requests-made-to-app-configuration). Upgrade to a standard store or follow the [best practices](./howto-best-practices.md#reduce-requests-made-to-app-configuration) to optimize your usage. |
181+
|Request quota usage exceeded | RequestQuotaUsage >= 100 | The configuration store has exceeded the [request quota usage](./faq.yml#are-there-any-limits-on-the-number-of-requests-made-to-app-configuration). Upgrade to a standard tier store or follow the [best practices](./howto-best-practices.md#reduce-requests-made-to-app-configuration) to optimize your usage. |
182182
183183
184184

0 commit comments

Comments
 (0)