Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void writeTracerMetadata(Config config) {
}
}

private static String generateFileName() {
static String generateFileName() {
String suffix = RandomUtils.randomUUID().toString().substring(0, 8);
return "datadog-tracer-info-" + suffix;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,7 @@ private boolean interceptSpanType(DDSpanContext span, Object value) {
return true;
}

private boolean interceptServiceName(
RuleFlags.Feature feature, DDSpanContext span, Object value) {
boolean interceptServiceName(RuleFlags.Feature feature, DDSpanContext span, Object value) {
if (ruleFlags.isEnabled(feature)) {
String serviceName = String.valueOf(value);
span.setServiceName(serviceName);
Expand Down Expand Up @@ -336,7 +335,7 @@ private boolean interceptSamplingPriority(DDSpanContext span, Object value) {
return false;
}

private boolean interceptServletContext(DDSpanContext span, Object value) {
boolean interceptServletContext(DDSpanContext span, Object value) {
// even though this tag is sometimes used to set the service name
// (which has the side effect of marking the span as eligible for metrics
// in the trace agent) we also want to store it in the tags no matter what,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public static Pattern globToRegexPattern(String globPattern) {
return Pattern.compile(regex, Pattern.CASE_INSENSITIVE);
}

private static String globToRegex(String globPattern) {
static String globToRegex(String globPattern) {
StringBuilder sb = new StringBuilder(64);
sb.append('^');
for (int i = 0; i < globPattern.length(); i++) {
Expand Down

This file was deleted.

This file was deleted.

Loading