Skip to content

fix(deps): update grpc-java monorepo to v1.72.0 #523

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

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 24, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.grpc:grpc-stub 1.70.0 -> 1.72.0 age adoption passing confidence
io.grpc:grpc-protobuf 1.70.0 -> 1.72.0 age adoption passing confidence
io.grpc:grpc-netty-shaded 1.70.0 -> 1.72.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

grpc/grpc-java (io.grpc:grpc-stub)

v1.72.0

Compare Source

API Changes
  • util: Remove deprecated method GracefulSwitchLb.switchTo() (f207be3). It is rarely used outside of gRPC itself. The configuration is passed as lb policy configuration instead
  • xds: Add support for custom per-target credentials on the transport (#​11951) (1958e42)
  • xds: Explicitly set request hash key for the ring hash LB policy (892144d)
Bug Fixes
  • core: Apply ManagedChannelImpl's updateBalancingState() immediately (ca4819a)
  • xds: Fix cluster selection races when updating config selector (d82613a)
  • otel: Fix span names as per the A72 gRFC changes (#​11974) (94f8e93)
  • xds: ClusterResolverLoadBalancer handle update for both resolved addresses and errors via ResolutionResult (#​11997) (8681786)
Improvements
  • netty: Avoid allocating an exception on transport shutdown. This reduces allocation rate for connection-heavy workloads/load testing (a57c14a)
  • servlet: Set an explicit description for CANCELLED status (#​11927) (fca1d3c)
  • xds: gRFC A74 xDS Config Tears implementation in the XdsNameResolver (e80c197). While there is more remaining, users may already see reduced latency when resources are replaced. For example, if changing a route from one backend service to another, RPCs may see less latency during the transition
  • core: Log any exception during channel panic because of exception (3961a92). This prevents the exception from propagating up the stack on an arbitrary thread. Such exceptions are rarely interesting. Instead, the exception that caused the channel panic is the important one, and RPCs will still fail with its details
  • util: Graceful switch to new LB when leaving CONNECTING (2e260a4). Previously when using xDS and the configuration changes the LB policy, the old LB policy is used until the new one is READY. Now the old LB policy is used until the new policy becomes READY, TRANSIENT_FAILURE, or IDLE
  • core: Use java.time.Time.getNano directly in InstantTimeProvider. Previously reflection was used which would confuse R8 full mode (#​11977) (7507a9e)
  • core: Avoid cancellation exceptions when notifying watchers that already have their connections cancelled (#​11934) (350f90e)
  • rls: allow maxAge in RLS config to exceed 5 minutes if staleAge is set. Previously, the limit was 5 minutes, which isn't enough for some gRPC clients (#​11931) (c340f4a)
  • xds: avoid unnecessary dns lookup for CIDR addresses (#​11932) (602aece)
  • netty: Swap to UniformStreamByteDistributor (#​11954) (2f52a00). gRPC will no longer observe the HTTP/2 priorities, which were not used directly by gRPC and deprecated in RFC 9113
  • core: Avoid Set.removeAll() when passing a possibly-large List (#​11994) (666136b)
  • stub: trailersFromThrowable() metadata should be copied (#​11979) (a6e1c1f)
New Features
  • xds: xDS-based HTTP CONNECT configuration (#​11861) (1219706)
  • netty: Per-rpc authority verification against peer cert subject names. Overriding transport authority at rpc time is only allowed when using TlsChannelCredentials. The per-rpc authority verification feature is guarded by the environment variable GRPC_ENABLE_PER_RPC_AUTHORITY_CHECK in this release. When this is false or not set, the rpc will not fail when the authority verification fails but a warning will be logged. In a subsequent release the usage of this environment variable will be removed and RPCs will start failing if the authority doesn't match the peer certificate names. The environment variable is temporary; if you are depending on the existing insecure behavior, please file an issue (#​11724) (cdab410)
Thanks to

@​panchenko
@​emmanuel-ferdman
@​JoeCqupt

v1.71.0

Compare Source

API Changes

  • xds: Enable Xds Client Fallback by default. This allows having a backup xDS server as described in gRFC A71-xds-fallback.md (#​11817) (176f3ee)
  • protobuf: Experimental API marshallerWithRecursionLimit in ProtoUtils is now stabilized (#​11884) (90b1c4f)

Bug Fixes

  • xds: Cluster weights should be uint32 (199a7ea). They were previously processed as int32, although the sum of weights was checked to be positive. So this would have caused a very large weight to never be selected and to reduce the chances of immediately-following clusters to be selected. There have been no reports of control planes using such large weights
  • xds: Fix an unlikely infinite loop triggered by route update (199a7ea). Triggering required the old cluster to no longer be used, an RPC processing when the update arrived, and for a RPC to not match any route in the new config. There have been no reports of this actually happening
  • core: Release data frame if it is received before the headers (dc316f7)

Improvements

  • Replace jsr305's CheckReturnValue with Error Prone's (#​11811) (7b5d069)
  • core: optimize number of buffer allocations for message sizes larger than 1 MB (#​11879) (5a7f350)
  • core: Update the retry backoff range from [0, 1] to [0.8, 1.2] as per the A6 redefinition (#​11858) (44e92e2)
  • core: include last pick status in status message when wait-for-ready RPC’s deadline expires (#​11851) (7585b16). This makes it much easier to debug connectivity issues when using wait-for-ready RPCs
  • xds: Include max concurrent request limit in the error status for concurrent connections limit exceeded (#​11845) (0f5503e)
  • netty, servlet: Remove 4096 min write buffer size because MessageFramer.flush() is being called between every message, so messages are never combined and the larger allocation just wastes memory. (4a10a38, 7153ff8)
  • core: When ClientStreamObserver closes the response observer log the error message if this operation fails (#​11880) (302342c)
  • bom: use gradle java-platform to build pom instead of custom xml generation (#​11875) (3142928)
  • xds: Reuse filter interceptors on client-side across RPCs (c506190, b3db8c2). This was an internal refactor that should have no user-visible change
  • alts: Enhance AltsContextUtil to allow getting the AltsContext on client-side (b1bc0a9)
  • xds: Envoy proto sync to 2024-11-11 (#​11816) (b44ebce)

Documentation

Dependencies

Thanks to

@​benjamin
@​panchenko
@​harshagoo94
@​NaveenPrasannaV


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR was generated by Mend Renovate. View the repository job log.

Copy link

Deploying gate-minekube with  Cloudflare Pages  Cloudflare Pages

Latest commit: 900097e
Status: ✅  Deploy successful!
Preview URL: https://785320e4.gate-minekube.pages.dev
Branch Preview URL: https://renovate-grpc-java-monorepo.gate-minekube.pages.dev

View logs

@renovate renovate bot merged commit b900085 into master Apr 25, 2025
13 checks passed
@renovate renovate bot deleted the renovate/grpc-java-monorepo branch April 25, 2025 04:06
robinbraemer pushed a commit that referenced this pull request May 14, 2025
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
robinbraemer added a commit that referenced this pull request May 16, 2025
* feat(WIP): add otel

still needs making it configurable
and having an optional /metrics endpoint instead of pushing

* add docs and improve env config

* fix(docs): links

* fix(deps): update module github.com/robinbraemer/event to v0.1.1 (#440)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update grpc-java monorepo to v1.68.2 (#441)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.google.protobuf:protobuf-java to v4.29.0 (#442)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.google.protobuf:protobuf-java to v4.29.0 (#443)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency io.grpc:grpc-netty-shaded to v1.68.2 (#444)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency build.buf.gen:minekube_gate_grpc_java to v1.68.2.1.20241118150055.50fffb007499 (#446)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency build.buf.gen:minekube_gate_protocolbuffers_java to v29 (#447)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency go to v1.23.4 (#449)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update golang docker tag to v1.23.4 (#450)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/sync to v0.10.0 (#451)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/text to v0.21.0 (#452)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module google.golang.org/grpc to v1.68.1 (#453)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.google.protobuf:protobuf-java to v4.29.1 (#454)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.google.protobuf:protobuf-java to v4.29.1 (#455)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.32.0 (#457)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency build.buf.gen:minekube_gate_protocolbuffers_java to v29.1.0.1.20241118150055.50fffb007499 (#458)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Support Minecraft_1_21_4

* feat(connect): add CONNECT_TOKEN env var

* fix(deps): update module go.minekube.com/common to v0.0.6 (#460)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update grpc-java monorepo to v1.69.0 (#461)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module go.minekube.com/gate to v0.46.0 (#462)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency build.buf.gen:minekube_gate_grpc_java to v1.69.0.1.20241118150055.50fffb007499 (#463)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module google.golang.org/grpc to v1.69.0 (#464)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.33.0 [security] (#466)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update events.go

* fix(deps): update dependency com.google.protobuf:protobuf-java to v4.29.2 (#467)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.google.protobuf:protobuf-java to v4.29.2 (#468)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module google.golang.org/grpc to v1.69.2 (#469)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @bufbuild/buf to v1.48.0 (#470)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency build.buf.gen:minekube_gate_protocolbuffers_java to v29.2.0.1.20241118150055.50fffb007499 (#471)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.10.1 (#472)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module buf.build/gen/go/minekube/gate/protocolbuffers/go to v1.36.0-20241120101512-f1a10b5029ce.1 (#473)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module google.golang.org/protobuf to v1.36.0 (#474)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module google.golang.org/protobuf to v1.36.1 (#475)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module buf.build/gen/go/minekube/gate/protocolbuffers/go to v1.36.1-20241120101512-f1a10b5029ce.1 (#476)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module google.golang.org/protobuf to v1.36.2 (#478)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module buf.build/gen/go/minekube/gate/protocolbuffers/go to v1.36.2-20241120101512-f1a10b5029ce.1 (#479)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.34.0 (#480)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @bufbuild/buf to v1.49.0 (#481)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module buf.build/gen/go/minekube/gate/connectrpc/go to v1.18.1-20241120101512-f1a10b5029ce.1 (#482)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.google.protobuf:protobuf-java to v4.29.3 (#483)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(Lite): Allow configuring players in fallback status response #281 (#477)

* feat(Lite): Allow configuring players in fallback status response #281

* chore: Reuse ping.Players struct

* fix(deps): update dependency com.google.protobuf:protobuf-java to v4.29.3 (#484)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module google.golang.org/grpc to v1.69.4 (#485)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency build.buf.gen:minekube_gate_protocolbuffers_java to v29.3.0.1.20241118150055.50fffb007499 (#486)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module connectrpc.com/connect to v1.18.1 (#487)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module go.minekube.com/gate to v0.47.0 (#488)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/time to v0.9.0 (#489)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module buf.build/gen/go/minekube/gate/protocolbuffers/go to v1.36.3-20241120101512-f1a10b5029ce.1 (#490)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module google.golang.org/protobuf to v1.36.3 (#491)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency go to v1.23.5 (#492)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update golang docker tag to v1.23.5 (#493)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update grpc-java monorepo to v1.69.1 (#494)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency build.buf.gen:minekube_gate_grpc_java to v1.69.1.1.20241118150055.50fffb007499 (#495)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency @bufbuild/buf to v1.50.0 (#496)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update grpc-java monorepo to v1.70.0 (#497)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module google.golang.org/grpc to v1.70.0 (#498)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module google.golang.org/protobuf to v1.36.4 (#499)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module buf.build/gen/go/minekube/gate/protocolbuffers/go to v1.36.4-20241120101512-f1a10b5029ce.1 (#500)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency build.buf.gen:minekube_gate_grpc_java to v1.70.0.1.20241118150055.50fffb007499 (#501)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.36.0 [security] (#508)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: config path in k8s examples (#511)

* docs: Updated Connect Integration Guide (#509)

* Updated Connect Integration Guide

* Added tip that the dashboard step is optional

* fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1.10.2 (#512)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.38.0 [security] (#513)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat: Support Minecraft 1.21.5

* chore(deps): update Go version to 1.24.1 and dependencies in go.mod and go.sum

* fix(deps): resolve merge conflicts and update dependencies in go.mod and go.sum

* refactor: Clean up formatting and whitespace in various files

[skip ci]

* refactor: Enhance error handling and validation in channel identifier logic

- Increased RSA key size from 512 to 1024 bits for improved security.
- Introduced specific error variables for namespace and name validation.
- Updated `NewChannelIdentifier` to use new error variables.
- Improved `ChannelIdentifierFrom` to handle additional cases and provide clearer error messages.
- Added helper functions for character validation in namespace and value identifiers.

* chore: update Go version in Dockerfile to 1.24.1

* feat: Enhance installation script for cross-platform support

- Updated default installation and temporary directories based on the operating system.
- Added functions to manage environment variables and update the system PATH permanently.
- Improved error handling for file downloads and checksum verification.
- Enhanced architecture and OS detection methods for better reliability.
- Introduced a success message function to guide users post-installation. [skip ci]

* fix(deps): update dependency @bufbuild/protobuf to v1.10.1 (#516)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update golang docker tag to v1.24.2 (#517)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency io.grpc:grpc-kotlin-stub to v1.4.3 (#518)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module buf.build/gen/go/minekube/gate/protocolbuffers/go to v1.36.6-20241120101512-f1a10b5029ce.1 (#519)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency build.buf.gen:minekube_gate_grpc_java to v1.72.0.1.20241118150055.50fffb007499 (#520)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.google.protobuf:protobuf-java to v4.30.2 (#521)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update grpc-java monorepo to v1.72.0 (#523)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/go-faker/faker/v4 to v4.6.0 (#524)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module go.minekube.com/gate to v0.48.1 (#525)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/net to v0.39.0 (#526)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module github.com/go-faker/faker/v4 to v4.6.1 (#528)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module golang.org/x/time to v0.11.0 (#529)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update module google.golang.org/grpc to v1.72.0 (#530)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(network): fix AvailableCommands packet for mods (#534)

* fix(network): fix AvailableCommands packet for mods

Fixes: #322
Closes: #527
Co-authored-by: @uberswe

* test(util): enhance ReadVarInt tests with additional cases and fuzzing

- Expanded unit tests for ReadVarInt to cover various scenarios including edge cases like maximum varint, empty buffer, and incomplete varint.
- Added fuzz testing for ReadVarInt to ensure robustness against malformed input.
- Introduced a benchmark for ReadVarInt to measure performance.

* revert to original ReadVarInt

* update go.sum

* fix: lint

---------

Co-authored-by: Román Benjámin <[email protected]>

* feat(WIP): add otel

still needs making it configurable
and having an optional /metrics endpoint instead of pushing

* add docs and improve env config

* feat(docs): add FAQ section and update navigation

Added a new FAQ page for OpenTelemetry, addressing common questions and providing guidance on scalable setups. Updated the navigation to include a link to the new FAQ section.

* feat: enhance packet reading with byte count tracking

Updated the packet reading process to include the number of bytes read during decoding. This change introduces a new `BytesRead` field in the `PacketContext` struct and modifies the `readPayload` and `ReadVarInt` functions to return the byte count. Additionally, integrated OpenTelemetry tracing in the `startReadLoop` method to monitor packet handling more effectively.

* fix(deps): update OpenTelemetry dependencies and related modules

Updated OpenTelemetry modules to v1.34.0, including core, metric, and trace packages. Adjusted indirect dependencies for improved compatibility and performance. Additionally, modified the `decoder.go` file to return the byte count in error messages during payload reading, enhancing error reporting.

* go mod tidy

* feat(otel): update OpenTelemetry dependencies to v1.35.0 and add Prometheus metrics server

Updated OpenTelemetry modules to v1.35.0, including core, metric, and trace packages. Introduced a new HTTP server for Prometheus metrics, configurable via environment variables. Enhanced the OpenTelemetry initialization to support metrics collection and server management. Updated documentation to reflect new environment variables for metrics configuration.

* feat(docs): add 'Self-hosted' link to OpenTelemetry navigation

* feat(docs): enhance OpenTelemetry self-hosted guide with configuration details and add sample Grafana dashboard

Updated the self-hosted OpenTelemetry documentation to include detailed configuration steps for Grafana, Prometheus, and Tempo. Added a new section for a sample Grafana dashboard to visualize metrics from Gate. Introduced quick start instructions for obtaining configuration files across different scenarios, ensuring users have clear guidance for setup.

* feat(api): integrate OpenTelemetry interceptor into Gate service handler

Added an OpenTelemetry interceptor to the Gate service handler for enhanced tracing capabilities. This change improves observability by allowing the collection of telemetry data during API requests. Error handling for interceptor initialization is also included.

* feat(docs): update OpenTelemetry self-hosted guide with new metrics and dashboard features

Enhanced the self-hosted OpenTelemetry documentation by adding a sample Grafana dashboard for visualizing metrics from Gate. Updated configuration details for the OpenTelemetry Collector, including new metrics endpoints and improved instructions for setting up Prometheus scraping. Removed outdated Kubernetes configuration examples and added new YAML files for the OpenTelemetry Collector setup. Updated the documentation to reflect changes in metrics collection and visualization capabilities.

* chore(deps): update Go module dependencies and documentation configuration

Added the `connectrpc.com/otelconnect` dependency to the Go module and updated the `go.sum` file accordingly. Removed outdated Prometheus-related dependencies and updated the `go.mod` file to reflect the latest versions. Additionally, modified the VitePress configuration to ignore dead links for localhost, enhancing the documentation experience.

* fix(docs): update OpenTelemetry self-hosted guide for Jaeger configuration

Revised the Jaeger configuration in the self-hosted OpenTelemetry documentation. Updated the OTLP endpoint to use port 4318 and changed the protocol to "http/protobuf". Disabled metrics export as Jaeger does not support it, ensuring clarity in the setup instructions.

[skip ci]

* feat(docs): enhance OpenTelemetry self-hosted guide with new configuration files and metrics setup

Added new configuration files for OpenTelemetry Collector in both push and pull models, along with updated Prometheus configurations. Revised the self-hosted guide to clarify setup instructions and included details on how to send telemetry data from Gate. Updated Grafana dashboard expressions to align with the new metrics structure, ensuring accurate data visualization.

[skip ci]

* feat(docs): update Grafana dashboard for Gate overview with new data sources and visualization options

Refactored the Gate overview dashboard JSON configuration to remove deprecated inputs and enhance visualization features. Added support for Tempo as a new data source, updated panel options for better display, and ensured compatibility with the latest Grafana plugin version. Improved overall structure and clarity of the dashboard configuration.

* feat(docs): expand OpenTelemetry self-hosted guide with new Grafana and Jaeger configurations

Added a comprehensive guide for setting up a self-hosted Grafana, Prometheus, and Tempo stack, including detailed configuration files and instructions. Introduced a new section for self-hosted Jaeger setup, clarifying how to send traces from Gate. Updated navigation links in the documentation to reflect these additions, enhancing the overall user experience and observability capabilities.

* fix(docs): update links in OpenTelemetry self-hosted guide for Grafana and Jaeger

Corrected the links in the OpenTelemetry self-hosted guide to point to the appropriate Markdown files for the Grafana Stack and Jaeger setup. This ensures users are directed to the correct resources for configuring their self-hosted observability solutions.

* fix(docs): update Google Cloud product name in OpenTelemetry guide

Replaced the outdated name "Google Cloud Operations Suite" with the current name "Google Cloud Observability" in the OpenTelemetry documentation. This ensures that users have the most accurate and up-to-date information regarding Google Cloud's monitoring and diagnostics services.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alen Gorenjec <[email protected]>
Co-authored-by: Izzy Irvine <[email protected]>
Co-authored-by: NixNux123 <[email protected]>
Co-authored-by: Román Benjámin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants