Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
kishansairam9 committed Jan 23, 2024
1 parent f26cbe7 commit 472fd46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ subprojects {
// when updating these values, some values must also be updated in buildSrc as this map
// cannot be accessed there
"opentelemetry" to "1.32.0",
"opentelemetry_semconv" to "1.23.1-alpha",
"opentelemetry_semconv" to "1.21.0-alpha",
"opentelemetry_proto" to "0.11.0-alpha",
"opentelemetry_java_agent" to "1.32.0-alpha",
"opentelemetry_java_agent_all" to "1.32.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public Resource createResource(ConfigProperties config) {
builder.put(ResourceAttributes.TELEMETRY_SDK_LANGUAGE, "java");
String agentVersion = getAgentVersion();
builder.put(ResourceAttributes.TELEMETRY_SDK_VERSION, agentVersion);
builder.put(ResourceAttributes.TELEMETRY_DISTRO_VERSION, agentVersion);
builder.put(ResourceAttributes.TELEMETRY_AUTO_VERSION, agentVersion);
return Resource.create(builder.build());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void postJson() throws IOException, InterruptedException {
ResourceAttributes.SERVICE_NAME.getKey(),
traces.get(0).getResourceSpans(0).getResource().getAttributes(11).getKey());
Assertions.assertEquals(
ResourceAttributes.TELEMETRY_DISTRO_VERSION.getKey(),
ResourceAttributes.TELEMETRY_AUTO_VERSION.getKey(),
traces.get(0).getResourceSpans(0).getResource().getAttributes(12).getKey());
Assertions.assertEquals(
ResourceAttributes.TELEMETRY_SDK_LANGUAGE.getKey(),
Expand Down

0 comments on commit 472fd46

Please sign in to comment.