Skip to content

Commit 1b93486

Browse files
authored
chore(rpc): Add example request for EndpointTraceItemDetails (#7538)
1 parent 8943e88 commit 1b93486

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

snuba/admin/static/rpc_endpoints/exampleRequestTemplates.json

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
"AttributeValuesRequest": {
44
"v1": {
55
"meta": {
6-
"project_ids": [
7-
1
8-
],
6+
"project_ids": [1],
97
"organization_id": 1,
108
"cogs_category": "snuba-admin",
119
"referrer": "snuba-admin",
@@ -22,9 +20,7 @@
2220
"EndpointTraceItemTable": {
2321
"v1": {
2422
"meta": {
25-
"project_ids": [
26-
1
27-
],
23+
"project_ids": [1],
2824
"organization_id": 1,
2925
"cogs_category": "snuba-admin",
3026
"referrer": "snuba-admin",
@@ -55,9 +51,7 @@
5551
"EndpointTraceItemAttributeNames": {
5652
"v1": {
5753
"meta": {
58-
"project_ids": [
59-
1
60-
],
54+
"project_ids": [1],
6155
"organization_id": 1,
6256
"start_timestamp": "2024-10-03T00:00:00Z",
6357
"end_timestamp": "2024-10-04T00:00:00Z"
@@ -69,9 +63,7 @@
6963
"EndpointTimeSeries": {
7064
"v1": {
7165
"meta": {
72-
"project_ids": [
73-
1
74-
],
66+
"project_ids": [1],
7567
"organization_id": 1,
7668
"start_timestamp": "2024-10-03T00:00:00Z",
7769
"end_timestamp": "2024-10-04T00:00:00Z"
@@ -103,9 +95,7 @@
10395
"v1": {
10496
"timeSeriesRequest": {
10597
"meta": {
106-
"project_ids": [
107-
1
108-
],
98+
"project_ids": [1],
10999
"organization_id": 1,
110100
"start_timestamp": "2024-10-03T00:00:00Z",
111101
"end_timestamp": "2024-10-04T00:00:00Z"
@@ -137,5 +127,18 @@
137127
"timeWindowSecs": 300,
138128
"resolutionSecs": 60
139129
}
130+
},
131+
"EndpointTraceItemDetails": {
132+
"v1": {
133+
"item_id": "8570b64556314092",
134+
"trace_id": "b72ecd3afc204d0ebfd9e206f2d5d0d4",
135+
"meta": {
136+
"organization_id": 1,
137+
"project_ids": [1],
138+
"trace_item_type": 1,
139+
"start_timestamp": "2025-11-13T00:00:00Z",
140+
"end_timestamp": "2025-11-15T00:00:00Z"
141+
}
142+
}
140143
}
141144
}

0 commit comments

Comments
 (0)