From a9aa0063a216848cb1b0821a19cf328d159ff00a Mon Sep 17 00:00:00 2001 From: nreese Date: Thu, 8 Jun 2023 10:07:05 -0600 Subject: [PATCH 1/2] add posotion to TimeSeriesMetricType --- specification/_types/mapping/TimeSeriesMetricType.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } From 4e467e66014d591766b612289a6acfda4738989e Mon Sep 17 00:00:00 2001 From: nreese Date: Mon, 12 Jun 2023 08:01:23 -0600 Subject: [PATCH 2/2] output changes --- output/schema/schema.json | 5 ++++- output/typescript/types.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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