Skip to content

Provide instrumentation support for lettuce-4.0-4.5.0 sync/async APIs#1398

Merged
richardstartin merged 8 commits into
masterfrom
richardstartin/lettuce-4.0
Apr 27, 2020
Merged

Provide instrumentation support for lettuce-4.0-4.5.0 sync/async APIs#1398
richardstartin merged 8 commits into
masterfrom
richardstartin/lettuce-4.0

Conversation

@richardstartin
Copy link
Copy Markdown
Contributor

No description provided.

@richardstartin richardstartin added the tag: do not merge Do not merge changes label Apr 23, 2020
@richardstartin richardstartin requested a review from a team as a code owner April 23, 2020 16:21
@richardstartin richardstartin removed the tag: do not merge Do not merge changes label Apr 23, 2020
@richardstartin richardstartin force-pushed the richardstartin/lettuce-4.0 branch 2 times, most recently from 53d0832 to 94f56b4 Compare April 23, 2020 19:27
Copy link
Copy Markdown
Contributor

@tylerbenson tylerbenson left a comment

Choose a reason for hiding this comment

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

A few quick comments... I'll give it a further review next week.

Comment thread dd-java-agent/instrumentation/lettuce-4.0/lettuce-4.0.gradle Outdated
Comment thread dd-java-agent/instrumentation/lettuce-4.0/lettuce-4.0.gradle Outdated
Comment thread dd-java-agent/instrumentation/lettuce-4.0/lettuce-4.0.gradle Outdated
@richardstartin richardstartin force-pushed the richardstartin/lettuce-4.0 branch from 149aeca to 925679c Compare April 24, 2020 21:37
@richardstartin richardstartin force-pushed the richardstartin/lettuce-4.0 branch from 925679c to d158590 Compare April 27, 2020 13:59
Copy link
Copy Markdown
Contributor

@tylerbenson tylerbenson left a comment

Choose a reason for hiding this comment

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

Please update the PR title and description (what would a consumer of this integration find useful to know?)

Optional comments below...


import static datadog.trace.instrumentation.lettuce.InstrumentationPoints.AGENT_CRASHING_COMMAND_PREFIX

class LettuceAsyncClientTest extends AgentTestRunner {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is there any logic that can be shared between the sync/async tests?

Comment thread settings.gradle Outdated
// Workaround to keep trace agent from crashing
// Currently the commands in AGENT_CRASHING_COMMANDS_WORDS will crash the trace agent and
// traces with these commands as the resource name will not be processed by the trace agent
// https://github.com/DataDog/datadog-trace-agent/blob/master/quantizer/redis.go#L18 has
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This url is now out of date... maybe find the new one?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I looked for it, but couldn't find it, there seems to have been major refactoring here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have removed the link but will follow up to see if this logic can actually just be removed in another PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@richardstartin richardstartin changed the title get lettuce 4.0 sync and async working Provide instrumentation support for lettuce-4.0-4.5.0 sync/async APIs Apr 27, 2020
@richardstartin richardstartin merged commit f4acf8b into master Apr 27, 2020
@richardstartin richardstartin deleted the richardstartin/lettuce-4.0 branch April 27, 2020 15:05
@github-actions github-actions Bot added this to the 0.50.0 milestone Apr 27, 2020
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.

3 participants