diff --git a/output/schema/schema.json b/output/schema/schema.json index fb3e44d46e..bab46f4548 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -68437,13 +68437,16 @@ }, { "name": "histogram" + }, + { + "name": "position" } ], "name": { "name": "TimeSeriesMetricType", "namespace": "_types.mapping" }, - "specLocation": "_types/mapping/TimeSeriesMetricType.ts#L20-L25" + "specLocation": "_types/mapping/TimeSeriesMetricType.ts#L20-L26" }, { "inherits": { diff --git a/output/typescript/types.ts b/output/typescript/types.ts index ea52bb5278..a1f95ff02b 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -5221,7 +5221,7 @@ export interface MappingTextProperty extends MappingCorePropertyBase { type: 'text' } -export type MappingTimeSeriesMetricType = 'gauge' | 'counter' | 'summary' | 'histogram' +export type MappingTimeSeriesMetricType = 'gauge' | 'counter' | 'summary' | 'histogram' | 'position' export interface MappingTokenCountProperty extends MappingDocValuesPropertyBase { analyzer?: string diff --git a/specification/_types/mapping/TimeSeriesMetricType.ts b/specification/_types/mapping/TimeSeriesMetricType.ts index 3b427b0a0d..40ce15bc46 100644 --- a/specification/_types/mapping/TimeSeriesMetricType.ts +++ b/specification/_types/mapping/TimeSeriesMetricType.ts @@ -21,5 +21,6 @@ export enum TimeSeriesMetricType { gauge, counter, summary, - histogram + histogram, + position }