MCPcopy
hub / github.com/open-telemetry/opentelemetry-demo

github.com/open-telemetry/opentelemetry-demo @2.2.0 sqlite

repository ↗ · DeepWiki ↗ · release 2.2.0 ↗
2,148 symbols 3,412 edges 184 files 357 documented · 17%
README

OTel logo OpenTelemetry Demo

Slack Version Commits Downloads License Integration Tests Artifact Hub FOSSA Status FOSSA Status OpenSSF Scorecard for opentelemetry-demo OpenSSF Best Practices

Welcome to the OpenTelemetry Astronomy Shop Demo

This repository contains the OpenTelemetry Astronomy Shop, a microservice-based distributed system intended to illustrate the implementation of OpenTelemetry in a near real-world environment.

Our goals are threefold:

  • Provide a realistic example of a distributed system that can be used to demonstrate OpenTelemetry instrumentation and observability.
  • Build a base for vendors, tooling authors, and others to extend and demonstrate their OpenTelemetry integrations.
  • Create a living example for OpenTelemetry contributors to use for testing new versions of the API, SDK, and other components or enhancements.

We've already made huge progress, and development is ongoing. We hope to represent the full feature set of OpenTelemetry across its languages in the future.

If you'd like to help (which we would love), check out our contributing guidance.

If you'd like to extend this demo or maintain a fork of it, read our fork guidance.

Quick start

You can be up and running with the demo in a few minutes. Check out the docs for your preferred deployment method:

Documentation

For detailed documentation, see Demo Documentation. If you're curious about a specific feature, the docs landing page can point you in the right direction.

Demos featuring the Astronomy Shop

We welcome any vendor to fork the project to demonstrate their services and adding a link below. The community is committed to maintaining the project and keeping it up to date for you.

AlibabaCloud LogService Google Cloud Parseable
Apache Doris Grafana Labs Sentry
AppDynamics Guance ServiceNow Cloud Observability
Aspecto Honeycomb.io SigNoz
Axiom Instana Splunk
Axoflow Kloudfuse Sumo Logic
Azure Data Explorer Last9 TelemetryHub
Causely Liatrio Teletrace
ClickStack Logz.io Tinybird
Coralogix New Relic Tracetest
Dash0 Oodle Uptrace
Datadog OpenObserve VictoriaMetrics
Dynatrace OpenSearch
Elastic Oracle

Contributing

To get involved with the project see our CONTRIBUTING documentation. Our SIG Calls are every other Wednesday at 8:30 AM PST and anyone is welcome.

Maintainers

For more information about the maintainer role, see the community repository.

Approvers

For more information about the approver role, see the community repository.

Emeritus

For more information about the emeritus role, see the community repository.

Thanks to all the people who have contributed

contributors

Extension points exported contracts — how you extend this code

CartServiceServer (Interface)
(no doc) [2 implementers]
src/frontend/protos/demo.ts
CartServiceServer (Interface)
(no doc) [2 implementers]
src/react-native-app/protos/demo.ts
RecommendationServiceServer (Interface)
(no doc) [2 implementers]
src/frontend/protos/demo.ts
RecommendationServiceServer (Interface)
(no doc) [2 implementers]
src/react-native-app/protos/demo.ts
ProductCatalogServiceServer (Interface)
(no doc) [2 implementers]
src/frontend/protos/demo.ts
ProductCatalogServiceServer (Interface)
(no doc) [2 implementers]
src/react-native-app/protos/demo.ts
ProductReviewServiceServer (Interface)
(no doc) [2 implementers]
src/frontend/protos/demo.ts
ShippingServiceServer (Interface)
(no doc) [2 implementers]
src/react-native-app/protos/demo.ts

Core symbols most depended-on inside this repo

fromPartial
called by 146
src/frontend/protos/demo.ts
encode
called by 139
src/frontend/protos/demo.ts
decode
called by 139
src/frontend/protos/demo.ts
create
called by 100
src/frontend/protos/demo.ts
isSet
called by 73
src/frontend/protos/demo.ts
isSet
called by 64
src/react-native-app/protos/demo.ts
fromJSON
called by 53
src/frontend/protos/demo.ts
toJSON
called by 53
src/frontend/protos/demo.ts

Shape

Method 1,200
Function 461
Interface 246
Struct 151
Class 84
Enum 4
Route 2

Languages

Go62%
TypeScript25%
Python12%
Java1%

Modules by API surface

src/product-catalog/genproto/oteldemo/demo.pb.go391 symbols
src/checkout/genproto/oteldemo/demo.pb.go391 symbols
src/product-catalog/genproto/oteldemo/demo_grpc.pb.go236 symbols
src/checkout/genproto/oteldemo/demo_grpc.pb.go236 symbols
src/frontend/protos/demo.ts160 symbols
src/react-native-app/protos/demo.ts134 symbols
src/recommendation/demo_pb2_grpc.py101 symbols
src/product-reviews/demo_pb2_grpc.py101 symbols
src/checkout/main.go25 symbols
src/product-catalog/main.go20 symbols
src/load-generator/locustfile.py20 symbols
src/frontend/gateways/Api.gateway.ts15 symbols

Dependencies from manifests, versioned

guzzlehttp/guzzle7.10.0 · 1×
monolog/monolog3.10.0 · 1×
open-telemetry/api1.7.1 · 1×
open-telemetry/detector-container1.1.0 · 1×
open-telemetry/exporter-otlp1.3.3 · 1×
open-telemetry/opentelemetry-auto-slim1.3.0 · 1×
open-telemetry/opentelemetry-logger-monolog1.1.0 · 1×
open-telemetry/sdk1.10.0 · 1×
php-di/php-di7.1.1 · 1×
php-di/slim-bridge3.4.1 · 1×
php-http/guzzle7-adapter1.1.0 · 1×
react/httpv1.11.0 · 1×

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add opentelemetry-demo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact