Skip to content

Commit 0b2c14c

Browse files
authored
Merge branch 'main' into emf-exporter
2 parents f6ba80a + d236d79 commit 0b2c14c

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

.github/workflows/application-signals-e2e-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ jobs:
8383
java-version: '21'
8484
cpu-architecture: 'x86_64'
8585

86-
default-v22-amd64:
86+
default-v23-amd64:
8787
needs: [ upload-main-build ]
8888
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/java-ec2-default-test.yml@main
8989
secrets: inherit
9090
with:
9191
aws-region: us-east-1
9292
caller-workflow-name: 'main-build'
93-
java-version: '22'
93+
java-version: '23'
9494
cpu-architecture: 'x86_64'
9595

9696
java-ec2-adot-sigv4-test:
@@ -147,7 +147,7 @@ jobs:
147147
caller-workflow-name: 'main-build'
148148
java-version: '21'
149149

150-
eks-v22-amd64:
150+
eks-v23-amd64:
151151
needs: eks-v21-amd64
152152
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/java-eks-test.yml@main
153153
secrets: inherit
@@ -156,7 +156,7 @@ jobs:
156156
test-cluster-name: 'e2e-adot-test'
157157
adot-image-name: ${{ inputs.adot-image-name }}
158158
caller-workflow-name: 'main-build'
159-
java-version: '22'
159+
java-version: '23'
160160

161161
#
162162
# PACKAGED DISTRIBUTION PLATFORM COVERAGE
@@ -229,7 +229,7 @@ jobs:
229229
#
230230

231231
metric-limiter-v11-amd64:
232-
needs: [ eks-v22-amd64 ]
232+
needs: [ eks-v23-amd64 ]
233233
uses: aws-observability/aws-application-signals-test-framework/.github/workflows/metric-limiter-test.yml@main
234234
secrets: inherit
235235
with:

.github/workflows/main-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ jobs:
226226
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a #v4.4.3
227227

228228
- name: Build snapshot with Gradle
229-
run: contractTests -PlocalDocker=true
229+
run: ./gradlew contractTests -PlocalDocker=true
230230

231231
application-signals-lambda-layer-build:
232232
runs-on: ubuntu-latest

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# permissions and limitations under the License.
1414

1515
# Stage 1: Build the cp-utility binary
16-
FROM public.ecr.aws/docker/library/rust:1.89 as builder
16+
FROM public.ecr.aws/docker/library/rust:1.89 AS builder
1717

1818
WORKDIR /usr/src/cp-utility
1919
COPY ./tools/cp-utility .

appsignals-tests/contract-tests/src/test/java/software/amazon/opentelemetry/appsignals/test/base/JMXMetricsContractTestBase.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ protected void assertMetrics() {
6060
protected long getThreshold(String metricName) {
6161
long threshold = 0;
6262
switch (metricName) {
63-
// If maximum memory size is undefined, then value is -1
64-
// https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/MemoryUsage.html#getMax()
65-
// Thread count can be negative when excutor is null
66-
// https://github.com/apache/tomcat/blob/1afe41491f0e56ec0a776db5ff84607f87ce6640/java/org/apache/tomcat/util/net/AbstractEndpoint.java#L1204
63+
// If maximum memory size is undefined, then value is -1
64+
// https://docs.oracle.com/en/java/javase/17/docs/api/java.management/java/lang/management/MemoryUsage.html#getMax()
65+
// Thread count can be negative when excutor is null
66+
// https://github.com/apache/tomcat/blob/1afe41491f0e56ec0a776db5ff84607f87ce6640/java/org/apache/tomcat/util/net/AbstractEndpoint.java#L1204
6767
case JMXMetricsConstants.TOMCAT_THREADS:
6868
threshold = -2;
6969
break;

awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsMetricAttributeGenerator.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,17 +455,17 @@ private static String normalizeRemoteServiceName(SpanData span, String serviceNa
455455
case "AmazonSQS": // AWS SDK v1
456456
case "Sqs": // AWS SDK v2
457457
return NORMALIZED_SQS_SERVICE_NAME;
458-
// For Bedrock, Bedrock Agent, and Bedrock Agent Runtime, we can align with AWS Cloud
459-
// Control and use AWS::Bedrock for RemoteService.
458+
// For Bedrock, Bedrock Agent, and Bedrock Agent Runtime, we can align with AWS Cloud
459+
// Control and use AWS::Bedrock for RemoteService.
460460
case "AmazonBedrock": // AWS SDK v1
461461
case "Bedrock": // AWS SDK v2
462462
case "AWSBedrockAgentRuntime": // AWS SDK v1
463463
case "BedrockAgentRuntime": // AWS SDK v2
464464
case "AWSBedrockAgent": // AWS SDK v1
465465
case "BedrockAgent": // AWS SDK v2
466466
return NORMALIZED_BEDROCK_SERVICE_NAME;
467-
// For BedrockRuntime, we are using AWS::BedrockRuntime as the associated remote resource
468-
// (Model) is not listed in Cloud Control.
467+
// For BedrockRuntime, we are using AWS::BedrockRuntime as the associated remote resource
468+
// (Model) is not listed in Cloud Control.
469469
case "AmazonBedrockRuntime": // AWS SDK v1
470470
case "BedrockRuntime": // AWS SDK v2
471471
return NORMALIZED_BEDROCK_RUNTIME_SERVICE_NAME;

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
pluginManagement {
1717
plugins {
18-
id("com.diffplug.spotless") version "6.25.0"
18+
id("com.diffplug.spotless") version "7.0.3"
1919
id("com.github.ben-manes.versions") version "0.50.0"
2020
id("com.github.jk1.dependency-license-report") version "2.5"
2121
id("com.gradleup.shadow") version "8.3.5"

tools/cp-utility/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/cp-utility/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ edition = "2021"
1111
[dev-dependencies]
1212
# dependencies only used during tests
1313
tempfile = "3.22.0"
14-
uuid = { version = "1.18.0", features = ["v4", "fast-rng"] }
14+
uuid = { version = "1.18.1", features = ["v4", "fast-rng"] }
1515

1616
[profile.release]
1717
# Levers to optimize the binary for size

0 commit comments

Comments
 (0)