@@ -1741,6 +1741,9 @@ components:
17411741 type: string
17421742 markers:
17431743 description: List of markers.
1744+ example:
1745+ - display_type: percentile
1746+ value: '90'
17441747 items:
17451748 $ref: '#/components/schemas/WidgetMarker'
17461749 type: array
@@ -1799,14 +1802,6 @@ components:
17991802 - $ref: '#/components/schemas/FormulaAndFunctionMetricQueryDefinition'
18001803 - $ref: '#/components/schemas/FormulaAndFunctionEventQueryDefinition'
18011804 - $ref: '#/components/schemas/FormulaAndFunctionApmResourceStatsQueryDefinition'
1802- DistributionWidgetHistogramRequestType:
1803- description: Request type for the histogram request.
1804- enum:
1805- - histogram
1806- example: histogram
1807- type: string
1808- x-enum-varnames:
1809- - HISTOGRAM
18101805 DistributionWidgetRequest:
18111806 description: Updated distribution widget.
18121807 properties:
@@ -1816,6 +1811,11 @@ components:
18161811 $ref: '#/components/schemas/ApmStatsQueryDefinition'
18171812 event_query:
18181813 $ref: '#/components/schemas/LogQueryDefinition'
1814+ formulas:
1815+ description: List of formulas that operate on queries.
1816+ items:
1817+ $ref: '#/components/schemas/WidgetFormula'
1818+ type: array
18191819 log_query:
18201820 $ref: '#/components/schemas/LogQueryDefinition'
18211821 network_query:
@@ -1827,10 +1827,17 @@ components:
18271827 q:
18281828 description: Widget query.
18291829 type: string
1830+ queries:
1831+ description: List of queries that can be returned directly or used in formulas.
1832+ items:
1833+ $ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
1834+ type: array
18301835 query:
18311836 $ref: '#/components/schemas/DistributionWidgetHistogramRequestQuery'
18321837 request_type:
1833- $ref: '#/components/schemas/DistributionWidgetHistogramRequestType'
1838+ $ref: '#/components/schemas/WidgetHistogramRequestType'
1839+ response_format:
1840+ $ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
18341841 rum_query:
18351842 $ref: '#/components/schemas/LogQueryDefinition'
18361843 security_query:
@@ -1854,6 +1861,11 @@ components:
18541861 description: Specifies minimum value to show on the x-axis. It takes a number,
18551862 percentile (p90 === 90th percentile), or auto for default behavior.
18561863 type: string
1864+ num_buckets:
1865+ description: Number of value buckets to target, also known as the resolution
1866+ of the value bins.
1867+ format: int64
1868+ type: integer
18571869 scale:
18581870 default: linear
18591871 description: Specifies the scale type. Possible values are `linear`.
@@ -3752,6 +3764,14 @@ components:
37523764 type: array
37533765 legend_size:
37543766 $ref: '#/components/schemas/WidgetLegendSize'
3767+ markers:
3768+ description: List of markers.
3769+ example:
3770+ - display_type: percentile
3771+ value: '90'
3772+ items:
3773+ $ref: '#/components/schemas/WidgetMarker'
3774+ type: array
37553775 requests:
37563776 description: List of widget types.
37573777 example:
@@ -3776,6 +3796,8 @@ components:
37763796 type: string
37773797 type:
37783798 $ref: '#/components/schemas/HeatMapWidgetDefinitionType'
3799+ xaxis:
3800+ $ref: '#/components/schemas/HeatMapWidgetXAxis'
37793801 yaxis:
37803802 $ref: '#/components/schemas/WidgetAxis'
37813803 required:
@@ -3819,6 +3841,10 @@ components:
38193841 items:
38203842 $ref: '#/components/schemas/FormulaAndFunctionQueryDefinition'
38213843 type: array
3844+ query:
3845+ $ref: '#/components/schemas/FormulaAndFunctionMetricQueryDefinition'
3846+ request_type:
3847+ $ref: '#/components/schemas/WidgetHistogramRequestType'
38223848 response_format:
38233849 $ref: '#/components/schemas/FormulaAndFunctionResponseFormat'
38243850 rum_query:
@@ -3828,6 +3854,16 @@ components:
38283854 style:
38293855 $ref: '#/components/schemas/WidgetStyle'
38303856 type: object
3857+ HeatMapWidgetXAxis:
3858+ description: X Axis controls for the heat map widget.
3859+ properties:
3860+ num_buckets:
3861+ description: Number of time buckets to target, also known as the resolution
3862+ of the time bins. This is only applicable for distribution of points (group
3863+ distributions use the roll-up modifier).
3864+ format: int64
3865+ type: integer
3866+ type: object
38313867 Host:
38323868 description: Object representing a host.
38333869 properties:
@@ -25041,6 +25077,14 @@ components:
2504125077 x-enum-varnames:
2504225078 - CHECK
2504325079 - CLUSTER
25080+ WidgetHistogramRequestType:
25081+ description: Request type for the histogram request.
25082+ enum:
25083+ - histogram
25084+ example: histogram
25085+ type: string
25086+ x-enum-varnames:
25087+ - HISTOGRAM
2504425088 WidgetHorizontalAlign:
2504525089 description: Horizontal alignment.
2504625090 enum:
@@ -25245,7 +25289,7 @@ components:
2524525289 display_type:
2524625290 description: "Combination of:\n - A severity error, warning, ok, or info\n
2524725291 \ - A line type: dashed, solid, or bold\nIn this case of a Distribution
25248- widget, this can be set to be `x_axis_percentile `."
25292+ widget, this can be set to be `percentile `."
2524925293 example: error dashed
2525025294 type: string
2525125295 label:
@@ -25256,8 +25300,11 @@ components:
2525625300 description: Timestamp for the widget.
2525725301 type: string
2525825302 value:
25259- description: Value to apply. Can be a single value y = 15 or a range of
25303+ description: ' Value to apply. Can be a single value y = 15 or a range of
2526025304 values 0 < y < 10.
25305+
25306+ For Distribution widgets with `display_type` set to `percentile`, this
25307+ should be a numeric percentile value (for example, "90" for P90).'
2526125308 example: y = 15
2526225309 type: string
2526325310 required:
0 commit comments