Skip to content

Commit 1811711

Browse files
committed
Fix formatting
1 parent 89956d4 commit 1811711

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

specification/indices/downsample/Request.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
* under the License.
1818
*/
1919

20-
import { RequestBase } from '@_types/Base'
21-
import { IndexName } from '@_types/common'
22-
import { DownsampleConfig } from '@indices/_types/Downsample'
20+
import { RequestBase } from "@_types/Base";
21+
import { IndexName } from "@_types/common";
22+
import { DownsampleConfig } from "@indices/_types/Downsample";
2323

2424
/**
2525
* Downsample an index.
@@ -28,7 +28,7 @@ import { DownsampleConfig } from '@indices/_types/Downsample'
2828
* - When running in `aggregate` mode, it pre-calculates and stores statistical summaries (`min`, `max`, `sum`, `value_count` and `avg`)
2929
* for each metric field grouped by a configured time interval and their dimensions.
3030
* - When running in `last_value` mode, it keeps the last value for each metric in the configured interval and their dimensions.
31-
*
31+
*
3232
* For example, a TSDS index that contains metrics sampled every 10 seconds can be downsampled to an hourly index.
3333
* All documents within an hour interval are summarized and stored as a single document in the downsample index.
3434
*
@@ -44,20 +44,20 @@ import { DownsampleConfig } from '@indices/_types/Downsample'
4444
export interface Request extends RequestBase {
4545
urls: [
4646
{
47-
path: '/{index}/_downsample/{target_index}'
48-
methods: ['POST']
49-
}
50-
]
47+
path: "/{index}/_downsample/{target_index}";
48+
methods: ["POST"];
49+
},
50+
];
5151
path_parts: {
5252
/**
5353
* Name of the time series index to downsample.
5454
*/
55-
index: IndexName
55+
index: IndexName;
5656
/**
5757
* Name of the index to create.
5858
*/
59-
target_index: IndexName
60-
}
59+
target_index: IndexName;
60+
};
6161
/** @codegen_name config */
62-
body: DownsampleConfig
62+
body: DownsampleConfig;
6363
}

0 commit comments

Comments
 (0)