File tree 11 files changed +24
-13
lines changed
blog/2023/testing-otel-demo
11 files changed +24
-13
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,6 @@ IgnoreURLs: # list of regexs of paths or URLs to be ignored
73
73
# FIXME: same issue as for the OTel spec mentioned above:
74
74
- ^https://github.com/open-telemetry/semantic-conventions/tree/main
75
75
76
- # Ignore some links to GH repo content for now, most 4XX
77
- - ^https?://github\.com/open-telemetry/opentelemetry-demo/blob/main/src/(imageprovider|loadgenerator|otelcollector|.*service)
78
-
79
76
# Too many redirects as the server tries to figure out the country and language,
80
77
# e.g.: https://www.microsoft.com/en-ca/sql-server.
81
78
- ^https://www.microsoft.com/sql-server$
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ screenshot of a trace for this operation:
211
211
In this operation, we can see inner calls to multiple services, like
212
212
[Frontend](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/frontend),
213
213
[CheckoutService](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/checkoutservice),
214
- [CartService](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/cartservice ),
214
+ [CartService](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/cart/ ),
215
215
[ProductCatalogService](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/productcatalogservice),
216
216
[CurrencyService](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/currencyservice),
217
217
and others.
@@ -233,7 +233,7 @@ triggered during the checkout:
233
233
[ShippingService](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/shippingservice)
234
234
was called and emitted spans correctly;
235
235
- _“The cart was emptied”_, checking if the
236
- [CartService](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/cartservice )
236
+ [CartService](https://github.com/open-telemetry/opentelemetry-demo/tree/main/src/cart/ )
237
237
was called and emitted spans correctly.
238
238
239
239
The final result was the following test YAML, which triggers the Checkout
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ found here:
54
54
- [ Quote Service] ( services/quote/ )
55
55
- [ Recommendation Service] ( services/recommendation/ )
56
56
- [ Shipping Service] ( services/shipping/ )
57
- - [ Image Provider Service] ( services/imageprovider / )
57
+ - [ Image Provider Service] ( services/image-provider / )
58
58
- [ React Native App] ( services/react-native-app/ )
59
59
60
60
## Scenarios
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ configuration from two files:
109
109
- ` otelcol-config-extras.yml`
110
110
111
111
To add your backend, open the file
112
- [src/otelcollector /otelcol-config-extras.yml](https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/otelcollector /otelcol-config-extras.yml)
112
+ [src/otel-collector /otelcol-config-extras.yml](https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/otel-collector /otelcol-config-extras.yml)
113
113
with an editor.
114
114
115
115
- Start by adding a new exporter. For example, if your backend supports OTLP
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ aliases: [cartservice]
7
7
This service maintains items placed in the shopping cart by users. It interacts
8
8
with a Redis caching service for fast access to shopping cart data.
9
9
10
- [ Cart service source] ( https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/cartservice / )
10
+ [ Cart service source] ( https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/cart / )
11
11
12
12
> ** Note** OpenTelemetry for .NET uses the ` System.Diagnostic.DiagnosticSource `
13
13
> library as its API instead of the standard OpenTelemetry API for Traces and
Original file line number Diff line number Diff line change 1
1
---
2
2
title : Image Provider Service
3
3
linkTitle : Image Provider
4
+ aliases : [imageprovider] # cSpell:disable-line
4
5
---
5
6
6
7
This service provides the images which are used in the frontend. The images are
7
8
statically hosted on a NGINX instance. The NGINX server is instrumented with the
8
9
[ nginx-otel module] ( https://github.com/nginxinc/nginx-otel/tree/main ) .
9
10
10
- [ Image Provider service source] ( https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/imageprovider/ )
11
+ For details, see the
12
+ [ image provider service source] ( https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/image-provider/ ) .
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ en cada servicio aquí:
54
54
- [ Servicio de Cotizaciones] ( services/quote/ )
55
55
- [ Servicio de Recomendaciones] ( services/recommendation/ )
56
56
- [ Servicio de Envío] ( services/shipping/ )
57
- - [ Servicio Proveedor de Imágenes] ( services/imageprovider/ )
57
+ - [ Servicio Proveedor de Imágenes] ( services/image-provider/?i18n-patch )
58
58
59
59
## Escenarios
60
60
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ default_lang_commit: 1e69c8f94a605ce5624c6b6657080d98f633ac7b
51
51
- [ 見積サービス] ( services/quote/ )
52
52
- [ レコメンデーションサービス] ( services/recommendation/ )
53
53
- [ 配送サービス] ( services/shipping/ )
54
- - [ 画像プロバイダーサービス] ( services/imageprovider/ )
54
+ - [ 画像プロバイダーサービス] ( services/image-provider/?i18n-patch )
55
55
56
56
## シナリオ {#scenarios}
57
57
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ classDef typescript fill:#e98516,color:black;
119
119
120
120
デモアプリケーションの[ メトリック] ( /docs/demo/telemetry-features/metric-coverage/ ) と [ トレース] ( /docs/demo/telemetry-features/trace-coverage/ ) の計装の現状については、リンクをご確認ください。
121
121
122
- コレクターの設定は [ otelcol-config.yml] ( https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/otelcollector /otelcol-config.yml ) で行われており、代替のエクスポーターをここで設定することができます。
122
+ コレクターの設定は [ otelcol-config.yml] ( https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/otel-collector /otelcol-config.yml?i18n-patch ) で行われており、代替のエクスポーターをここで設定することができます。
123
123
124
124
``` mermaid
125
125
graph TB
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ default_lang_commit: c2cd5b14
50
50
- [ 报价服务] ( services/quote/ )
51
51
- [ 推荐服务] ( services/recommendation/ )
52
52
- [ 发货服务] ( services/shipping/ )
53
- - [ 图片提供商服务] ( services/imageprovider/ )
53
+ - [ 图片提供商服务] ( services/image-provider/?i18n-patch )
54
54
55
55
## 应用场景
56
56
Original file line number Diff line number Diff line change 8399
8399
"StatusCode": 206,
8400
8400
"LastSeen": "2025-01-16T11:53:03.08475-05:00"
8401
8401
},
8402
+ "https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/cart/": {
8403
+ "StatusCode": 206,
8404
+ "LastSeen": "2025-01-30T10:52:29.52797-05:00"
8405
+ },
8402
8406
"https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/checkout/": {
8403
8407
"StatusCode": 206,
8404
8408
"LastSeen": "2025-01-16T18:15:55.588406336Z"
8415
8419
"StatusCode": 206,
8416
8420
"LastSeen": "2025-01-16T11:53:00.941653-05:00"
8417
8421
},
8422
+ "https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/image-provider/": {
8423
+ "StatusCode": 206,
8424
+ "LastSeen": "2025-01-30T10:37:57.975407-05:00"
8425
+ },
8418
8426
"https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/kafka/": {
8419
8427
"StatusCode": 206,
8420
8428
"LastSeen": "2025-01-16T11:53:01.328807-05:00"
8423
8431
"StatusCode": 206,
8424
8432
"LastSeen": "2025-01-21T15:24:31.221226625Z"
8425
8433
},
8434
+ "https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/otel-collector/otelcol-config-extras.yml": {
8435
+ "StatusCode": 206,
8436
+ "LastSeen": "2025-01-30T10:37:57.941533-05:00"
8437
+ },
8426
8438
"https://github.com/open-telemetry/opentelemetry-demo/blob/main/src/otel-collector/otelcol-config.yml": {
8427
8439
"StatusCode": 206,
8428
8440
"LastSeen": "2025-01-16T11:53:13.345763-05:00"
You can’t perform that action at this time.
0 commit comments