Skip to content

Commit

Permalink
upgrade upstream (#586)
Browse files Browse the repository at this point in the history
* upgrade upstream

* upgrade upstream
  • Loading branch information
zeitlinger authored Jul 4, 2024
1 parent 5bb4827 commit 1783a5d
Show file tree
Hide file tree
Showing 25 changed files with 32 additions and 30 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## 2.4.0-beta.1 (2024-05-27)
## 2.5.0-beta.1 (2024-07-04)

- Update to [OpenTelemetry 2.5.0](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/CHANGELOG.md#version-250-2024-06-17)

- Update to [OpenTelemetry 2.4.0](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/CHANGELOG.md#version-240-2024-05-18)

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ENV OTEL_SERVICE_NAME=<Service Name>
# - Click on "Application"
# Note: It might take up to five minutes for data to appear.

ARG version=2.4.0-beta.1
ARG version=2.5.0-beta.1
WORKDIR /app/

# use a fixed version
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ENV OTEL_RESOURCE_ATTRIBUTES=deployment.environment=<Environment>,service.namesp
# - Click on "Application"
# Note: It might take up to five minutes for data to appear.

ARG version=2.4.0-beta.1
ARG version=2.5.0-beta.1
WORKDIR /app/

# use a fixed version
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
group 'com.grafana'
version '2.4.0-beta.1'
version '2.5.0-beta.1'

buildscript {
ext {
otelInstrumentationVersion = "2.4.0"
otelInstrumentationVersion = "2.5.0"
}
repositories {
maven {
Expand All @@ -26,7 +26,7 @@ subprojects {
ext {
versions = [
// this line is managed by .github/scripts/update-sdk-version.sh
opentelemetrySdk : "1.38.0",
opentelemetrySdk : "1.39.0",

// these lines are managed by .github/scripts/update-version.sh
opentelemetryJavaagent : otelInstrumentationVersion,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@

public class DistributionVersion {

public static final String VERSION = "2.4.0-beta.1";
public static final String VERSION = "2.5.0-beta.1";
}
2 changes: 1 addition & 1 deletion examples/jdbc/spring-boot-non-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/jdbc/spring-boot-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/jetty/spring-boot-non-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/jetty/spring-boot-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/jms/spring-boot-non-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/jms/spring-boot-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/kafka/spring-boot-non-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/kafka/spring-boot-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/log4j/spring-boot-non-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/logback/spring-boot-non-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
4 changes: 2 additions & 2 deletions examples/manual/spring-boot-non-reactive-2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ repositories {

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation('io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:2.4.0')
implementation('io.opentelemetry:opentelemetry-api:1.38.0')
implementation('io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:2.5.0')
implementation('io.opentelemetry:opentelemetry-api:1.39.0')
}

bootRun {
Expand Down
6 changes: 3 additions & 3 deletions examples/manual/spring-boot-non-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand All @@ -17,8 +17,8 @@ repositories {

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation('io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:2.4.0')
implementation('io.opentelemetry:opentelemetry-api:1.38.0')
implementation('io.opentelemetry.instrumentation:opentelemetry-instrumentation-annotations:2.5.0')
implementation('io.opentelemetry:opentelemetry-api:1.39.0')
}

bootRun {
Expand Down
2 changes: 1 addition & 1 deletion examples/mongodb/spring-boot-non-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/mongodb/spring-boot-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/redis/spring-boot-non-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/redis/spring-boot-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/run-example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ done

"$scriptDir"/start-grafana-agent.sh

agentVersion=2.4.0-beta.1
agentVersion=2.5.0-beta.1
agent="grafana-opentelemetry-java-$agentVersion.jar"
agentPath="$scriptDir/$agent"

Expand Down
2 changes: 1 addition & 1 deletion examples/undertow/spring-boot-non-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion examples/undertow/spring-boot-reactive-3/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.0'
id 'org.springframework.boot' version '3.3.1'
id 'io.spring.dependency-management' version '1.1.5'
}

Expand Down
2 changes: 1 addition & 1 deletion smoke-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies {
testImplementation(project(":custom"))
testImplementation("org.testcontainers:testcontainers:1.19.8")
testImplementation("com.fasterxml.jackson.core:jackson-databind:2.17.1")
testImplementation("com.google.protobuf:protobuf-java-util:4.27.2")
testImplementation("com.google.protobuf:protobuf-java-util:3.25.3")
testImplementation("com.squareup.okhttp3:okhttp:4.12.0")
testImplementation("io.opentelemetry.proto:opentelemetry-proto:1.3.1-alpha")
testImplementation("io.opentelemetry:opentelemetry-api")
Expand Down

0 comments on commit 1783a5d

Please sign in to comment.