Skip to content

Commit 4267f10

Browse files
committed
Merge remote-tracking branch 'origin/main' into ci/add_gitworkflow
2 parents 95a14de + 1103984 commit 4267f10

File tree

4 files changed

+27
-24
lines changed

4 files changed

+27
-24
lines changed

docs/api/traces/trace-search-api.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -77,21 +77,7 @@ curl -X GET \
7777
7878
Retrieve detailed span information for a specific trace using the traces `/latest` endpoint with a `trace_id` filter.
7979
80-
### Method 1: Using Traces Latest API
81-
82-
**Endpoint**
83-
```
84-
GET /api/{org_id}/{stream_name}/traces/latest?filter=trace_id%{trace_id}&start_time={start_time}&end_time={end_time}&from=0&size=25
85-
```
86-
87-
**Example Request**
88-
```bash
89-
curl -X GET \
90-
"https://your-openobserve-instance/api/your_org/default/traces/latest?filter=trace_id%3Dc2dc93864163b4f0e25342c2b8ca9a8b&start_time=1751443100969000&end_time=1751444000969000&from=0&size=25" \
91-
-H "Authorization: Basic <your-auth-token>"
92-
```
93-
94-
### Method 2: Using Search API
80+
### Using Search API
9581
9682
For complex queries, you can use the [search API](https://openobserve.ai/docs/api/search/search/) with SQL queries:
9783
```sql
@@ -100,6 +86,25 @@ SELECT * FROM default WHERE trace_id = {trace_id} ORDER BY start_time
10086
10187
**Note:** Traces do not support full SQL queries in the traces interface, however, the search API supports SQL for trace data when needed for complex queries.
10288
89+
**Example:**
90+
```sql
91+
{
92+
"query": {
93+
"sql": "SELECT * FROM default WHERE trace_id = b1eeb579ae863bdf9408e7d64c02d5d1" ORDER BY start_time,
94+
"start_time": 1751443100969000,
95+
"end_time": 1751444000969000,
96+
"from": 0,
97+
"size": 25
98+
},
99+
"search_type": "ui",
100+
"timeout": 0
101+
}
102+
```
103+
**Note:**
104+
105+
- When `size` is set to `25`, only the first `25` spans for the trace are returned.
106+
- To retrieve all spans, set `size` to `-1`. In this case, you do not need to define the `from` parameter.
107+
103108
## Error Handling
104109
105110
Common HTTP Status Codes:

docs/ingestion/traces/nodejs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ sdk.start();
4444
</br>
4545
##Setup up credentials </br>
4646

47-
You will get `url` and `Authorization` key here [http://cloud.openobserve.ai/ingestion/traces/](http://cloud.openobserve.ai/ingestion/traces/)
47+
You will get `url` and `Authorization` key [here](https://cloud.openobserve.ai/web/ingestion/custom/traces/opentelemetry).
4848

49-
Replace the `url` and `Authorization` key in the `tracing.js` file
49+
Replace the `url` and `Authorization` key in the `tracing.js` file.
5050

5151
##Setup Service/Application </br>
5252
Run commands

docs/ingestion/traces/python.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ trace.set_tracer_provider(tracer_provider)
4848
```
4949
##Setup up credentials
5050

51-
You will get `url` and `Authorization` key here [http://cloud.openobserve.ai/ingestion/traces/](http://cloud.openobserve.ai/ingestion/traces/)
51+
You will get `url` and `Authorization` key [here](https://cloud.openobserve.ai/web/ingestion/custom/traces/opentelemetry).
5252

53-
Replace the `url` and `Authorization` key in the `tracing.py` file
53+
Replace the `url` and `Authorization` key in the `tracing.py` file.
5454

5555
##Setup Service/Application
5656
Follow the steps given in the sample-tracing-python readme and then start server
@@ -65,9 +65,7 @@ Refresh page couple of times to get more traces exported.
6565

6666

6767

68-
Traces are captured, you can check these captured traces here [https://cloud.openobserve.ai/traces](https://cloud.openobserve.ai/traces)
69-
70-
![Traces Page](./images/traces_python.png)
68+
Traces are captured, you can check these captured traces here [https://cloud.openobserve.ai/web/traces](https://cloud.openobserve.ai/web/traces).
7169

7270
Filter traces with your service name `python-service`
7371

docs/openobserve-enterprise-edition-installation-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ This guide explains how to deploy [OpenObserve Enterprise Edition](https://openo
66
77
> For support, reach out in the [Slack channel](https://short.openobserve.ai/community).
88
9-
??? info "Architecture Overview"
9+
!!! info "Architecture Overview"
1010
OpenObserve Enterprise Edition depends on several components to support scalable ingestion, search, storage, and access control:
1111

1212
- **Object Storage**, such as S3, Azure Blob, GCS, or MinIO, stores all telemetry data in Parquet format.
1313
- **PostgreSQL** stores metadata such as dashboards, stream configurations, users, and the filelist table.
1414
- **NATS** coordinates communication between ingestion and query nodes.
15-
- **Dex and OpenFGA** enable Single Sign-On (SSO) and Role-Based Access Control (RBAC).
15+
- **Dex and OpenFGA** enable [Single Sign-On (SSO)](../user-guide/identity-and-access-management/sso/) and [Role-Based Access Control (RBAC)](../user-guide/identity-and-access-management/role-based-access-control/).
1616

1717

1818
### Installation Steps

0 commit comments

Comments
 (0)