Skip to content

Commit

Permalink
build(deps): bump github.com/elastic/opentelemetry-lib from 0.8.1 to …
Browse files Browse the repository at this point in the history
…0.9.0 (#357)

* build(deps): bump github.com/elastic/opentelemetry-lib

Bumps [github.com/elastic/opentelemetry-lib](https://github.com/elastic/opentelemetry-lib) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/elastic/opentelemetry-lib/releases)
- [Commits](elastic/opentelemetry-lib@v0.8.1...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/elastic/opentelemetry-lib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update test case as per latest otel

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vishal Raj <[email protected]>
  • Loading branch information
dependabot[bot] and lahsivjar authored Sep 6, 2024
1 parent c584875 commit 2f0f99a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/elastic/apm-data
go 1.22

require (
github.com/elastic/opentelemetry-lib v0.8.1
github.com/elastic/opentelemetry-lib v0.9.0
github.com/google/go-cmp v0.6.0
github.com/jaegertracing/jaeger v1.60.0
github.com/json-iterator/go v1.1.12
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ github.com/elastic/go-sysinfo v1.7.1/go.mod h1:i1ZYdU10oLNfRzq4vq62BEwD2fH8KaWh6
github.com/elastic/go-windows v1.0.0/go.mod h1:TsU0Nrp7/y3+VwE82FoZF8gC/XFg/Elz6CcloAxnPgU=
github.com/elastic/go-windows v1.0.1 h1:AlYZOldA+UJ0/2nBuqWdo90GFCgG9xuyw9SYzGUtJm0=
github.com/elastic/go-windows v1.0.1/go.mod h1:FoVvqWSun28vaDQPbj2Elfc0JahhPB7WQEGa3c814Ss=
github.com/elastic/opentelemetry-lib v0.8.1 h1:1QnrlBsaDKKlTlTMajgQTYdOFg42rAZLU/CH9DKZ3vE=
github.com/elastic/opentelemetry-lib v0.8.1/go.mod h1:ttRzVFcQKjogveyhxDTRMD+s6Igi5XHqV7HcU933lR8=
github.com/elastic/opentelemetry-lib v0.9.0 h1:auMnq5zxqnB3eQNNdfz8+mtooy0D8+2ZEusU0sHeDj4=
github.com/elastic/opentelemetry-lib v0.9.0/go.mod h1:H4ECk7whGn41etgYL4zQWJ2BWN5xwP2A5HUIIwNrM9Y=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
Expand Down
12 changes: 6 additions & 6 deletions input/otlp/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ func TestConsumeMetricsWithOTelRemapper(t *testing.T) {
metrics := pmetric.NewMetrics()
sm := metrics.ResourceMetrics().AppendEmpty().
ScopeMetrics().AppendEmpty()
sm.Scope().SetName("otelcol/hostmetricsreceiver/load")
sm.Scope().SetName("github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/loadscraper")

metric := sm.Metrics().AppendEmpty()
metric.SetName("system.cpu.load_average.1m")
Expand All @@ -884,7 +884,7 @@ func TestConsumeMetricsWithOTelRemapper(t *testing.T) {
Service: &modelpb.Service{
Name: "unknown",
Language: &modelpb.Language{Name: "unknown"},
Framework: &modelpb.Framework{Name: "otelcol/hostmetricsreceiver/load"},
Framework: &modelpb.Framework{Name: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/loadscraper"},
},
Agent: &modelpb.Agent{Name: "otlp", Version: "unknown"},
Timestamp: modelpb.FromTime(ts),
Expand All @@ -903,7 +903,7 @@ func TestConsumeMetricsWithOTelRemapper(t *testing.T) {
Service: &modelpb.Service{
Name: "unknown",
Language: &modelpb.Language{Name: "unknown"},
Framework: &modelpb.Framework{Name: "otelcol/hostmetricsreceiver/load"},
Framework: &modelpb.Framework{Name: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/loadscraper"},
},
Agent: &modelpb.Agent{Name: "otlp", Version: "unknown"},
Timestamp: modelpb.FromTime(ts),
Expand Down Expand Up @@ -943,7 +943,7 @@ func TestConsumeMetricsWithOTelRemapper(t *testing.T) {
rm.Resource().Attributes().PutStr("process.owner", "testowner")
rm.Resource().Attributes().PutStr("process.command_line", "testcmdline")
sm := rm.ScopeMetrics().AppendEmpty()
sm.Scope().SetName("otelcol/hostmetricsreceiver/process")
sm.Scope().SetName("github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/processscraper")

metric := sm.Metrics().AppendEmpty()
metric.SetName("process.memory.usage")
Expand All @@ -959,7 +959,7 @@ func TestConsumeMetricsWithOTelRemapper(t *testing.T) {
Service: &modelpb.Service{
Name: "unknown",
Language: &modelpb.Language{Name: "unknown"},
Framework: &modelpb.Framework{Name: "otelcol/hostmetricsreceiver/process"},
Framework: &modelpb.Framework{Name: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/processscraper"},
},
Agent: &modelpb.Agent{Name: "otlp", Version: "unknown"},
Timestamp: modelpb.FromTime(ts),
Expand All @@ -984,7 +984,7 @@ func TestConsumeMetricsWithOTelRemapper(t *testing.T) {
Service: &modelpb.Service{
Name: "unknown",
Language: &modelpb.Language{Name: "unknown"},
Framework: &modelpb.Framework{Name: "otelcol/hostmetricsreceiver/process"},
Framework: &modelpb.Framework{Name: "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/processscraper"},
},
Agent: &modelpb.Agent{Name: "otlp", Version: "unknown"},
Timestamp: modelpb.FromTime(ts),
Expand Down

0 comments on commit 2f0f99a

Please sign in to comment.