From 7afe7adc6ffac5f338b13f9662a69fecdb65f6ca Mon Sep 17 00:00:00 2001 From: Jacob Aronoff Date: Tue, 25 Apr 2023 17:52:12 -0400 Subject: [PATCH] Update the chloggen, deps --- .chloggen/7517-behind-ff.yaml | 4 ++-- service/telemetry.go | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.chloggen/7517-behind-ff.yaml b/.chloggen/7517-behind-ff.yaml index 8cf505c63b2..237c1c0fcbf 100755 --- a/.chloggen/7517-behind-ff.yaml +++ b/.chloggen/7517-behind-ff.yaml @@ -1,11 +1,11 @@ # One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: breaking +change_type: enhancement # The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver) component: observavibility # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Puts the meter provider for otlp grpc and otlp http receivers behind a feature flag due to high cardinality issues. +note: Allows users to disable high cardinality OTLP attributes behind a feature flag. # One or more tracking issues or pull requests related to the change issues: [7517] diff --git a/service/telemetry.go b/service/telemetry.go index ce4df650719..39e391757d9 100644 --- a/service/telemetry.go +++ b/service/telemetry.go @@ -22,8 +22,6 @@ import ( "strings" "unicode" - "go.opentelemetry.io/otel/sdk/instrumentation" - ocprom "contrib.go.opencensus.io/exporter/prometheus" "github.com/google/uuid" "github.com/prometheus/client_golang/prometheus" @@ -38,6 +36,7 @@ import ( otelprom "go.opentelemetry.io/otel/exporters/prometheus" "go.opentelemetry.io/otel/metric" "go.opentelemetry.io/otel/propagation" + "go.opentelemetry.io/otel/sdk/instrumentation" sdkmetric "go.opentelemetry.io/otel/sdk/metric" "go.opentelemetry.io/otel/sdk/metric/aggregation" "go.opentelemetry.io/otel/sdk/resource"