-
Notifications
You must be signed in to change notification settings - Fork 104
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 OTel dependency to v1.15.0-rc.1/v0.38.0-rc.1 #611
Conversation
Codecov Report
@@ Coverage Diff @@
## main #611 +/- ##
==========================================
+ Coverage 63.55% 66.14% +2.59%
==========================================
Files 38 36 -2
Lines 4409 4224 -185
==========================================
- Hits 2802 2794 -8
+ Misses 1483 1306 -177
Partials 124 124
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Drop Go 1.18 because otelcol changed to use
If you accept this, I'll squash the below commit: |
Failed lint job because doesn't support current golangci-lint to go1.20. So update to |
3c951d3
to
30e6ae4
Compare
/gcbrun |
@damemi Seems passed all tests. Should I squash? |
STABLE_OTEL_VERSION=v1.15.0-rc.1 | ||
UNSTABLE_OTEL_VERSION=v0.38.0-rc.1 | ||
STABLE_CONTRIB_OTEL_VERSION=v1.16.0-rc.1 | ||
UNSTABLE_CONTRIB_OTEL_VERSION=v0.41.0-rc.1 | ||
STABLE_COLLECTOR_VERSION=v1.0.0-rc7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of bumping to rc
tags now, would it be worth just waiting for the GA tags of each of these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@damemi follow your opinion. However, I will continue to send PRs to follow upstream.
@@ -8,7 +8,7 @@ env: | |||
# Path to where test results will be saved. | |||
TEST_RESULTS: /tmp/test-results | |||
# Default minimum version of Go to support. | |||
DEFAULT_GO_VERSION: 1.19 | |||
DEFAULT_GO_VERSION: "1.20" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we update our go.mod files to 1.20 as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@damemi PTAL |
@@ -109,14 +109,13 @@ func main() { | |||
|
|||
// Add measurement once an every 10 second. | |||
timer := time.NewTicker(10 * time.Second) | |||
rng := rand.New(rand.NewSource(time.Now().UnixNano())) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lint issue on go1.20
/gcbrun |
@damemi I'll fix conflicts |
sorry @zchee, I caused those conflicts because I wanted to get at least 1 release published on go 1.19 before moving forward with this (instead of jumping from 1.18->1.20 in one release). I'm still not sure about the |
Update each OTel dependency, and format go.mod. Also, remove deprecated (removed) go.otel/metric/unit package and unified semconv version with v1.18.0. - go.opentelemetry.io/otel@v1.15.0-rc.1 - go.opentelemetry.io/otel/metric@v1.15.0-rc.1 - go.opentelemetry.io/otel/metric/instrument@v1.15.0-rc.1 - go.opentelemetry.io/otel/sdk@v1.15.0-rc.1 - go.opentelemetry.io/otel/sdk/export/metric@v0.38.0-rc.1 - go.opentelemetry.io/otel/sdk/metric@v0.38.0-rc.1 - go.opentelemetry.io/otel/trace@v1.15.0-rc.1 - go.opentelemetry.io/otel/exporters/prometheus@v0.38.0-rc.1 - go.opentelemetry.io/contrib/detectors/gcp@v1.16.0-rc.1 - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.41.0-rc.1 - go.opentelemetry.io/collector@v0.73.0 - go.opentelemetry.io/collector/featuregate@v0.73.0 - go.opentelemetry.io/collector/semconv@v0.73.0 - go.opentelemetry.io/collector/pdata@v1.0.0-rc7 - github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheus@v0.73.0 Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
np, that I also thought makes sense.
Okay, I agree. |
Update each OTel dependency to v1.15.0-rc.1/v0.38.0-rc.1 and format
go.mod
.Also, remove the deprecated (removed)
go.opentelemetry.io/otel/metric/unit
package and unifiedsemconv
version withv1.18.0
.