From 0447d1b6c16431b6d6bbc1c1319ac68e4009d826 Mon Sep 17 00:00:00 2001 From: Alex Boten Date: Mon, 9 Nov 2020 08:41:11 -0800 Subject: [PATCH 1/2] set collection limit to 1000 --- sdk/trace/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/trace/config.go b/sdk/trace/config.go index f919019467a..16d2294a623 100644 --- a/sdk/trace/config.go +++ b/sdk/trace/config.go @@ -42,11 +42,11 @@ type Config struct { const ( // DefaultMaxEventsPerSpan is default max number of message events per span - DefaultMaxEventsPerSpan = 128 + DefaultMaxEventsPerSpan = 1000 // DefaultMaxAttributesPerSpan is default max number of attributes per span - DefaultMaxAttributesPerSpan = 32 + DefaultMaxAttributesPerSpan = 1000 // DefaultMaxLinksPerSpan is default max number of links per span - DefaultMaxLinksPerSpan = 32 + DefaultMaxLinksPerSpan = 1000 ) From a4aab7301ee8d840a4a1546faf0cf0650e9cbd3e Mon Sep 17 00:00:00 2001 From: Alex Boten Date: Mon, 9 Nov 2020 08:53:32 -0800 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8c1b4480a5..19ec79c75b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - The function signature of the Span `RecordError` method in `go.opentelemetry.io/otel` is updated to no longer take an unused context and instead take a required error value and a variable number of `EventOption`s. (#1254) - Move the `go.opentelemetry.io/otel/api/global` package to `go.opentelemetry.io/otel/global`. (#1262) - Rename correlation context header from `"otcorrelations"` to `"baggage"` to match the OpenTelemetry specification. (#1267) +- Updated span collection limits for attribute, event and link counts to 1000 (#1318) ### Removed