mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-30 21:20:04 +02:00
Update span collection limits to 1000 (#1318)
* set collection limit to 1000 * update changelog Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
parent
b7508da6fa
commit
3a06b393b9
@ -39,6 +39,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
||||
`host.name` semantic conventions; the former method is renamed `resource.NewWithAttributes`. (#1235)
|
||||
- The prometheus exporter now exports non-monotonic counters (i.e. `UpDownCounter`s) as gauges. (#1210)
|
||||
- Correct the `Span.End` method documentation in the `otel` API to state updates are not allowed on a span after it has ended. (#1310)
|
||||
- Updated span collection limits for attribute, event and link counts to 1000 (#1318)
|
||||
|
||||
### Removed
|
||||
|
||||
|
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user