Skip to content

Commit

Permalink
fix(deps): update module github.com/open-telemetry/opamp-go to v0.10.0 (
Browse files Browse the repository at this point in the history
#29475)

[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[github.com/open-telemetry/opamp-go](https://togithub.com/open-telemetry/opamp-go)
| require | minor | `v0.9.0` -> `v0.10.0` |
|
[github.com/open-telemetry/opamp-go](https://togithub.com/open-telemetry/opamp-go)
| require | minor | `v0.8.0` -> `v0.10.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>open-telemetry/opamp-go
(github.com/open-telemetry/opamp-go)</summary>

###
[`v0.10.0`](https://togithub.com/open-telemetry/opamp-go/releases/tag/v0.10.0)

[Compare
Source](https://togithub.com/open-telemetry/opamp-go/compare/v0.9.0...v0.10.0)

##### What's Changed

- Move certs & helper code from /internal/examples to /internal by
[@&#8203;srikanthccv](https://togithub.com/srikanthccv) in
[open-telemetry/opamp-go#201
- Rewind the request body for retries by
[@&#8203;srikanthccv](https://togithub.com/srikanthccv) in
[open-telemetry/opamp-go#194
- Update to OpAMP spec 0.8.0 by
[@&#8203;tigrannajaryan](https://togithub.com/tigrannajaryan) in
[open-telemetry/opamp-go#207

**Full Changelog**:
open-telemetry/opamp-go@v0.9.0...v0.10.0

</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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Signed-off-by: Alex Boten <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
Co-authored-by: Alex Boten <[email protected]>
  • Loading branch information
3 people committed Nov 28, 2023
1 parent 15989af commit d0b0023
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cmd/opampsupervisor/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/knadh/koanf/providers/rawbytes v0.1.0
github.com/knadh/koanf/v2 v2.0.1
github.com/oklog/ulid/v2 v2.1.0
github.com/open-telemetry/opamp-go v0.8.0
github.com/open-telemetry/opamp-go v0.10.0
go.opentelemetry.io/collector/config/configtls v0.89.1-0.20231127181443-575c5f5e2531
go.uber.org/zap v1.26.0
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/opampsupervisor/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions cmd/opampsupervisor/supervisor/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (s *Supervisor) startOpAMP() error {
return err
}

err = s.opampClient.SetHealth(&protobufs.AgentHealth{Healthy: false})
err = s.opampClient.SetHealth(&protobufs.ComponentHealth{Healthy: false})
if err != nil {
return err
}
Expand Down Expand Up @@ -519,7 +519,7 @@ func (s *Supervisor) startAgent() {
err := s.commander.Start(context.Background())
if err != nil {
s.logger.Error("Cannot start the agent", zap.Error(err))
err = s.opampClient.SetHealth(&protobufs.AgentHealth{Healthy: false, LastError: fmt.Sprintf("Cannot start the agent: %v", err)})
err = s.opampClient.SetHealth(&protobufs.ComponentHealth{Healthy: false, LastError: fmt.Sprintf("Cannot start the agent: %v", err)})

if err != nil {
s.logger.Error("Failed to report OpAMP client health", zap.Error(err))
Expand Down Expand Up @@ -563,7 +563,7 @@ func (s *Supervisor) healthCheck() {
}

// Prepare OpAMP health report.
health := &protobufs.AgentHealth{
health := &protobufs.ComponentHealth{
StartTimeUnixNano: uint64(s.startedAt.UnixNano()),
}

Expand Down Expand Up @@ -617,7 +617,7 @@ func (s *Supervisor) runAgentProcess() {
"Agent process PID=%d exited unexpectedly, exit code=%d. Will restart in a bit...",
s.commander.Pid(), s.commander.ExitCode(),
)
err := s.opampClient.SetHealth(&protobufs.AgentHealth{Healthy: false, LastError: errMsg})
err := s.opampClient.SetHealth(&protobufs.ComponentHealth{Healthy: false, LastError: errMsg})

if err != nil {
s.logger.Error("Could not report health to OpAMP server", zap.Error(err))
Expand Down Expand Up @@ -678,7 +678,7 @@ func (s *Supervisor) Shutdown() {

if s.opampClient != nil {
err := s.opampClient.SetHealth(
&protobufs.AgentHealth{
&protobufs.ComponentHealth{
Healthy: false, LastError: "Supervisor is shutdown",
},
)
Expand Down
2 changes: 1 addition & 1 deletion extension/opampextension/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.20
require (
github.com/google/uuid v1.4.0
github.com/oklog/ulid/v2 v2.1.0
github.com/open-telemetry/opamp-go v0.9.0
github.com/open-telemetry/opamp-go v0.10.0
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/collector/component v0.89.1-0.20231127181443-575c5f5e2531
go.opentelemetry.io/collector/config/configopaque v0.89.1-0.20231127181443-575c5f5e2531
Expand Down
4 changes: 2 additions & 2 deletions extension/opampextension/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d0b0023

Please sign in to comment.