Skip to content

Commit 16edbdc

Browse files
Merge pull request #311 from CodebreakerApp/295-aspire9features
Aspire 9.4 updates
2 parents bb90974 + 90d3b6b commit 16edbdc

15 files changed

Lines changed: 218 additions & 292 deletions

File tree

botmessage.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Sending messages with BotQ
2+
3+
With BotQ, this message can be sent to the queue to automatically play games:
4+
5+
```json
6+
{
7+
"Count": 3,
8+
"Delay": 3,
9+
"ThinkTime": 1
10+
}
11+
```

kql-queries.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# KQL
2+
3+
Resource group: codebreakerapp, Logs, do this query:
4+
5+
AppMetrics |
6+
where AppRoleInstance startswith "game" and Name startswith "codebreaker.game_moves"
7+
| make-series Games=any(Sum) default=0 on TimeGenerated from ago(4h) to now() step 10min by AppRoleInstance
8+
| render timechart
9+
10+
Application Insights
11+
12+
Metrics, select the scope of the subscription, App Insights
13+
14+
Select metrics for charts
15+
16+
Logs, select table traces
17+
18+
traces
19+
| where customDimensions.EventName == "Response" // application_Version startswith "botq"
20+
21+
custom metrics only available with app insights

src/Codebreaker.Backend.sln

Lines changed: 0 additions & 178 deletions
This file was deleted.

src/Codebreaker.Backend.slnx

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<Solution>
2+
<Folder Name="/bot/">
3+
<Project Path="services/bot/CodeBreaker.Bot.Tests/CodeBreaker.Bot.Tests.csproj" />
4+
<Project Path="services/bot/CodeBreaker.Bot/CodeBreaker.Bot.csproj" />
5+
<Project Path="services/bot/Codebreaker.BotQ/Codebreaker.BotQ.csproj" />
6+
</Folder>
7+
<Folder Name="/clients/">
8+
<Project Path="services/Codebreaker.Blazor/src/CodeBreaker.Blazor.Client/CodeBreaker.Blazor.Client.csproj" />
9+
<Project Path="services/Codebreaker.Blazor/src/CodeBreaker.Blazor.UI/CodeBreaker.Blazor.UI.csproj" />
10+
<Project Path="services/Codebreaker.Blazor/src/CodeBreaker.Blazor/CodeBreaker.Blazor.csproj" />
11+
</Folder>
12+
<Folder Name="/common/">
13+
<Project Path="services/common/Codebreaker.ServiceDefaults/Codebreaker.ServiceDefaults.csproj" />
14+
</Folder>
15+
<Folder Name="/gameapis/">
16+
<Project Path="services/gameapis/Codebreaker.CosmosCreate/Codebreaker.CosmosCreate.csproj" />
17+
<Project Path="services/gameapis/Codebreaker.GameAPIs.Playwright/Codebreaker.GameAPIs.Playwright.csproj" />
18+
<Project Path="services/gameapis/Codebreaker.GameAPIs.Tests/Codebreaker.GameAPIs.Tests.csproj" />
19+
<Project Path="services/gameapis/Codebreaker.GameAPIs/Codebreaker.GameAPIs.csproj" />
20+
<Project Path="services/gameapis/Codebreaker.IntegrationTests/Codebreaker.IntegrationTests.csproj" />
21+
<Project Path="services/gameapis/Codebreaker.SqlServerMigration/Codebreaker.SqlServerMigration.csproj" />
22+
</Folder>
23+
<Folder Name="/gateway/">
24+
<Project Path="services/gateway/Codebreaker.ApiGateway.Identities/Codebreaker.ApiGateway.Identities.Client/Codebreaker.ApiGateway.Identities.Client.csproj" />
25+
<Project Path="services/gateway/Codebreaker.ApiGateway.Identities/Codebreaker.ApiGateway.Identities/Codebreaker.ApiGateway.Identities.csproj" />
26+
<Project Path="services/gateway/Codebreaker.ApiGateway/Codebreaker.ApiGateway.csproj" />
27+
</Folder>
28+
<Folder Name="/host/">
29+
<Project Path="services/host/Codebreaker.AppHost/Codebreaker.AppHost.csproj" />
30+
</Folder>
31+
<Folder Name="/live/">
32+
<Project Path="services/live/Codebreaker.Live/Codebreaker.Live.csproj" />
33+
</Folder>
34+
<Folder Name="/ranking/">
35+
<Project Path="services/ranking/Codebreaker.Ranking/Codebreaker.Ranking.csproj" />
36+
</Folder>
37+
<Folder Name="/users/">
38+
<Project Path="services/user/CodeBreaker.UserService/CodeBreaker.UserService.csproj" />
39+
</Folder>
40+
</Solution>

0 commit comments

Comments
 (0)