Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

chore(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.65.0#25

Open
EpochBoy wants to merge 6 commits into
mainfrom
renovate/go.opentelemetry.io-contrib-instrumentation-net-http-otelhttp-0.x
Open

chore(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.65.0#25
EpochBoy wants to merge 6 commits into
mainfrom
renovate/go.opentelemetry.io-contrib-instrumentation-net-http-otelhttp-0.x

Conversation

@EpochBoy
Copy link
Copy Markdown
Owner

@EpochBoy EpochBoy commented Feb 3, 2026

This PR contains the following updates:

Package Type Update Change
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp require minor v0.60.0v0.65.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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 this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

EpochBoy and others added 6 commits January 29, 2026 14:32
Added:
- github.com/rabbitmq/amqp091-go client library
- /rabbitmq/status endpoint - connection status + consumed messages
- /rabbitmq/publish endpoint - publish messages (GET or POST)
- Background consumer goroutine for demo queue
- Prometheus metrics: epochcloud_rabbitmq_{messages_published,messages_consumed,publish_errors,connected}_total
- HTML template: RabbitMQ Demo section

Features:
- Graceful handling when RabbitMQ not configured (optional)
- Auto-ack consumer with last 10 messages stored
- Trace ID correlation in messages
- OpenTelemetry spans for all RabbitMQ operations

Env vars (optional):
- RABBITMQ_HOST, RABBITMQ_PORT, RABBITMQ_USERNAME
- RABBITMQ_PASSWORD, RABBITMQ_VHOST, RABBITMQ_URI, RABBITMQ_QUEUE
The app now runs a background connection manager that:
- Retries connection with exponential backoff (1s to 30s)
- Automatically reconnects when connection is lost
- Uses NotifyClose to detect connection drops
- Non-blocking startup (app starts immediately, connects when RabbitMQ is ready)

This makes the app resilient to RabbitMQ being unavailable at startup.
When CONSUMER_MODE=true:
- Only consumes messages from RabbitMQ queue
- HTTP server runs minimal endpoints (/health, /metrics only)
- No /rabbitmq/publish or other producer endpoints

This enables:
- Separate consumer pods scaled by KEDA based on queue depth
- Producer pods that only publish (don't consume own messages)
- True microservices pub/sub pattern demonstration
Valkey may not be ready immediately during pod startup, especially with
Linkerd mTLS. Added retry logic (5 attempts, exponential backoff 1s→16s)
to handle transient connection failures.
@EpochBoy
Copy link
Copy Markdown
Owner Author

EpochBoy commented Feb 3, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: install-tool golang 1.24.0

Copilot AI review requested due to automatic review settings February 3, 2026 15:36
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the OpenTelemetry HTTP instrumentation module from v0.60.0 to v0.65.0, a minor version bump that keeps the dependency current with upstream releases.

Changes:

  • Updated go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp from v0.60.0 to v0.65.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread go.mod
github.com/prometheus/client_golang v1.22.0
github.com/rabbitmq/amqp091-go v1.10.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

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

The go.sum file needs to be updated to reflect the dependency version change. When updating a module version in go.mod, the corresponding checksums in go.sum must also be updated. Currently, go.sum still contains entries for v0.60.0 of this module. Please run 'go mod tidy' to update go.sum with the correct checksums for v0.65.0.

Copilot uses AI. Check for mistakes.
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.

3 participants