File tree Expand file tree Collapse file tree 4 files changed +20
-7
lines changed
src/test/java/org/hypertrace/agent/otel/extensions/config
java/org/hypertrace/agent/smoketest Expand file tree Collapse file tree 4 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,19 @@ plugins {
6
6
id(" com.google.protobuf" ) version " 0.9.4"
7
7
}
8
8
9
+ sourceSets {
10
+ main {
11
+ proto {
12
+ srcDir(" src/main/proto" )
13
+ exclude(" gen/go/**" )
14
+ }
15
+ }
16
+ }
17
+
18
+ tasks.named<Copy >(" processResources" ) {
19
+ duplicatesStrategy = DuplicatesStrategy .EXCLUDE
20
+ }
21
+
9
22
10
23
val protobufVersion = " 3.25.5"
11
24
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ public void zipkinExporter() throws IOException {
199
199
AgentConfig agentConfig = HypertraceConfig .load (resource .getPath ());
200
200
// VERIFY the trace reporting endpoint is the zipkin endpoint
201
201
Assertions .assertEquals (
202
- "http://example.com:9411 /api/v2/spans" ,
202
+ "http://example.com:5442 /api/v2/spans" ,
203
203
agentConfig .getReporting ().getEndpoint ().getValue ());
204
204
// VERIFY the trace reporting type is ZIPKIN
205
205
Assertions .assertEquals (
Original file line number Diff line number Diff line change 25
25
public class OpenTelemetryCollector extends GenericContainer <OpenTelemetryCollector > {
26
26
27
27
public static final int JAEGER_COLLECTOR_THRIFT_PORT = 14268 ;
28
- public static final int JAEGER_COLLECTOR_GRPC_PORT = 14250 ;
29
- public static final int HTTP_REVERSE_PROXY_PORT = 5442 ;
30
- public static final int HTTPS_REVERSE_PROXY_PORT = 5443 ;
31
- public static final int HEALTH_CHECK_PORT = 13133 ;
28
+ public static final int JAEGER_COLLECTOR_GRPC_PORT = 14250 ;
29
+ public static final int HTTP_REVERSE_PROXY_PORT = 5442 ;
30
+ public static final int HTTPS_REVERSE_PROXY_PORT = 5443 ;
31
+ public static final int HEALTH_CHECK_PORT = 13133 ;
32
32
33
33
public OpenTelemetryCollector (String dockerImage ) {
34
34
super (DockerImageName .parse (dockerImage ));
@@ -42,8 +42,7 @@ protected void init() {
42
42
JAEGER_COLLECTOR_THRIFT_PORT ,
43
43
JAEGER_COLLECTOR_GRPC_PORT ,
44
44
HTTP_REVERSE_PROXY_PORT ,
45
- HTTPS_REVERSE_PROXY_PORT
46
- );
45
+ HTTPS_REVERSE_PROXY_PORT );
47
46
}
48
47
49
48
public static class BoundPortHttpWaitStrategy extends HttpWaitStrategy {
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ receivers:
9
9
otlp :
10
10
protocols :
11
11
grpc :
12
+ endpoint : 0.0.0.0:5442
12
13
zipkin :
13
14
jaeger :
14
15
protocols :
You can’t perform that action at this time.
0 commit comments