When libcnb trace feature is enabled for a buildpack, example Cargo.toml:
[dependencies]
libcnb = { version = "=0.30.2", features = ["trace"] }
…the build process outputs JSONL trace data to /tmp/libcnb-telemetry/.
With libcnb trace feature enabled, could libcnb-test's pack build command be augmented with a --volume argument, like:
--volume ~/cnb-otel:/tmp/libcnb-telemetry:rw
…to provide integration tests a means to verify that the expected telemetry is emitted in that local ~/cnb-otel directory?
When
libcnbtracefeature is enabled for a buildpack, exampleCargo.toml:…the build process outputs JSONL trace data to
/tmp/libcnb-telemetry/.With
libcnbtracefeature enabled, couldlibcnb-test'spack buildcommand be augmented with a--volumeargument, like:…to provide integration tests a means to verify that the expected telemetry is emitted in that local
~/cnb-oteldirectory?