Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tracing to detect and build phases #705

Closed
wants to merge 3 commits into from
Closed

Conversation

joshwlewis
Copy link
Member

@joshwlewis joshwlewis commented Oct 27, 2023

This wraps both build and detect with tracing, which results in.jsonl tracing files compatible with OpenTelemetry File Export. This will grant tracing information for all libcnb.rs based buildpacks.

It's setup such that any build or detect errors are tracked as such with events and statuses.

detect is also instrumented with detect-pass or detect-fail events, so it should be clear if a detect phase errored, failed, or passed.

Additionally, this adds metadata from the buildpack descriptor (buildpack name, version, api version) to each span.

@joshwlewis
Copy link
Member Author

Closing in favor of #723.

@joshwlewis joshwlewis closed this Nov 9, 2023
@edmorley edmorley deleted the otel-tracing branch February 8, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants