Skip to content

libcnb-test: testing the /tmp/libcnb-telemetry traces #983

Description

@mars

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions