Skip to content

Commit 8101151

Browse files
committed
Initial commit
1 parent 59de3b3 commit 8101151

File tree

88 files changed

+2771
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+2771
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,3 +348,6 @@ MigrationBackup/
348348

349349
# Ionide (cross platform F# VS Code tools) working folder
350350
.ionide/
351+
352+
# development json files
353+
appsettings.Development.json

DotNetObservabilitySample.sln

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 15
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sample.RabbitMQProcessor", "src\Sample.RabbitMQProcessor\Sample.RabbitMQProcessor.csproj", "{B2900141-0E8C-46EE-908E-F98218960804}"
5+
EndProject
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sample.Common", "src\Sample.Common\Sample.Common.csproj", "{39CCAC82-947E-4229-85C1-C34D3B569BE4}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sample.TimeApi", "src\Sample.TimeApi\Sample.TimeApi.csproj", "{883EB697-F742-422B-ADC9-3A89C00B5424}"
9+
EndProject
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sample.MainApi", "src\Sample.MainApi\Sample.MainApi.csproj", "{4EA49E72-7529-4CFD-8942-0086BC0E43F4}"
11+
EndProject
12+
Global
13+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
14+
Debug|Any CPU = Debug|Any CPU
15+
Release|Any CPU = Release|Any CPU
16+
EndGlobalSection
17+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18+
{00932BD9-CCB8-40FE-A27C-4DE896BDD127}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19+
{00932BD9-CCB8-40FE-A27C-4DE896BDD127}.Debug|Any CPU.Build.0 = Debug|Any CPU
20+
{00932BD9-CCB8-40FE-A27C-4DE896BDD127}.Release|Any CPU.ActiveCfg = Release|Any CPU
21+
{00932BD9-CCB8-40FE-A27C-4DE896BDD127}.Release|Any CPU.Build.0 = Release|Any CPU
22+
{B2900141-0E8C-46EE-908E-F98218960804}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
23+
{B2900141-0E8C-46EE-908E-F98218960804}.Debug|Any CPU.Build.0 = Debug|Any CPU
24+
{B2900141-0E8C-46EE-908E-F98218960804}.Release|Any CPU.ActiveCfg = Release|Any CPU
25+
{B2900141-0E8C-46EE-908E-F98218960804}.Release|Any CPU.Build.0 = Release|Any CPU
26+
{39CCAC82-947E-4229-85C1-C34D3B569BE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
27+
{39CCAC82-947E-4229-85C1-C34D3B569BE4}.Debug|Any CPU.Build.0 = Debug|Any CPU
28+
{39CCAC82-947E-4229-85C1-C34D3B569BE4}.Release|Any CPU.ActiveCfg = Release|Any CPU
29+
{39CCAC82-947E-4229-85C1-C34D3B569BE4}.Release|Any CPU.Build.0 = Release|Any CPU
30+
{883EB697-F742-422B-ADC9-3A89C00B5424}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
31+
{883EB697-F742-422B-ADC9-3A89C00B5424}.Debug|Any CPU.Build.0 = Debug|Any CPU
32+
{883EB697-F742-422B-ADC9-3A89C00B5424}.Release|Any CPU.ActiveCfg = Release|Any CPU
33+
{883EB697-F742-422B-ADC9-3A89C00B5424}.Release|Any CPU.Build.0 = Release|Any CPU
34+
{4EA49E72-7529-4CFD-8942-0086BC0E43F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
35+
{4EA49E72-7529-4CFD-8942-0086BC0E43F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
36+
{4EA49E72-7529-4CFD-8942-0086BC0E43F4}.Release|Any CPU.ActiveCfg = Release|Any CPU
37+
{4EA49E72-7529-4CFD-8942-0086BC0E43F4}.Release|Any CPU.Build.0 = Release|Any CPU
38+
EndGlobalSection
39+
GlobalSection(NestedProjects) = preSolution
40+
EndGlobalSection
41+
GlobalSection(MonoDevelopProperties) = preSolution
42+
version = 0.2
43+
EndGlobalSection
44+
EndGlobal

README.md

Lines changed: 116 additions & 2 deletions

ai-tips.md

Lines changed: 76 additions & 0 deletions

docker-compose.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# docker-compose.yml
2+
version: '2'
3+
services:
4+
prometheus:
5+
image: prom/prometheus
6+
volumes:
7+
- ./prometheus.yml:/etc/prometheus/prometheus.yml
8+
command:
9+
- '--config.file=/etc/prometheus/prometheus.yml'
10+
ports:
11+
- 9090:9090
12+
grafana:
13+
image: grafana/grafana
14+
environment:
15+
- GF_SECURITY_ADMIN_PASSWORD=password1
16+
depends_on:
17+
- prometheus
18+
ports:
19+
- 3000:3000

media/01-ai-dbtime-calls.png

116 KB

media/01-ai-dependencies-list.png

119 KB

media/01-ai-getdbtime-detail.png

84.4 KB

media/01-ai-getdbtime-items.png

86.6 KB

media/01-ai-getdbtime.png

81.8 KB

media/01-ai-searching-e2e-traces.png

134 KB

media/01-jaeger-dbtime-calls.png

68.2 KB

media/01-jaeger-dbtime-details.png

152 KB

media/01-jaeger-getdbtime.png

128 KB

media/01-sample-jaeger-overview.png

46 KB

media/01-sample-scenario.jpg

5.92 KB

media/01-sample-scenario.png

7.42 KB

media/02-ai-dependencygraph-400.png

23 KB

media/02-ai-dependencygraph.png

57.3 KB

media/02-ai-http-header-tracing.png

107 KB
31.7 KB

media/02-jaeger-dependencygraph.png

158 KB
152 KB

media/02-sample-scenario.png

8.89 KB

media/03-ai-custom-tracing.png

167 KB

media/03-ai-metrics.png

175 KB

media/03-grafana-metrics.png

72 KB

media/03-jaeger-custom-tracing.png

72.6 KB

media/03-sample-scenario.png

24.2 KB

media/04-ai-trace-and-logs.png

104 KB
123 KB

media/ai-ai-performance-insights.png

136 KB

media/ai-granularity-request-name.png

66.1 KB

media/ai-operation-name.png

96.5 KB

media/ai-sdk-request-differences.png

162 KB
106 KB

media/failures-ai-ai.png

103 KB

media/failures-ot-ai.png

148 KB

media/live-metrics-stream.png

154 KB

media/operations-ot-ai.png

188 KB

media/ot-ai-performance-insights.png

148 KB
59.2 KB

media/ot-sdk-request-differences.png

165 KB

opentelemetry-ai-state.md

Lines changed: 67 additions & 0 deletions

prometheus.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# prometheus.yml
2+
global:
3+
scrape_interval: 5s
4+
external_labels:
5+
monitor: 'dotnet-observability-sample'
6+
7+
8+
scrape_configs:
9+
- job_name: 'prometheus'
10+
scrape_interval: 5s
11+
static_configs:
12+
- targets: ['localhost:9090']
13+
14+
- job_name: 'main-api'
15+
scrape_interval: 5s
16+
static_configs:
17+
- targets: ['host.docker.internal:9184']

0 commit comments

Comments
 (0)