**同步结果摘要**: | 目录 | 同步前 | 同步后 | 官方 | |------|--------|--------|------| | aggregations | 40 | 65 | 64 | | analyzers | 8 | 141 | 140 | | api-reference | 97 | 186 | 174 | | benchmark | 34 | 67 | 53 | | clients | 17 | 18 | 18 | | dashboards | 38 | 149 | 131 | | data-prepper | 77 | 134 | 123 | | im-plugin | 22 | 37 | 37 | | ingest-pipelines | 27 | 52 | 51 | | install-and-configure | 37 | 57 | 53 | | ml-commons-plugin | 81 | 157 | 155 | | observing-your-data | 39 | 73 | 66 | | query-dsl | 40 | 77 | 75 | | search-plugins | 80 | 139 | 95 | | security-analytics | 22 | 47 | 46 | **说明**: - 本地文件数 > 官方:本地有一些官方已删除或重命名的文件 - 新增了约 **740 个英文文档文件** - 已有文件保持不变(未覆盖)
4.9 KiB
layout, title, nav_order, has_children, has_toc, description, redirect_from
| layout | title | nav_order | has_children | has_toc | description | redirect_from | |
|---|---|---|---|---|---|---|---|
| default | Observability workspace apps | 50 | true | false | Set up an Observability workspace to explore logs, traces, and metrics in Discover and to use application performance monitoring, service-level objectives, and agent monitoring. |
|
Observability workspace apps
Introduced 3.5 {: .label .label-purple }
In an Observability workspace, OpenSearch Dashboards provides apps for exploring logs, traces, and metrics in Discover, monitoring application performance, tracking service-level objectives (SLOs), and monitoring generative AI agents. Each app is enabled by a setting in opensearch_dashboards.yml, which is listed on the app's page.
Prerequisites
To enable all Observability workspace apps, add the following settings to opensearch_dashboards.yml, and then restart OpenSearch Dashboards:
workspace.enabled: true
explore.enabled: true # Logs
explore.discoverTraces.enabled: true # Traces, APM, and SLOs
explore.discoverMetrics.enabled: true # Metrics and APM
explore.agentTraces.enabled: true # Agent monitoring
datasetManagement.enabled: true # Datasets and Correlations
observability.slo.enabled: true # SLOs
{% include copy.html %}
To enable only some of the apps, see the Prerequisites section of each app's page for the settings that the app requires.
Workspaces have additional requirements, such as disabling multi-tenancy. For more information, see Enabling workspaces.
Creating an Observability workspace
To create an Observability workspace, follow these steps:
- On the OpenSearch Dashboards home page, in My workspaces, select Create workspace on the Observability card.
- In Workspace details, enter a Name and, optionally, a Description.
- In Use case and features, confirm that Observability is selected.
- If you use multiple data sources, select the data sources to associate with the workspace.
- Select Create workspace.
For more information, see Create a workspace.
Exploring and monitoring your data
After you create the workspace, use the apps as follows:
- Connect your data:
- Create datasets for your log and trace indexes. The Logs and Traces pages, Correlations, and APM use datasets to find your data.
- To use Metrics, APM, or SLOs, connect a Prometheus data source.
- Explore your data:
- Use Logs to search, filter, and visualize log data using Piped Processing Language (PPL).
- Use Traces to search and filter spans and view a single trace as a timeline of its spans.
- Use Metrics to query and visualize Prometheus metrics using PromQL.
- Use Correlations to link a trace dataset to logs datasets so that you can view the log entries related to a trace.
- Monitor your applications:
- Use application performance monitoring (APM) to view rate, error, and duration (RED) metrics for each service and a topology map of service dependencies.
- Use SLOs to define availability and latency targets for your services and track their error budgets.
- Monitor your AI agents:
- Use Agent monitoring to view the LLM calls, tool invocations, and token usage of generative AI agents.
- Share your results:
- Add visualizations from the Logs page to dashboards.
- Use Notebooks to combine Markdown text, SQL and PPL queries, and visualizations into reports and runbooks.
Related documentation
- To learn how logs, traces, and metrics reach OpenSearch, see Ingesting observability data.
- To choose between the apps that display trace data, see Choosing a trace tool.