diff options
author | Abhilash Raju <abhilash.kollam@gmail.com> | 2024-05-16 23:35:32 -0500 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-05-19 08:28:00 -0700 |
commit | 972f3a4b89a5f09267fe1b2d8f8488c001415ba4 (patch) | |
tree | 056f486397cc30fdc66e3cd0142fad0572423bad | |
parent | eeef1fddd9052bed4b1a91565260518eb042fed2 (diff) | |
download | meta-openembedded-contrib-972f3a4b89a5f09267fe1b2d8f8488c001415ba4.tar.gz |
opentelemetry-cpp: Add recipe
An Observability framework to create and manage telemetry data such as
traces, metrics, and logs
Signed-off-by: Abhilash Raju <abhilash.kollam@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb new file mode 100644 index 0000000000..88033e58cc --- /dev/null +++ b/meta-oe/recipes-support/opentelemetry/opentelemetry-cpp_1.15.0.bb @@ -0,0 +1,26 @@ +SUMMARY = "Open Telemetry Library" +DESCRIPTION = "An Observability framework to create and manage telemetry data \ +such as traces, metrics, and logs." +HOMEPAGE = "https://github.com/open-telemetry/opentelemetry-cpp" +SECTION = "libs" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +DEPENDS = "nlohmann-json" + +SRC_URI = "git://github.com/open-telemetry/opentelemetry-cpp.git;protocol=https;branch=main;" +SRCREV = "054b0dc207c1f58e290d78cdaac5f314bc328b31" + +S = "${WORKDIR}/git" +inherit cmake pkgconfig lib_package + +PACKAGECONFIG ?= "opentelemety_install otlp_api" + +PACKAGECONFIG[opentelemety_install]="-DOPENTELEMETRY_INSTALL=ON,-DOPENTELEMETRY_INSTALL=OFF" +PACKAGECONFIG[build_package]="-DBUILD_PACKAGE=ON,-DBUILD_PACKAGE=OFF" +PACKAGECONFIG[otlp_api]="-DWITH_OTLP_API=ON,-DWITH_OTLP_API=OFF" +PACKAGECONFIG[otlp_grpc]="-DWITH_OTLP_GRPC=ON,-DWITH_OTLP_GRPC=OFF" +PACKAGECONFIG[otlp_http]="-DWITH_OTLP_HTTP=ON,-DWITH_OTLP_HTTP=OFF" +PACKAGECONFIG[otlp_prometheus]="-DWITH_PROMETHEUS=ON,-DWITH_PROMETHEUS=OFF" +PACKAGECONFIG[benchmark]="-DWITH_BENCHMARK=ON,-DWITH_BENCHMARK=OFF" +PACKAGECONFIG[testing]="-DBUILD_TESTING=ON,-DBUILD_TESTING=OFF" |