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

Release v0.59.0 #1934

Merged
merged 2 commits into from
Sep 1, 2022
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@

## Unreleased

## v0.59.0

This Splunk OpenTelemetry Collector release includes changes from the [opentelemetry-collector v0.59.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.59.0) and the [opentelemetry-collector-contrib v0.59.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.59.0) releases.

crobert-1 marked this conversation as resolved.
Show resolved Hide resolved
### 💡 Enhancements 💡

- Upgrade Golang to 1.19
- debug/configz: Address multiple confmap.Providers for service config and index debug/configz/initial by provider scheme.
- Add tar.gz distribution of Splunk Collector
- Update default gateway config to sync host metadata by default

## v0.58.0

Expand Down
227 changes: 115 additions & 112 deletions go.mod

Large diffs are not rendered by default.

497 changes: 263 additions & 234 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion instrumentation/packaging/java-agent-release.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.14.2
v1.15.0
2 changes: 1 addition & 1 deletion internal/exporter/httpsinkexporter/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func createTracesExporter(
cfg config.Exporter,
) (component.TracesExporter, error) {
exp := &httpSinkExporter{endpoint: cfg.(*Config).Endpoint}
return exporterhelper.NewTracesExporterWithContext(
return exporterhelper.NewTracesExporter(
ctx,
set,
cfg,
Expand Down
2 changes: 1 addition & 1 deletion internal/exporter/pulsarexporter/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (f *pulsarExporterFactory) createMetricsExporter(
if err != nil {
return nil, err
}
return exporterhelper.NewMetricsExporterWithContext(
return exporterhelper.NewMetricsExporter(
ctx,
settings,
cfg,
Expand Down
2 changes: 1 addition & 1 deletion internal/extension/smartagentextension/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const (
)

func NewFactory() component.ExtensionFactory {
return component.NewExtensionFactoryWithStabilityLevel(
return component.NewExtensionFactory(
typeStr,
createDefaultConfig,
createExtension,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ func pdataMetrics(dataType pmetric.MetricDataType, value any, timeReceived time.

dp := dps.AppendEmpty()
attributes = dp.Attributes()
attributes.Upsert("k0", pcommon.NewValueString("v0"))
attributes.Upsert("k1", pcommon.NewValueString("v1"))
attributes.Upsert("k2", pcommon.NewValueString("v2"))
attributes.UpsertString("k0", "v0")
attributes.UpsertString("k1", "v1")
attributes.UpsertString("k2", "v2")
attributes.Sort()
dp.SetTimestamp(pcommon.Timestamp(timeReceived.UnixNano()))
switch val := value.(type) {
Expand Down Expand Up @@ -208,7 +208,7 @@ func TestDatapointsToPDataMetrics(t *testing.T) {
}(),
expectedMetrics: func() pmetric.Metrics {
md := pdataMetrics(pmetric.MetricDataTypeGauge, 13, now)
md.ResourceMetrics().At(0).ScopeMetrics().At(0).Metrics().At(0).Gauge().DataPoints().At(0).Attributes().Update("k0", pcommon.NewValueString(""))
md.ResourceMetrics().At(0).ScopeMetrics().At(0).Metrics().At(0).Gauge().DataPoints().At(0).Attributes().UpdateString("k0", "")
return md
}(),
},
Expand Down
12 changes: 6 additions & 6 deletions tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ require (
github.com/signalfx/signalfx-go v1.23.0
github.com/stretchr/testify v1.8.0
github.com/testcontainers/testcontainers-go v0.13.0
go.opentelemetry.io/collector v0.58.0
go.opentelemetry.io/collector/pdata v0.56.0
go.opentelemetry.io/collector v0.59.0
go.opentelemetry.io/collector/pdata v0.59.0
go.opentelemetry.io/otel/trace v1.9.0
go.uber.org/atomic v1.9.0
go.uber.org/atomic v1.10.0
go.uber.org/zap v1.23.0
gopkg.in/yaml.v2 v2.4.0
)
Expand Down Expand Up @@ -42,7 +42,7 @@ require (
github.com/gorilla/websocket v1.4.2 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/klauspost/compress v1.15.9 // indirect
github.com/knadh/koanf v1.4.2 // indirect
github.com/knadh/koanf v1.4.3 // indirect
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/magiconair/properties v1.8.6 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
Expand Down Expand Up @@ -76,12 +76,12 @@ require (
go.uber.org/multierr v1.8.0 // indirect
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
golang.org/x/sys v0.0.0-20220808155132-1c4a2a72c664 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368 // indirect
google.golang.org/grpc v1.48.0 // indirect
google.golang.org/grpc v1.49.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
85 changes: 70 additions & 15 deletions tests/go.sum

Large diffs are not rendered by default.