@@ -39,6 +39,8 @@ components:
39
39
properties:
40
40
errors:
41
41
description: Array of errors returned by the API.
42
+ example:
43
+ - Bad Request
42
44
items:
43
45
description: Error description.
44
46
example: Bad Request
@@ -1683,6 +1685,10 @@ components:
1683
1685
description: Points relating to the distribution point metric. All points
1684
1686
must be tuples with timestamp and a list of values (cannot be a string).
1685
1687
Timestamps should be in POSIX time in seconds.
1688
+ example:
1689
+ - - 1575317847.0
1690
+ - - 0.5
1691
+ - 1.0
1686
1692
items:
1687
1693
$ref: '#/components/schemas/DistributionPoint'
1688
1694
type: array
@@ -4730,11 +4736,11 @@ components:
4730
4736
$ref: '#/components/schemas/WidgetEventSize'
4731
4737
group_by:
4732
4738
description: Group by configuration for the List Stream Widget. Group by
4733
- can be used only with logs_pattern_stream (up to 3 items) or logs_transaction_stream
4739
+ can be used only with logs_pattern_stream (up to 4 items) or logs_transaction_stream
4734
4740
(one group by item is required) list stream source.
4735
4741
items:
4736
4742
$ref: '#/components/schemas/ListStreamGroupByItems'
4737
- maxItems: 3
4743
+ maxItems: 4
4738
4744
type: array
4739
4745
indexes:
4740
4746
description: List of indexes.
@@ -5570,11 +5576,27 @@ components:
5570
5576
description: The name of the index.
5571
5577
example: main
5572
5578
type: string
5579
+ num_flex_logs_retention_days:
5580
+ description: 'The total number of days logs are stored in Standard and Flex
5581
+ Tier before being deleted from the index.
5582
+
5583
+ If Standard Tier is enabled on this index, logs are first retained in
5584
+ Standard Tier for the number of days specified through `num_retention_days`,
5585
+
5586
+ and then stored in Flex Tier until the number of days specified in `num_flex_logs_retention_days`
5587
+ is reached.
5588
+
5589
+ The available values depend on retention plans specified in your organization''s
5590
+ contract/subscriptions.'
5591
+ example: 360
5592
+ format: int64
5593
+ type: integer
5573
5594
num_retention_days:
5574
- description: 'The number of days before logs are deleted from this index.
5575
- Available values depend on
5595
+ description: 'The number of days logs are stored in Standard Tier before
5596
+ aging into the Flex Tier or being deleted from the index.
5576
5597
5577
- retention plans specified in your organization''s contract/subscriptions.'
5598
+ The available values depend on retention plans specified in your organization''s
5599
+ contract/subscriptions.'
5578
5600
example: 15
5579
5601
format: int64
5580
5602
type: integer
@@ -5633,17 +5655,35 @@ components:
5633
5655
type: array
5634
5656
filter:
5635
5657
$ref: '#/components/schemas/LogsFilter'
5636
- num_retention_days :
5637
- description: 'The number of days before logs are deleted from this index.
5638
- Available values depend on
5658
+ num_flex_logs_retention_days :
5659
+ description: 'The total number of days logs are stored in Standard and Flex
5660
+ Tier before being deleted from the index.
5639
5661
5640
- retention plans specified in your organization''s contract/subscriptions.
5662
+ If Standard Tier is enabled on this index, logs are first retained in
5663
+ Standard Tier for the number of days specified through `num_retention_days`,
5641
5664
5665
+ and then stored in Flex Tier until the number of days specified in `num_flex_logs_retention_days`
5666
+ is reached.
5642
5667
5643
- **Note:** Changing the retention for an index adjusts the length of retention
5644
- for all logs
5668
+ The available values depend on retention plans specified in your organization''s
5669
+ contract/subscriptions.
5645
5670
5646
- already in this index. It may also affect billing.'
5671
+
5672
+ **Note**: Changing this value affects all logs already in this index.
5673
+ It may also affect billing.'
5674
+ example: 360
5675
+ format: int64
5676
+ type: integer
5677
+ num_retention_days:
5678
+ description: 'The number of days logs are stored in Standard Tier before
5679
+ aging into the Flex Tier or being deleted from the index.
5680
+
5681
+ The available values depend on retention plans specified in your organization''s
5682
+ contract/subscriptions.
5683
+
5684
+
5685
+ **Note**: Changing this value affects all logs already in this index.
5686
+ It may also affect billing.'
5647
5687
example: 15
5648
5688
format: int64
5649
5689
type: integer
@@ -9313,13 +9353,17 @@ components:
9313
9353
properties:
9314
9354
keys:
9315
9355
description: Keys to split on.
9356
+ example:
9357
+ - environment
9316
9358
items:
9317
9359
description: A key to split on.
9318
9360
example: environment
9319
9361
type: string
9320
9362
type: array
9321
9363
tags:
9322
9364
description: Tags to split on.
9365
+ example:
9366
+ - environment:staging
9323
9367
items:
9324
9368
description: A tag to split on.
9325
9369
example: environment:staging
@@ -10532,6 +10576,7 @@ components:
10532
10576
description: A formula and function query.
10533
10577
example:
10534
10578
data_source: metrics
10579
+ name: query1
10535
10580
query: sum:trace.servlet.request.hits{*} by {env}.as_count()
10536
10581
oneOf:
10537
10582
- $ref: '#/components/schemas/FormulaAndFunctionMetricQueryDefinition'
@@ -11596,13 +11641,19 @@ components:
11596
11641
formulas:
11597
11642
description: A list that contains exactly one formula, as only a single
11598
11643
formula may be used in a time-slice SLO.
11644
+ example:
11645
+ - formula: query1 - default_zero(query2)
11599
11646
items:
11600
11647
$ref: '#/components/schemas/SLOFormula'
11601
11648
maxItems: 1
11602
11649
minItems: 1
11603
11650
type: array
11604
11651
queries:
11605
11652
description: A list of queries that are used to calculate the SLI value.
11653
+ example:
11654
+ - data_source: metrics
11655
+ name: query1
11656
+ query: sum:trace.servlet.request.hits{*} by {env}.as_count()
11606
11657
items:
11607
11658
$ref: '#/components/schemas/SLODataSourceQueryDefinition'
11608
11659
type: array
@@ -12317,6 +12368,9 @@ components:
12317
12368
timestamp and a scalar value (cannot be a string). Timestamps should be
12318
12369
in POSIX time in seconds, and cannot be more than ten minutes in the future
12319
12370
or more than one hour in the past.
12371
+ example:
12372
+ - - 1575317847.0
12373
+ - 0.5
12320
12374
items:
12321
12375
$ref: '#/components/schemas/Point'
12322
12376
type: array
@@ -12843,7 +12897,6 @@ components:
12843
12897
items:
12844
12898
description: Email address that can receive an invitation to access the
12845
12899
shared dashboard.
12846
- format: email
12847
12900
type: string
12848
12901
nullable: true
12849
12902
type: array
@@ -13028,7 +13081,6 @@ components:
13028
13081
items:
13029
13082
description: Email address that can receive an invitation to access the
13030
13083
shared dashboard.
13031
- format: email
13032
13084
type: string
13033
13085
nullable: true
13034
13086
type: array
@@ -13164,6 +13216,8 @@ components:
13164
13216
$ref: '#/components/schemas/SplitSort'
13165
13217
split_dimensions:
13166
13218
description: The dimension(s) on which to split the graph
13219
+ example:
13220
+ - one_graph_per: service
13167
13221
items:
13168
13222
$ref: '#/components/schemas/SplitDimension'
13169
13223
maxItems: 1
@@ -16217,10 +16271,7 @@ components:
16217
16271
type: string
16218
16272
dnsServerPort:
16219
16273
description: DNS server port to use for DNS tests.
16220
- format: int32
16221
- maximum: 65535
16222
- minimum: 1
16223
- type: integer
16274
+ type: string
16224
16275
files:
16225
16276
description: Files to be used as part of the request in the test.
16226
16277
items:
@@ -16260,8 +16311,7 @@ components:
16260
16311
type: boolean
16261
16312
port:
16262
16313
description: Port to use when performing the test.
16263
- format: int64
16264
- type: integer
16314
+ type: string
16265
16315
proxy:
16266
16316
$ref: '#/components/schemas/SyntheticsTestRequestProxy'
16267
16317
query:
@@ -21162,12 +21212,10 @@ components:
21162
21212
email:
21163
21213
description: The new email of the user.
21164
21214
21165
- format: email
21166
21215
type: string
21167
21216
handle:
21168
21217
description: The user handle, must be a valid email.
21169
21218
21170
- format: email
21171
21219
type: string
21172
21220
icon:
21173
21221
description: Gravatar icon associated to the user.
@@ -24356,6 +24404,7 @@ paths:
24356
24404
name: metric_query
24357
24405
schema:
24358
24406
type: string
24407
+ x-docs-curl-required: true
24359
24408
- description: The POSIX timestamp of the start of the query in seconds.
24360
24409
in: query
24361
24410
name: start
@@ -33854,7 +33903,6 @@ paths:
33854
33903
required: true
33855
33904
schema:
33856
33905
33857
- format: email
33858
33906
type: string
33859
33907
responses:
33860
33908
'200':
@@ -33896,7 +33944,6 @@ paths:
33896
33944
required: true
33897
33945
schema:
33898
33946
33899
- format: email
33900
33947
type: string
33901
33948
responses:
33902
33949
'200':
@@ -33935,7 +33982,6 @@ paths:
33935
33982
required: true
33936
33983
schema:
33937
33984
33938
- format: email
33939
33985
type: string
33940
33986
requestBody:
33941
33987
content:
0 commit comments