Skip to content

Commit ff3ee1d

Browse files
committed
rename demo services
1 parent d8b6422 commit ff3ee1d

18 files changed

+35
-50
lines changed

content/en/docs/demo/requirements/architecture.md

+6-21
Original file line numberDiff line numberDiff line change
@@ -45,37 +45,22 @@ logs (as applicable/available).
4545

4646
Each service should be interchangeable with a service that performs the same
4747
business logic, implementing the same gRPC endpoints, but written in a different
48-
language/implementation. For the initial implementation of the demo, we should
49-
focus on adding as many missing languages as possible by swapping out existing
50-
services with implementations in un-represented languages. For future versions
51-
we will look to add more distinct language options per service.
48+
language/implementation.
5249

53-
Each service should communicate with a feature flag service in order to
54-
enable/disable 'faults' that can be used to illustrate how telemetry helps solve
55-
problems in distributed applications.
56-
57-
A PHP service should be added to the main application as an 'admin service'. A
58-
Database should be added to enable CRUD functionality on the Product Catalog.
59-
60-
The 'shipping' service should be reimplemented in Rust.
61-
62-
The 'currency' service should be reimplemented in C++.
63-
64-
The 'email' service should be reimplemented in Ruby.
65-
66-
For future iterations, the 'frontend' service can be extended with a mobile
67-
application written in Swift.
50+
Each service should be able to communicate with a feature flag service in order
51+
to enable/disable faults that can be used to illustrate how telemetry helps
52+
solve problems in distributed applications.
6853

6954
## Feature Flag Component
7055

7156
Feature flagging is a crucial part of cloud native application development. The
72-
demo uses OpenFeature, a CNCF incubating project, to manage feature flags.
57+
Demo uses OpenFeature, a CNCF incubating project, to manage feature flags.
7358

7459
Feature flags can be set through the flagd configurator user interface.
7560

7661
## Orchestration and Deployment
7762

78-
All services should run on Kubernetes. The OpenTelemetry Collector should be
63+
All services run on Kubernetes. The OpenTelemetry Collector should be
7964
deployed via the OpenTelemetry Operator, and run in a sidecar + gateway mode.
8065
Telemetry from each pod should be routed from agents to a gateway, and the
8166
gateway should export telemetry by default to an open source trace + metrics

content/en/docs/demo/scenarios/recommendation-cache/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ work, and viewing the details allows us to get a better idea of what's going on.
6868
## Confirming the Diagnosis
6969

7070
We can see in our waterfall view that the `app.cache_hit` attribute is set to
71-
`false`, and that the `app.products.count` value is extremely high.
71+
false, and that the `app.products.count` value is extremely high.
7272

73-
Returning to the search UI, filter to `recommendation` in the Service dropdown,
73+
Returning to the search UI, select `recommendation` in the Service dropdown,
7474
and search for `app.cache_hit=true` in the Tags box. Notice that requests tend
7575
to be faster when the cache is hit. Now search for `app.cache_hit=false` and
7676
compare the latency. You should notice some changes in the visualization at the

content/en/docs/demo/services/accounting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Accounting Service
33
linkTitle: Accounting
4-
aliases: [accounting]
4+
aliases: [accountingservice]
55
---
66

77
This service calculates the total amount of sold products. This is only mocked

content/en/docs/demo/services/ad.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Ad Service
33
linkTitle: Ad
4-
aliases: [ad]
4+
aliases: [adservice]
55
---
66

77
This service determines appropriate ads to serve to users based on context keys.

content/en/docs/demo/services/cart/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Cart Service
33
linkTitle: Cart
4-
aliases: [cart]
4+
aliases: [cartservice]
55
---
66

77
This service maintains items placed in the shopping cart by users. It interacts

content/en/docs/demo/services/checkout.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Checkout Service
33
linkTitle: Checkout
4-
aliases: [checkout]
4+
aliases: [checkoutservice]
55
# prettier-ignore
66
cSpell:ignore: fatalf otelgrpc otelsarama otlpmetricgrpc otlptracegrpc sarama sdkmetric sdktrace
77
---

content/en/docs/demo/services/currency.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Currency Service
33
linkTitle: Currency
4-
aliases: [currency]
4+
aliases: [currencyservice]
55
cSpell:ignore: decltype labelkv noexcept nostd
66
---
77

content/en/docs/demo/services/email.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Email Service
33
linkTitle: Email
4-
aliases: [email]
4+
aliases: [emailservice]
55
cSpell:ignore: sinatra
66
---
77

content/en/docs/demo/services/fraud-detection.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Fraud Detection Service
33
linkTitle: Fraud Detection
4-
aliases: [fraud-detection]
4+
aliases: [frauddetectionservice]
55
---
66

77
This service analyses incoming orders and detects malicious customers. This is

content/en/docs/demo/services/frontend-proxy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Frontend Proxy (Envoy)
33
linkTitle: Frontend Proxy
4-
aliases: [frontend-proxy]
4+
aliases: [frontendproxy]
55
cSpell:ignore: upstreams
66
---
77

content/en/docs/demo/services/image-provider.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Image Provider Service
33
linkTitle: Image Provider
4-
aliases: [image-provider] # cSpell:disable-line
4+
aliases: [imageprovider] # cSpell:disable-line
55
---
66

77
This service provides the images which are used in the frontend. The images are

content/en/docs/demo/services/load-generator.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Load Generator
3-
aliases: [load-generator]
3+
aliases: [loadgenerator]
44
cSpell:ignore: instrumentor instrumentors locustfile urllib
55
---
66

content/en/docs/demo/services/payment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Payment Service
33
linkTitle: Payment
4-
aliases: [payment]
4+
aliases: [paymentservice]
55
cSpell:ignore: nanos
66
---
77

content/en/docs/demo/services/product-catalog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Product Catalog Service
33
linkTitle: Product Catalog
4-
aliases: [product-catalog]
4+
aliases: [productcatalogservice]
55
# prettier-ignore
66
cSpell:ignore: fatalf otelcodes otelgrpc otlpmetricgrpc otlptracegrpc sdkmetric sdktrace sprintf
77
---

content/en/docs/demo/services/quote.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Quote Service
33
linkTitle: Quote
4-
aliases: [quote]
4+
aliases: [quoteservice]
55
cSpell:ignore: getquote
66
---
77

content/en/docs/demo/services/recommendation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Recommendation Service
33
linkTitle: Recommendation
4-
aliases: [recommendation]
4+
aliases: [recommendationservice]
55
cSpell:ignore: cpython instrumentor NOTSET
66
---
77

content/en/docs/demo/services/shipping.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Shipping Service
33
linkTitle: Shipping
4-
aliases: [shipping]
4+
aliases: [shippingservice]
55
cSpell:ignore: itemct oteldemo reqwest sdktrace semcov shiporder tokio
66
---
77

@@ -116,8 +116,8 @@ will work.
116116

117117
### Adding HTTP instrumentation
118118

119-
A child _client_ span is also produced for the outgoing HTTP call to `quote` via
120-
the `reqwest` client. This span pairs up with the corresponding `quote` _server_
119+
A child _client_ span is also produced for the outgoing HTTP call to quote via
120+
the `reqwest` client. This span pairs up with the corresponding quote _server_
121121
span. The tracing instrumentation is implemented in the client middleware making
122122
use of the available `reqwest-middleware`, `reqwest-tracing` and
123123
`tracing-opentelemetry` libraries:

content/en/docs/demo/telemetry-features/manual-span-attributes.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ aliases: [manual_span_attributes, ../manual-span-attributes]
55

66
This page lists the manual Span Attributes used throughout the demo:
77

8-
## Ad Service
8+
## Ad
99

1010
| Name | Type | Description |
1111
| --------------------------- | ------ | ------------------------------------- |
@@ -16,7 +16,7 @@ This page lists the manual Span Attributes used throughout the demo:
1616
| `app.ads.ad_request_type` | string | Either `targeted` or `not_targeted` |
1717
| `app.ads.ad_response_type` | string | Either `targeted` or `random` |
1818

19-
## Cart Service
19+
## Cart
2020

2121
| Name | Type | Description |
2222
| ---------------------- | ------ | ------------------------------ |
@@ -25,7 +25,7 @@ This page lists the manual Span Attributes used throughout the demo:
2525
| `app.product.quantity` | string | Quantity for cart item |
2626
| `app.user.id` | string | User ID |
2727

28-
## Checkout Service
28+
## Checkout
2929

3030
| Name | Type | Description |
3131
| ---------------------------- | ------ | ------------------------------- |
@@ -39,14 +39,14 @@ This page lists the manual Span Attributes used throughout the demo:
3939
| `app.user.currency` | string | User currency |
4040
| `app.user.id` | string | User ID |
4141

42-
## Currency Service
42+
## Currency
4343

4444
| Name | Type | Description |
4545
| ------------------------------ | ------ | ----------------------------- |
4646
| `app.currency.conversion.from` | string | Currency code to convert from |
4747
| `app.currency.conversion.to` | string | Currency code to convert to |
4848

49-
## Email Service
49+
## Email
5050

5151
| Name | Type | Description |
5252
| --------------------- | ------ | --------------------------------- |
@@ -77,7 +77,7 @@ This page lists the manual Span Attributes used throughout the demo:
7777
| -------- | ---- | ----------- |
7878
| None yet | | |
7979

80-
## Payment Service
80+
## Payment
8181

8282
| Name | Type | Description |
8383
| ------------------------ | ------- | ----------------------------------------------------- |
@@ -86,7 +86,7 @@ This page lists the manual Span Attributes used throughout the demo:
8686
| `app.payment.card_valid` | boolean | Was the card used valid |
8787
| `app.payment.charged` | boolean | Was the charge successful (false with load generator) |
8888

89-
## Product Catalog Service
89+
## Product Catalog
9090

9191
| Name | Type | Description |
9292
| --------------------------- | ------ | ------------------------------------- |
@@ -95,14 +95,14 @@ This page lists the manual Span Attributes used throughout the demo:
9595
| `app.products.count` | number | Number of products in catalog |
9696
| `app.products_search.count` | number | Number of products returned in search |
9797

98-
## Quote Service
98+
## Quote
9999

100100
| Name | Type | Description |
101101
| ----------------------- | ------ | -------------------- |
102102
| `app.quote.items.count` | number | Total items to ship |
103103
| `app.quote.cost.total` | number | Total shipping quote |
104104

105-
## Recommendation Service
105+
## Recommendation
106106

107107
| Name | Type | Description |
108108
| -------------------------------- | ------- | --------------------------------------- |
@@ -111,7 +111,7 @@ This page lists the manual Span Attributes used throughout the demo:
111111
| `app.products_recommended.count` | number | Number of recommended products returned |
112112
| `app.cache_hit` | boolean | If cache was accessed or not |
113113

114-
## Shipping Service
114+
## Shipping
115115

116116
| Name | Type | Description |
117117
| -------------------------- | ------ | ----------------------------- |

0 commit comments

Comments
 (0)