Skip to content

Commit 8080154

Browse files
committed
DEVDOCS-10467 codeDepot markers
1 parent 0eed391 commit 8080154

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

app/monitor/examples/eg001_get_monitoring_data.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,20 @@ def worker(args):
1919
2. Get your monitor data via SDK
2020
"""
2121

22-
# Step 2 start
22+
2323

2424
# Create an API client with headers
25+
#ds-snippet-start:Monitor1Step2
2526
api_client = create_monitor_api_client(
2627
access_token=args["access_token"]
2728
)
29+
#ds-snippet-end:Monitor1Step2
2830

29-
# Step 2 end
30-
31-
#Step 3 start
32-
31+
#ds-snippet-start:Monitor1Step3
3332
dataset_api = DataSetApi(api_client=api_client)
3433
result = dataset_api.get_stream(
3534
data_set_name="monitor",
3635
version="2.0")._data
37-
# Step 3 end
36+
#ds-snippet-end:Monitor1Step3
3837

3938
return result

0 commit comments

Comments
 (0)