File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
sentry-opentelemetry/sentry-opentelemetry-agent
sentry/src/main/java/io/sentry/internal Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -147,8 +147,8 @@ tasks {
147147 attributes.put(" Can-Retransform-Classes" , " true" )
148148 attributes.put(" Implementation-Vendor" , " Sentry" )
149149 attributes.put(" Implementation-Title" , project.name)
150- attributes.put(" Implementation-Version" , " sentry- ${ project.version} -otel- ${ Config . Libs . OpenTelemetry .otelInstrumentationVersion} " )
151- attributes.put(" Sentry-Version-Name" , project.version)
150+ attributes.put(" Implementation-Version" , project.version)
151+ attributes.put(" Sentry-Version-Name" , " sentry- ${ project.version} -otel- ${ Config . Libs . OpenTelemetry .otelInstrumentationVersion} " )
152152 attributes.put(" Sentry-SDK-Name" , Config .Sentry .SENTRY_OPENTELEMETRY_AGENT_SDK_NAME )
153153 attributes.put(" Sentry-SDK-Package-Name" , " maven:io.sentry:sentry-opentelemetry-agent" )
154154 attributes.put(" Sentry-Opentelemetry-SDK-Name" , Config .Sentry .SENTRY_OPENTELEMETRY_AGENT_SDK_NAME )
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public void readManifestFiles() {
6161 final @ Nullable Attributes mainAttributes = manifest .getMainAttributes ();
6262 if (mainAttributes != null ) {
6363 final @ Nullable String name = mainAttributes .getValue ("Sentry-Opentelemetry-SDK-Name" );
64- final @ Nullable String version = mainAttributes .getValue ("Sentry -Version-Name " );
64+ final @ Nullable String version = mainAttributes .getValue ("Implementation -Version" );
6565 final @ Nullable String sdkName = mainAttributes .getValue ("Sentry-SDK-Name" );
6666 final @ Nullable String packageName = mainAttributes .getValue ("Sentry-SDK-Package-Name" );
6767
You can’t perform that action at this time.
0 commit comments