File tree Expand file tree Collapse file tree 13 files changed +114
-909
lines changed
Expand file tree Collapse file tree 13 files changed +114
-909
lines changed Original file line number Diff line number Diff line change @@ -3830,66 +3830,6 @@ menu:
38303830 - PatchGlobalVariable
38313831 unstable : []
38323832 order : 20
3833- - name : ' Synthetics: Edit a test suite'
3834- url : ' #synthetics-edit-a-test-suite'
3835- identifier : synthetics-synthetics-edit-a-test-suite
3836- parent : synthetics
3837- generated : true
3838- params :
3839- versions :
3840- - v2
3841- operationids :
3842- - EditSyntheticsSuite
3843- unstable : []
3844- order : 35
3845- - name : ' Synthetics: Get a suite'
3846- url : ' #synthetics-get-a-suite'
3847- identifier : synthetics-synthetics-get-a-suite
3848- parent : synthetics
3849- generated : true
3850- params :
3851- versions :
3852- - v2
3853- operationids :
3854- - GetSyntheticsSuite
3855- unstable : []
3856- order : 25
3857- - name : Search Synthetics suites
3858- url : ' #search-synthetics-suites'
3859- identifier : synthetics-search-synthetics-suites
3860- parent : synthetics
3861- generated : true
3862- params :
3863- versions :
3864- - v2
3865- operationids :
3866- - SearchSuites
3867- unstable : []
3868- order : 20
3869- - name : ' Synthetics: Bulk delete suites'
3870- url : ' #synthetics-bulk-delete-suites'
3871- identifier : synthetics-synthetics-bulk-delete-suites
3872- parent : synthetics
3873- generated : true
3874- params :
3875- versions :
3876- - v2
3877- operationids :
3878- - DeleteSyntheticsSuites
3879- unstable : []
3880- order : 40
3881- - name : ' Synthetics: Create a test suite'
3882- url : ' #synthetics-create-a-test-suite'
3883- identifier : synthetics-synthetics-create-a-test-suite
3884- parent : synthetics
3885- generated : true
3886- params :
3887- versions :
3888- - v2
3889- operationids :
3890- - CreateSyntheticsSuite
3891- unstable : []
3892- order : 30
38933833 - name : Save new value for on-demand concurrency cap
38943834 url : ' #save-new-value-for-on-demand-concurrency-cap'
38953835 identifier : synthetics-save-new-value-for-on-demand-concurrency-cap
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ {
2+ "layout_type" : " ordered" ,
3+ "title" : " Example-Dashboard with order_by values" ,
4+ "widgets" : [
5+ {
6+ "definition" : {
7+ "type" : " timeseries" ,
8+ "requests" : [
9+ {
10+ "q" : " avg:system.cpu.user{*} by {host}" ,
11+ "style" : {
12+ "palette" : " warm" ,
13+ "order_by" : " values"
14+ },
15+ "display_type" : " line"
16+ }
17+ ]
18+ }
19+ }
20+ ]
21+ }
Original file line number Diff line number Diff line change 1+ {
2+ "layout_type" : " ordered" ,
3+ "title" : " Example-Dashboard without order_by" ,
4+ "widgets" : [
5+ {
6+ "definition" : {
7+ "type" : " timeseries" ,
8+ "requests" : [
9+ {
10+ "q" : " avg:system.cpu.user{*} by {host}" ,
11+ "style" : {
12+ "palette" : " dog_classic" ,
13+ "line_type" : " solid" ,
14+ "line_width" : " normal"
15+ },
16+ "display_type" : " line"
17+ }
18+ ]
19+ }
20+ }
21+ ]
22+ }
Original file line number Diff line number Diff line change 1+ {
2+ "layout_type" : " ordered" ,
3+ "title" : " Example-Dashboard with order_by tags" ,
4+ "widgets" : [
5+ {
6+ "definition" : {
7+ "type" : " timeseries" ,
8+ "requests" : [
9+ {
10+ "q" : " avg:system.cpu.user{*} by {host}" ,
11+ "style" : {
12+ "palette" : " dog_classic" ,
13+ "order_by" : " tags"
14+ },
15+ "display_type" : " line"
16+ }
17+ ]
18+ }
19+ }
20+ ]
21+ }
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 441441 "suffix" : " _3982498788" ,
442442 "description" : " Create a new dashboard with timeseries widget containing style attributes"
443443 },
444+ {
445+ "group" : " dashboards" ,
446+ "suffix" : " _416487533" ,
447+ "description" : " Create a new dashboard with timeseries widget using order_by tags"
448+ },
449+ {
450+ "group" : " dashboards" ,
451+ "suffix" : " _1259346254" ,
452+ "description" : " Create a new dashboard with timeseries widget using order_by values"
453+ },
444454 {
445455 "group" : " dashboards" ,
446456 "suffix" : " _3520534424" ,
447457 "description" : " Create a new dashboard with timeseries widget with custom_unit"
448458 },
459+ {
460+ "group" : " dashboards" ,
461+ "suffix" : " _3631423980" ,
462+ "description" : " Create a new dashboard with timeseries widget without order_by for backward compatibility"
463+ },
449464 {
450465 "group" : " dashboards" ,
451466 "suffix" : " _1213075383" ,
Original file line number Diff line number Diff line change @@ -26170,6 +26170,8 @@ components:
2617026170 $ref: '#/components/schemas/WidgetLineType'
2617126171 line_width:
2617226172 $ref: '#/components/schemas/WidgetLineWidth'
26173+ order_by:
26174+ $ref: '#/components/schemas/WidgetStyleOrderBy'
2617326175 palette:
2617426176 description: Color palette to apply to the widget.
2617526177 type: string
@@ -26232,6 +26234,19 @@ components:
2623226234 description: Color palette to apply to the widget.
2623326235 type: string
2623426236 type: object
26237+ WidgetStyleOrderBy:
26238+ description: 'How to order series in timeseries visualizations.
26239+
26240+ - `tags`: Order series alphabetically by tag name (default behavior)
26241+
26242+ - `values`: Order series by their current metric values (typically descending)'
26243+ enum:
26244+ - tags
26245+ - values
26246+ type: string
26247+ x-enum-varnames:
26248+ - TAGS
26249+ - VALUES
2623526250 WidgetSummaryType:
2623626251 description: Which summary type should be used.
2623726252 enum:
You can’t perform that action at this time.
0 commit comments