mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 01:59:02 +08:00
a51a6c09e5
opentelemetry-cpp[geneva] depends on opentelemetry-cpp[etw] on Windows, as the Geneva exporter applies header files on top of ETW exporter header files. Without declaration this dependency in vcpkg, the user would need to install both features manually to make it work, like opentelemetry[etw,geneva]. - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [ ] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [ ] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
72 lines
1.9 KiB
JSON
72 lines
1.9 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
|
|
"name": "opentelemetry-cpp",
|
|
"version-semver": "1.14.0",
|
|
"port-version": 1,
|
|
"description": [
|
|
"OpenTelemetry is a collection of tools, APIs, and SDKs.",
|
|
"You use it to instrument, generate, collect, and export telemetry data (metrics, logs, and traces) for analysis in order to understand your software's performance and behavior."
|
|
],
|
|
"homepage": "https://github.com/open-telemetry/opentelemetry-cpp",
|
|
"license": "Apache-2.0",
|
|
"dependencies": [
|
|
"abseil",
|
|
"nlohmann-json",
|
|
{
|
|
"name": "vcpkg-cmake",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
],
|
|
"features": {
|
|
"elasticsearch": {
|
|
"description": "Whether to include the Elasticsearch Client in the SDK"
|
|
},
|
|
"etw": {
|
|
"description": "Whether to include the ETW Exporter in the SDK",
|
|
"supports": "windows"
|
|
},
|
|
"geneva": {
|
|
"description": "Whether to include the Geneva Exporter from the opentelemetry-cpp-contrib repository",
|
|
"dependencies": [
|
|
{
|
|
"name": "opentelemetry-cpp",
|
|
"features": [
|
|
"etw"
|
|
],
|
|
"platform": "windows"
|
|
}
|
|
]
|
|
},
|
|
"otlp-grpc": {
|
|
"description": "Whether to include the OTLP gRPC exporter in the SDK",
|
|
"dependencies": [
|
|
"grpc",
|
|
{
|
|
"name": "grpc",
|
|
"host": true
|
|
}
|
|
]
|
|
},
|
|
"otlp-http": {
|
|
"description": "Whether to include the OpenTelemetry Protocol over HTTP in the SDK",
|
|
"dependencies": [
|
|
"curl",
|
|
"protobuf"
|
|
]
|
|
},
|
|
"prometheus": {
|
|
"description": "Whether to include the Prometheus Client in the SDK",
|
|
"dependencies": [
|
|
"prometheus-cpp"
|
|
]
|
|
},
|
|
"zipkin": {
|
|
"description": "Whether to include the Zipkin exporter in the SDK"
|
|
}
|
|
}
|
|
}
|