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 lettuce latest dep tests #12552

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Nov 1, 2024

Resolves #12550
Resolves #12551

@laurit laurit requested a review from a team as a code owner November 1, 2024 08:32
protected static List<AttributeAssertion> addExtraAttributes(AttributeAssertion... assertions) {
List<AttributeAssertion> result = new ArrayList<>(Arrays.asList(assertions));
if (Boolean.getBoolean("testLatestDeps")) {
result.add(equalTo(DbIncubatingAttributes.DB_NAMESPACE, "0"));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trask we use lettuce built in tracing and that uses db.namespace, should we map it to db.name when using old semconv? This attribute is only generated by the latest lettuce.

@laurit laurit merged commit 4efd454 into open-telemetry:main Nov 1, 2024
55 of 56 checks passed
@laurit laurit deleted the lettuce-latest branch November 1, 2024 12:18
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.

Workflow failed: Build (daily --no-build-cache) (#957) Workflow failed: Build (daily) (#960)
2 participants