Skip to content

chore(vcpkg-ports): expose grpc feature in monitoring_system overlay port#571

Merged
kcenon merged 1 commit into
mainfrom
chore/vcpkg-ports-expose-grpc-feature
Mar 17, 2026
Merged

chore(vcpkg-ports): expose grpc feature in monitoring_system overlay port#571
kcenon merged 1 commit into
mainfrom
chore/vcpkg-ports-expose-grpc-feature

Conversation

@kcenon

@kcenon kcenon commented Mar 17, 2026

Copy link
Copy Markdown
Owner

What

Summary

Add the grpc feature to the monitoring_system overlay port (vcpkg-ports/kcenon-monitoring-system/), aligning the port with the project vcpkg.json manifest. Pass MONITORING_WITH_GRPC through the portfile to enable gRPC-based OTLP trace export.

Change Type

  • Chore (maintenance)

Why

Related Issues

Motivation

The project vcpkg.json defines a grpc feature for OTLP gRPC transport, but the overlay port did not expose it. Consumers installing via vcpkg install kcenon-monitoring-system had no way to enable gRPC support.

Feature Alignment

Feature Project manifest Port (before) Port (after)
logging kcenon-logger-system kcenon-logger-system kcenon-logger-system
network kcenon-network-system kcenon-network-system
grpc grpc + protobuf missing grpc + protobuf
testing gtest — (intentional) — (intentional)

Where

Files Changed

File Change
vcpkg-ports/kcenon-monitoring-system/vcpkg.json Add grpc feature with dependencies
vcpkg-ports/kcenon-monitoring-system/portfile.cmake Add feature check and CMake flag passthrough

How

Implementation

  1. Added grpc feature to port vcpkg.json with grpc >= 1.51.1 and protobuf >= 3.21.0
  2. Added feature check in portfile.cmake that sets MONITORING_WITH_GRPC_TRANSPORT
  3. Passes -DMONITORING_WITH_GRPC=${MONITORING_WITH_GRPC_TRANSPORT} to vcpkg_cmake_configure

Test Plan

  • vcpkg install kcenon-monitoring-system[grpc] should build with gRPC OTLP transport
  • vcpkg install kcenon-monitoring-system (without grpc feature) should build without gRPC
  • Existing logging and network features remain unaffected

…port

The project vcpkg.json defines a grpc feature (gRPC + protobuf for OTLP
trace export), but the overlay port did not expose it. Consumers using
the overlay port had no way to enable gRPC-based monitoring.

Add the grpc feature to the port vcpkg.json with matching dependency
versions (grpc >= 1.51.1, protobuf >= 3.21.0) and pass the
MONITORING_WITH_GRPC flag through the portfile.

Closes #570
@kcenon kcenon added priority/medium Medium priority - Important but not urgent type/chore Maintenance and cleanup tasks area/deps size/XS labels Mar 17, 2026
@kcenon kcenon merged commit 0f26b3b into main Mar 17, 2026
29 checks passed
@kcenon kcenon deleted the chore/vcpkg-ports-expose-grpc-feature branch March 17, 2026 07:20
kcenon added a commit that referenced this pull request Apr 13, 2026
…A512 (#514)

Update the vcpkg overlay port for kcenon/thread_system:
- REF: commit SHA 80242646 → annotated tag v0.3.0
- SHA512: placeholder '0' → actual archive hash

The v0.3.0 tag was created in kcenon/thread_system after merging:
- #571: fix(build) link common_system target for vcpkg find_package
- #572: chore(release) bump version to 0.3.0

SHA512 was computed from the GitHub-generated source archive:
  https://github.com/kcenon/thread_system/archive/refs/tags/v0.3.0.tar.gz

Resolves: kcenon/thread_system#570
kcenon added a commit that referenced this pull request Apr 13, 2026
…port (#571)

The project vcpkg.json defines a grpc feature (gRPC + protobuf for OTLP
trace export), but the overlay port did not expose it. Consumers using
the overlay port had no way to enable gRPC-based monitoring.

Add the grpc feature to the port vcpkg.json with matching dependency
versions (grpc >= 1.51.1, protobuf >= 3.21.0) and pass the
MONITORING_WITH_GRPC flag through the portfile.

Closes #570
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/deps priority/medium Medium priority - Important but not urgent size/XS type/chore Maintenance and cleanup tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(vcpkg-ports): Expose grpc feature in monitoring_system overlay port

1 participant