You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@
4
4
5
5
Observability Stack is an open-source stack designed for modern distributed systems. Built on OpenTelemetry, OpenSearch, and Prometheus, Observability Stack provides a complete, pre-configured infrastructure for monitoring microservices, web applications, and AI agents—with first-class support for agent observability through [OpenTelemetry Gen-AI Semantic Conventions](https://opentelemetry.io/docs/specs/semconv/gen-ai/).
description: Install and run the OpenSearch Observability Stack
4
+
---
5
+
6
+
The OpenSearch Observability Stack is an open-source, OpenTelemetry-native observability platform. It runs locally via Docker Compose and provides traces, logs, metrics, dashboards, service maps, and AI agent tracing out of the box.
The installer TUI guides you through component selection and configuration. Installation takes 8–15 minutes. Once complete, the stack starts automatically.
28
+
Access OpenSearch Dashboards at http://localhost:5601
Access OpenSearch Dashboards at [http://localhost:5601](http://localhost:5601)
37
+
</TabItem>
38
+
</Tabs>
39
+
40
+
Credentials are stored in the `.env` file at the installation root:
41
+
42
+
```bash
43
+
cd observability-stack
44
+
grep -E '^OPENSEARCH_(USER|PASSWORD)=' .env
45
+
```
46
+
47
+
## What gets installed
48
+
49
+
| Component | Purpose |
50
+
|-----------|---------|
51
+
| OpenTelemetry Collector | Receives traces, logs, and metrics via OTLP |
52
+
| Data Prepper | Processes traces, generates service maps and RED metrics |
53
+
| OpenSearch | Stores and indexes all observability data |
54
+
| Prometheus | Scrapes and stores time-series metrics |
55
+
| OpenSearch Dashboards | Visualizes data, agent traces, and service maps |
56
+
|[Example services](#example-services)| Multi-agent travel planner, weather, and events agents that generate agent traces with GenAI semantic conventions |
57
+
58
+
### Example services
59
+
60
+
The stack ships with example AI agent services that generate agent traces automatically — a multi-agent travel planner, weather agent, and events agent. These are enabled by default.
You can also run the [OpenTelemetry Demo](https://opentelemetry.io/docs/demo/), a full microservices e-commerce app that generates realistic telemetry. Uncomment in `.env`:
This adds ~2 GB memory usage. See [Resource Requirements](https://github.com/opensearch-project/observability-stack#resource-requirements) for details.
77
+
78
+
After any `.env` change: `docker compose down && docker compose up -d`
79
+
80
+
## Updating
81
+
82
+
Component images are updated on new OpenSearch releases. To pull the latest:
83
+
84
+
```bash
85
+
cd observability-stack
86
+
git pull
87
+
docker compose down
88
+
docker compose up -d --pull always
89
+
```
90
+
91
+
## Uninstall
92
+
93
+
The stack runs via Docker Compose from the cloned `observability-stack` repository. To stop all services and remove data:
94
+
95
+
```bash
96
+
cd observability-stack
97
+
docker compose down -v --remove-orphans
98
+
```
99
+
100
+
To fully remove, delete the repository directory.
101
+
102
+
## Next steps
103
+
104
+
-[Platform Overview](/docs/get-started/overview/) — architecture and data flow
105
+
-[Core Concepts](/docs/get-started/core-concepts/) — key terms and ideas
106
+
-[Quickstart](/docs/get-started/quickstart/) — send your first traces
Copy file name to clipboardExpand all lines: docs/starlight-docs/src/content/docs/index.mdx
+13-11Lines changed: 13 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,33 +9,35 @@ import IconCardGrid from '../../components/IconCardGrid.astro';
9
9
10
10
OpenSearch Observability Stack is an **open-source, OpenTelemetry-native observability platform** ([GitHub](https://github.com/opensearch-project/observability-stack)) for monitoring services, infrastructure, and AI agents. Install locally via Docker Compose — traces, logs, Prometheus metrics, service maps, and agent tracing out of the box.
11
11
12
-
## What You Can Do
13
-
14
12
<IconCardGrid>
15
13
<IconCardtitle="Traces, Logs & Metrics"icon="/docs/icons/app_visualize.svg"items={["Collect via OTLP", "Log-trace correlation", "Search with PPL and PromQL"]}href="/docs/investigate/discover-logs/" />
16
14
<IconCardtitle="Application Monitoring"icon="/docs/icons/app_apm.svg"items={["Auto-generated service maps", "RED metrics from traces", "Latency and error tracking"]}href="/docs/apm/" />
17
15
<IconCardtitle="AI Agent Observability"icon="/docs/icons/app_ml.svg"items={["Trace LLM calls, token usage, and tool use", "Agent execution graphs", "Python and JavaScript SDKs"]}href="/docs/ai-observability/" />
<LinkCardtitle="Install & Explore"href="/docs/get-started/"description="Install the stack and explore traces already flowing from the built-in example services." />
32
-
<LinkCardtitle="Send Your First Traces"href="/docs/get-started/quickstart/"description="Instrument an app with the Python SDK and see traces in dashboards." />
25
+
<LinkCardtitle="Install & Explore"href="/docs/get-started/installation/"description="Install the stack and explore traces already flowing from the built-in example services." />
26
+
<LinkCardtitle="Send Your First Traces"href="/docs/get-started/quickstart/"description="Instrument an app with OpenTelemetry and see traces in dashboards." />
33
27
<LinkCardtitle="Trace an AI Agent"href="/docs/ai-observability/agent-tracing/"description="Instrument an AI agent with GenAI semantic conventions and visualize the execution graph." />
34
28
35
29
<Asidetype="tip">
36
-
The stack optionally ships with example services — a multi-agent travel planner, weather agent, and events agent that generate agent traces automatically. You can also enable the [OpenTelemetry Demo](https://opentelemetry.io/docs/demo/architecture/), a full microservices e-commerce app for realistic telemetry. Install, open Dashboards, and start exploring — no instrumentation needed.
30
+
The stack optionally ships with [example services](https://github.com/opensearch-project/observability-stack/tree/main/examples) — a multi-agent travel planner, weather agent, and events agent that generate agent traces automatically. You can also enable the [OpenTelemetry Demo](https://opentelemetry.io/docs/demo/architecture/), a full microservices e-commerce app for realistic telemetry. Install, open Dashboards, and start exploring — no instrumentation needed.
37
31
</Aside>
38
32
33
+
## Why Observability Stack?
34
+
35
+
-**Open source**: Fully open source, no vendor lock-in, self-host everything
36
+
-**OpenTelemetry-native**: All data ingestion uses OTel protocols and [semantic conventions](https://opentelemetry.io/docs/specs/semconv/)
37
+
-**GenAI-first**: Purpose-built views for AI agent tracing using standard `gen_ai.*` attributes
38
+
-**Local-first**: Runs entirely on your machine via Docker Compose — no cloud account required
39
+
-**Production path**: Same components (OpenSearch, Prometheus, OTel Collector) scale to production
40
+
39
41
## Community
40
42
41
43
-[GitHub](https://github.com/opensearch-project/observability-stack) — issues, PRs, and discussions
Instrumented agent examples for the Observability Stack. Each demonstrates OpenTelemetry tracing with [Gen-AI Semantic Conventions](https://opentelemetry.io/docs/specs/semconv/gen-ai/). Follow the README in each folder to try the example agents, which are fully instrumented with OpenTelemetry so you can explore agent traces and telemetry data in OpenSearch Dashboards.
|[plain-agents/multi-agent-planner](./plain-agents/multi-agent-planner/)| OpenTelemetry SDK | Distributed travel planner with trace context propagation across sub-agents |
11
+
|[strands/code-assistant](./strands/code-assistant/)| Strands SDK | AI coding assistant with auto-instrumented GenAI spans |
12
+
|[langchain/bedrock-financial-assistant](./langchain/bedrock-financial-assistant/)| LangChain | Financial assistant using Bedrock Claude with automatic LangChain tracing |
13
+
14
+
## Prerequisites
15
+
16
+
- Python 3.9+, [uv](https://docs.astral.sh/uv/)
17
+
- Observability Stack running (`docker compose up -d` from repo root)
18
+
19
+
## Quick Start
20
+
21
+
The `plain-agents` examples run automatically with the stack. For standalone examples:
0 commit comments