From 8e4f4dfecbbf1ef6098b6463806c68a2aec07235 Mon Sep 17 00:00:00 2001 From: Bartlomiej Obecny Date: Mon, 19 Oct 2020 13:36:54 +0200 Subject: [PATCH] Update to Proto v0.5.0 (#1588) * chore: updating submodule for opentelemetry-proto * chore: necessary changes after upgrade to proto ver. 0.5.0, aligning metrics to latest spec changes * chore: removing examples from lerna bootstrap * chore: cleaning ups unused interfaces * chore: fixing unit test * chore: updating aggregation temporality rules * chore: updating temporality for value recorder * chore: removing unneeded lib * chore: span id and trace id as hex * chore: adding value recorder to example --- api/src/metrics/Metric.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/src/metrics/Metric.ts b/api/src/metrics/Metric.ts index 0022c2a5b63..083055fbed2 100644 --- a/api/src/metrics/Metric.ts +++ b/api/src/metrics/Metric.ts @@ -59,6 +59,11 @@ export interface MetricOptions { * User provided logger. */ logger?: Logger; + + /** + * Boundaries optional for histogram + */ + boundaries?: number[]; } export interface BatchMetricOptions extends MetricOptions {