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

Update OpenTelemetry Dependencies to latest #4275

Merged
merged 51 commits into from
Mar 1, 2024

Conversation

srv-gh-o11y-gdi
Copy link
Collaborator

Update OpenTelemetry Dependencies to latest

@hughesjj hughesjj force-pushed the create-pull-request/update-deps branch from 28b501b to 0debbde Compare February 20, 2024 22:50
@hughesjj
Copy link
Contributor

remaining errors:

2024/02/21 00:27:58 🐳 Starting container: 139a3de24a3e
2024/02/21 00:27:58 🚧 Waiting for container id 139a3de24a3e image: 2a79214e-dfda-4c49-a7d2-3fb6ece6da36:66125ad3-f1be-4528-8caf-031af89f084a
testcase.go:224:
Error Trace: /home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/testutils/testcase.go:224
/home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/testutils/testcase.go:171
/home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/testutils/testcase.go:186
/home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/testutils/testcase.go:158
/home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/testutils/testcase.go:288
/home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/receivers/oracledb/bundled_test.go:33
Error: Received unexpected error:
context deadline exceeded: failed to start container
Test: TestOracledbDockerObserver

        value: 630

contains unexpected metrics otelcol_http_client_duration, otelcol_http_client_request_size, otelcol_http_client_response_size
testcase.go:291:
Error Trace: /home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/testutils/testcase.go:291
/home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/receivers/lightprometheus/internal_prometheus_test.go:33
Error: Received unexpected error:

not sure what's up with "undefined"

    	            	            value: 30.021050929
    	            	 contains unexpected metrics otelcol_http_client_duration, otelcol_http_client_request_size, otelcol_http_client_response_size
    	Test:       	TestInternalPrometheusMetrics

2024/02/21 00:25:46 🐳 Stopping container: f840e02e6bf1
2024/02/21 00:25:46 ✋ Container stopped: f840e02e6bf1
2024/02/21 00:25:46 🐳 Terminating container: f840e02e6bf1
2024/02/21 00:25:46 🚫 Container terminated: f840e02e6bf1
Logs:
{{info 2024-02-21 00:25:13.014312629 +0000 UTC m=+0.005564181 Starting GRPC server undefined } [{endpoint 15 0 localhost:43729 }]}
{{info 2024-02-21 00:25:16.189021984 +0000 UTC m=+3.180273536 2024/02/21 00:25:16 settings.go:479: Set config to [/etc/config.yaml]

. Missing Metrics: [name: gauge.kafka.consumer.fetch-size-avg
type: DoubleGauge
]
testcase.go:291:
Error Trace: /home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/testutils/testcase.go:291
/home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/receivers/smartagent/collectd-kafka/collectd_kafka_test.go:71
Error: Received unexpected error:
instrumentation_scope:

type: IntGauge

. Missing Metrics: [name: gauge.nodes.system.cpu_utilization_rate
type: DoubleGauge
name: gauge.nodes.system.cpu_utilization_rate
type: DoubleGauge
name: gauge.nodes.system.cpu_utilization_rate
type: DoubleGauge
name: gauge.nodes.system.cpu_utilization_rate
type: DoubleGauge
]
testcase.go:291:
Error Trace: /home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/testutils/testcase.go:291
/home/runner/work/splunk-otel-collector/splunk-otel-collector/tests/receivers/smartagent/collectd-couchbase/collectd_couchbase_test.go:33
Error: Received unexpected error:

@hughesjj
Copy link
Contributor

@ oracledb issue, upgraded testcontainers and found what's likely the underlying issue. I'm guessing the panic prevented me from seeing it in the debugger? still odd we were able to run it from command line without issue...

panic: invalid character(s) in type "oracledb//receiver_creator/docker_observer{endpoint=\"172.17.0.3:1521\"}/cf434b75eff126e1cb9f5f57d3dd52f756e4060629ed8374f459da025cdbed99:1521"

@hughesjj hughesjj force-pushed the create-pull-request/update-deps branch from 8978236 to 578c15a Compare February 26, 2024 23:55
@hughesjj
Copy link
Contributor

@ oracledb issue, upgraded testcontainers and found what's likely the underlying issue. I'm guessing the panic prevented me from seeing it in the debugger? still odd we were able to run it from command line without issue...

panic: invalid character(s) in type "oracledb//receiver_creator/docker_observer{endpoint=\"172.17.0.3:1521\"}/cf434b75eff126e1cb9f5f57d3dd52f756e4060629ed8374f459da025cdbed99:1521"

Opened an issue upstream to resolve

open-telemetry/opentelemetry-collector-contrib#31457

@hughesjj hughesjj force-pushed the create-pull-request/update-deps branch from 8359560 to 85beb07 Compare February 27, 2024 23:04
@hughesjj hughesjj marked this pull request as ready for review February 27, 2024 23:32
@hughesjj hughesjj requested review from a team as code owners February 27, 2024 23:32
@hughesjj hughesjj force-pushed the create-pull-request/update-deps branch from b18ce7e to a5dda2e Compare February 29, 2024 23:00
go.opentelemetry.io/collector/extension v0.93.0
go.opentelemetry.io/collector/component v0.94.1
go.opentelemetry.io/collector/confmap v0.94.1
go.opentelemetry.io/collector/extension v0.94.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.94.1 used here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it correct that we want v0.94.1 of core and v0.94.0 of contrib? Or am I missing something?

github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin v0.93.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/experimentalmetricmetadata v0.94.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.94.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/zipkin v0.94.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.94.0 as well

@@ -50,5 +50,4 @@ log.info(ss.Ownership.toString())
output.sendDatapoint(util.makeGauge(
"cassandra.ownership",
ss.Ownership.get(InetAddress.getByName(localEndpoint)),
dims))

dims))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe that change can be reverted

Copy link
Contributor

@atoulme atoulme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hughesjj hughesjj merged commit 23f9b4b into main Mar 1, 2024
44 checks passed
@delete-merged-branch delete-merged-branch bot deleted the create-pull-request/update-deps branch March 1, 2024 00:11
@github-actions github-actions bot locked and limited conversation to collaborators Mar 1, 2024
@hughesjj hughesjj self-assigned this Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants