Skip to content

Commit 993daeb

Browse files
author
Jeel Mehta
committed
Making the name and directory name changes to files in this PR
1 parent 36a0a81 commit 993daeb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/release-udp-exporter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
cache: 'gradle' # Add gradle caching
2626

2727
- name: Build, Test and Publish UDP exporter
28-
working-directory: exporters/aws-otel-otlp-udp-exporter
28+
working-directory: exporters/aws-opentelemetry-xray-lambda-exporter
2929
run: |
3030
gradle build
3131
gradle publishToMavenLocal

sample-apps/integ-test-app/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77

88
dependencies {
99
implementation("org.springframework.boot:spring-boot-starter-web")
10-
implementation("software.amazon.opentelemetry.exporters.otlp.udp.trace:aws-otel-otlp-udp-exporter:0.1.0")
10+
implementation("software.amazon.distro.opentelemetry.exporter.xray.lambda:aws-opentelemetry-xray-lambda-exporter:0.1.0")
1111
implementation(platform("io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:2.10.0"))
1212
implementation("io.opentelemetry:opentelemetry-api")
1313
implementation("io.opentelemetry:opentelemetry-sdk")

sample-apps/integ-test-app/src/main/java/com/amazon/sampleapp/ValidationApp.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
import org.springframework.boot.SpringApplication;
88
import org.springframework.boot.autoconfigure.SpringBootApplication;
99
import org.springframework.context.annotation.Bean;
10-
import software.amazon.opentelemetry.exporters.otlp.udp.trace.OtlpUdpSpanExporter;
11-
import software.amazon.opentelemetry.exporters.otlp.udp.trace.OtlpUdpSpanExporterBuilder;
10+
import software.amazon.distro.opentelemetry.exporter.xray.lambda.AWSXrayLambdaExporterBuilder;
11+
import software.amazon.distro.opentelemetry.exporter.xray.lambda.AWSXrayLambdaExporter;
1212

1313
@SpringBootApplication
1414
public class ValidationApp {
1515

1616
@Bean
1717
public SdkTracerProvider tracerProvider() {
1818
// Set up UDP exporter
19-
OtlpUdpSpanExporter exporter =
20-
new OtlpUdpSpanExporterBuilder().setEndpoint("localhost:2000").build();
19+
AWSXrayLambdaExporter exporter =
20+
new AWSXrayLambdaExporterBuilder().setEndpoint("localhost:2000").build();
2121

2222
// Set up and return the tracer provider
2323
return SdkTracerProvider.builder()

0 commit comments

Comments
 (0)