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

fix(playwright): ensure engine knows when tracing is enabled #2533

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

InesNi
Copy link
Contributor

@InesNi InesNi commented Mar 1, 2024

Description

Fix for #2529

Before #2418, Playwright tracing only worked with OTeL, but now it can work with other reports that use OTeL behind the scenes.

We now check for a OTEL_TRACING_ENABLED variable set by the otel reporter instead, which should be in control of whether tracing is needed (which also reduces the coupling between the PW engine and publish-metrics).

Testing

Tested locally and with Fargate. Automated tests for this as not very easy (as it depends on platform integrations), so can be added separately.

Pre-merge checklist

  • Does this require an update to the docs?
  • Does this require a changelog entry?

@InesNi InesNi requested a review from a team March 1, 2024 17:12
@InesNi InesNi merged commit 018c917 into main Mar 4, 2024
16 checks passed
@InesNi InesNi deleted the ifazlic-oss-32-metrics-from-playwright-to-honeycomb branch March 4, 2024 10:47
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.

1 participant