Skip to content

Version 1.34 metric oscillates #6229

Open
@DasMagischeToastbrot

Description

@DasMagischeToastbrot

Describe the bug

We transform the traces to metrics (histogram) via the otel-collectors. We updated otel in our go code to version 1.34 and now when the metric (histogram) gets a high and a low value, it oscillates around both values. Until v1.33 the metric just counts up. In v1.34 we don't see this anymore, is there a default ttl in place now?

Image

Environment

  • OS: Linux
  • Go Version: 1.23.0
  • Version: v1.34

Customization: We use explicit bucket boundaries:

const explicitBucketBoundaries = []float64{0.025, 0.05, 0.1, 0.25, 1.0, 5.0, 60.0}

 handleSuccessHisto, _ = meter.Int64Histogram(
  "my-application.handle.success",
  metric.WithDescription("Successfully handled message metric"),
  metric.WithExplicitBucketBoundaries(explicitBucketBoundaries...),
 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Needs triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions