Skip to content

Commit e025feb

Browse files
renovate[bot]opentelemetrybotsongy23tigrannajaryan
authored
fix(deps): update all github.com/splunk/stef packages to v0.0.5 (#39551)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/splunk/stef/go/grpc](https://redirect.github.com/splunk/stef) | `v0.0.5-0.20250328192643-20ae67012e0c` -> `v0.0.5` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsplunk%2fstef%2fgo%2fgrpc/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fsplunk%2fstef%2fgo%2fgrpc/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fsplunk%2fstef%2fgo%2fgrpc/v0.0.5-0.20250328192643-20ae67012e0c/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsplunk%2fstef%2fgo%2fgrpc/v0.0.5-0.20250328192643-20ae67012e0c/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/splunk/stef/go/grpc](https://redirect.github.com/splunk/stef) | `v0.0.4` -> `v0.0.5` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsplunk%2fstef%2fgo%2fgrpc/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fsplunk%2fstef%2fgo%2fgrpc/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fsplunk%2fstef%2fgo%2fgrpc/v0.0.4/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsplunk%2fstef%2fgo%2fgrpc/v0.0.4/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/splunk/stef/go/otel](https://redirect.github.com/splunk/stef) | `v0.0.5-0.20250328192643-20ae67012e0c` -> `v0.0.5` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsplunk%2fstef%2fgo%2fotel/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fsplunk%2fstef%2fgo%2fotel/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fsplunk%2fstef%2fgo%2fotel/v0.0.5-0.20250328192643-20ae67012e0c/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsplunk%2fstef%2fgo%2fotel/v0.0.5-0.20250328192643-20ae67012e0c/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/splunk/stef/go/otel](https://redirect.github.com/splunk/stef) | `v0.0.4` -> `v0.0.5` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsplunk%2fstef%2fgo%2fotel/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fsplunk%2fstef%2fgo%2fotel/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fsplunk%2fstef%2fgo%2fotel/v0.0.4/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsplunk%2fstef%2fgo%2fotel/v0.0.4/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/splunk/stef/go/pdata](https://redirect.github.com/splunk/stef) | `v0.0.5-0.20250328192643-20ae67012e0c` -> `v0.0.5` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsplunk%2fstef%2fgo%2fpdata/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fsplunk%2fstef%2fgo%2fpdata/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fsplunk%2fstef%2fgo%2fpdata/v0.0.5-0.20250328192643-20ae67012e0c/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsplunk%2fstef%2fgo%2fpdata/v0.0.5-0.20250328192643-20ae67012e0c/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [github.com/splunk/stef/go/pdata](https://redirect.github.com/splunk/stef) | `v0.0.4` -> `v0.0.5` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fsplunk%2fstef%2fgo%2fpdata/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fsplunk%2fstef%2fgo%2fpdata/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fsplunk%2fstef%2fgo%2fpdata/v0.0.4/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fsplunk%2fstef%2fgo%2fpdata/v0.0.4/v0.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>splunk/stef (github.com/splunk/stef/go/grpc)</summary> ### [`v0.0.5`](https://redirect.github.com/splunk/stef/releases/tag/v0.0.5) [Compare Source](https://redirect.github.com/splunk/stef/compare/v0.0.4...v0.0.5) ##### What's Changed - Generating enums from IDL by [@&#8203;tigrannajaryan](https://redirect.github.com/tigrannajaryan) in [https://github.com/splunk/stef/pull/56](https://redirect.github.com/splunk/stef/pull/56) - Add basic STEF receiver implementation by [@&#8203;tigrannajaryan](https://redirect.github.com/tigrannajaryan) in [https://github.com/splunk/stef/pull/50](https://redirect.github.com/splunk/stef/pull/50) - Add ability to indicate bad record in gRPC responses by [@&#8203;tigrannajaryan](https://redirect.github.com/tigrannajaryan) in [https://github.com/splunk/stef/pull/59](https://redirect.github.com/splunk/stef/pull/59) **Full Changelog**: splunk/stef@v0.0.4...v0.0.5 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yNDguNCIsInVwZGF0ZWRJblZlciI6IjM5LjI0OC40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: opentelemetrybot <[email protected]> Co-authored-by: Yang Song <[email protected]> Co-authored-by: Tigran Najaryan <[email protected]>
1 parent ab8eafd commit e025feb

File tree

5 files changed

+25
-21
lines changed

5 files changed

+25
-21
lines changed

exporter/stefexporter/exporter_test.go

+7-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ func (m *mockMetricDestServer) start() {
7777
Logger: nil,
7878
ServerSchema: &schema,
7979
MaxDictBytes: 0,
80-
OnStream: m.onStream,
80+
Callbacks: stefgrpc.Callbacks{
81+
OnStream: m.onStream,
82+
},
8183
}
8284
mockServer := stefgrpc.NewStreamServer(settings)
8385
stef_proto.RegisterSTEFDestinationServer(grpcServer, mockServer)
@@ -93,7 +95,7 @@ func (m *mockMetricDestServer) stop() {
9395
m.grpcServer.Stop()
9496
}
9597

96-
func (m *mockMetricDestServer) onStream(grpcReader stefgrpc.GrpcReader, ackFunc func(sequenceId uint64) error) error {
98+
func (m *mockMetricDestServer) onStream(grpcReader stefgrpc.GrpcReader, stream stefgrpc.STEFStream) error {
9799
m.logger.Info("Incoming TEF/gRPC connection.")
98100

99101
reader, err := oteltef.NewMetricsReader(grpcReader)
@@ -115,9 +117,11 @@ func (m *mockMetricDestServer) onStream(grpcReader stefgrpc.GrpcReader, ackFunc
115117
continue
116118
}
117119

118-
if err = ackFunc(reader.RecordCount()); err != nil {
120+
err = stream.SendDataResponse(&stef_proto.STEFDataResponse{AckRecordId: reader.RecordCount()})
121+
if err != nil {
119122
return err
120123
}
124+
121125
m.acksSent.Add(1)
122126
}
123127
}

exporter/stefexporter/go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ go 1.23.0
44

55
require (
66
github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.124.1
7-
github.com/splunk/stef/go/grpc v0.0.4
8-
github.com/splunk/stef/go/otel v0.0.4
9-
github.com/splunk/stef/go/pdata v0.0.4
7+
github.com/splunk/stef/go/grpc v0.0.5
8+
github.com/splunk/stef/go/otel v0.0.5
9+
github.com/splunk/stef/go/pdata v0.0.5
1010
github.com/splunk/stef/go/pkg v0.0.5
1111
github.com/stretchr/testify v1.10.0
1212
go.opentelemetry.io/collector/component v1.30.0

exporter/stefexporter/go.sum

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

receiver/stefreceiver/go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ go 1.23.0
44

55
require (
66
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/stefexporter v0.124.1
7-
github.com/splunk/stef/go/grpc v0.0.5-0.20250328192643-20ae67012e0c
8-
github.com/splunk/stef/go/otel v0.0.5-0.20250328192643-20ae67012e0c
9-
github.com/splunk/stef/go/pdata v0.0.5-0.20250328192643-20ae67012e0c
7+
github.com/splunk/stef/go/grpc v0.0.5
8+
github.com/splunk/stef/go/otel v0.0.5
9+
github.com/splunk/stef/go/pdata v0.0.5
1010
github.com/stretchr/testify v1.10.0
1111
go.opentelemetry.io/collector/component v1.30.0
1212
go.opentelemetry.io/collector/component/componentstatus v0.124.0

receiver/stefreceiver/go.sum

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)