Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prerelease pkgs v0.7.0 #151

Merged
merged 2 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .chloggen/fix-metric-mapping.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .chloggen/mx-psi_histo-min-max.yaml

This file was deleted.

9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@

<!-- next version -->

## v0.7.0

### 🧰 Bug fixes 🧰

- `pkg/otlp/metrics`: Fix the incorrect for-loop which mutates the same slice while iterating over it, leading to unexpected metric names. Also avoid mutating the input pmetric.Metrics. (#141)
- `pkg/otlp/metrics`: The minimum and maximum estimation for OTLP Histogram to Datadog distribution mapping now ensures the average is within [min, max]. (#149)
This estimation is only used when the minimum and maximum are not available in the OTLP payload or this is a cumulative payload.


## v0.5.5

### 🧰 Bug fixes 🧰
Expand Down
2 changes: 1 addition & 1 deletion pkg/inframetadata/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/DataDog/opentelemetry-mapping-go/pkg/inframetadata
go 1.19

require (
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.6.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.7.0
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/collector/pdata v1.0.0-rcv0014
go.opentelemetry.io/collector/semconv v0.82.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/otlp/logs/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/DataDog/datadog-api-client-go/v2 v2.13.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.6.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.7.0
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/collector/pdata v1.0.0-rcv0014
go.opentelemetry.io/collector/semconv v0.82.0
Expand Down
6 changes: 3 additions & 3 deletions pkg/otlp/metrics/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ go 1.19

require (
github.com/DataDog/datadog-agent/pkg/proto v0.48.0-beta.1
github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.6.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.6.0
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.6.0
github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.7.0
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes v0.7.0
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile v0.7.0
github.com/DataDog/sketches-go v1.4.2
github.com/golang/protobuf v1.5.3
github.com/lightstep/go-expohisto v1.0.0
Expand Down
2 changes: 1 addition & 1 deletion pkg/quantile/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/DataDog/opentelemetry-mapping-go/pkg/quantile
go 1.19

require (
github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.6.0
github.com/DataDog/opentelemetry-mapping-go/pkg/internal/sketchtest v0.7.0
github.com/DataDog/sketches-go v1.4.2
github.com/dustin/go-humanize v1.0.1
github.com/stretchr/testify v1.8.4
Expand Down
2 changes: 1 addition & 1 deletion versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

module-sets:
pkgs:
version: v0.6.0
version: v0.7.0
modules:
- github.com/DataDog/opentelemetry-mapping-go/pkg/quantile
- github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes
Expand Down