Skip to content

Commit

Permalink
remove tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
EmanueleValentini1 committed Sep 24, 2024
1 parent 84670c9 commit 1a77fd3
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion helm-chart/environments/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ database:
password: PASSWORD_DB

tracing:
enabled: "true"
enabled: "false"
endpointBasePath: "http://jaeger-collector.default.svc.cluster.local:4317"
enableJDBCMonitoring: "true"

Expand Down
2 changes: 1 addition & 1 deletion helm-chart/environments/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ database:
password: PASSWORD_DB

tracing:
enabled: "true"
enabled: "false"
endpointBasePath: "http://jaeger-collector.default.svc.cluster.local:4317"
enableJDBCMonitoring: "true"

Expand Down
2 changes: 1 addition & 1 deletion helm-chart/environments/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ database:
password: PASSWORD_DB

tracing:
enabled: "true"
enabled: "false"
endpointBasePath: "http://jeager-manual-trace-ecs-priv-b19cfd091be2d616.elb.eu-south-1.amazonaws.com:4317"
enableJDBCMonitoring: "true"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,17 @@ public class BpmnResource {
private final BpmnFileStorageService bpmnFileStorageService;
private final BpmnVersionMapper bpmnVersionMapper;
private final BpmnConfigMapper bpmnConfigMapper;
private final Tracer tracer;

@Inject
public BpmnResource(BpmnVersionService bpmnVersionService, BpmnBankConfigService bpmnBankConfigService,
BpmnEntityValidator bpmnEntityValidator, BpmnFileStorageService bpmnFileStorageService,
BpmnVersionMapper bpmnVersionMapper, BpmnConfigMapper bpmnConfigMapper, Tracer tracer) {
BpmnVersionMapper bpmnVersionMapper, BpmnConfigMapper bpmnConfigMapper) {
this.bpmnVersionService = bpmnVersionService;
this.bpmnBankConfigService = bpmnBankConfigService;
this.bpmnEntityValidator = bpmnEntityValidator;
this.bpmnFileStorageService = bpmnFileStorageService;
this.bpmnVersionMapper = bpmnVersionMapper;
this.bpmnConfigMapper = bpmnConfigMapper;
this.tracer = tracer;
}

@GET
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,11 @@
public class WorkflowResourceResource {
private final WorkflowResourceService workflowResourceService;
private final WorkflowResourceMapper workflowResourceMapper;
private final Tracer tracer;

@Inject
public WorkflowResourceResource(WorkflowResourceService workflowResourceService, WorkflowResourceMapper workflowResourceMapper,
Tracer tracer) {
public WorkflowResourceResource(WorkflowResourceService workflowResourceService, WorkflowResourceMapper workflowResourceMapper) {
this.workflowResourceService = workflowResourceService;
this.workflowResourceMapper = workflowResourceMapper;
this.tracer = tracer;
}

@GET
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-local.properties
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ cdn.offset-path=${CDN_OFFSET_PATH:RESOURCE/}
###################
# TRACING
###################
quarkus.otel.traces.enabled=${TRACING_ENABLED:true}
quarkus.otel.traces.enabled=${TRACING_ENABLED:false}
quarkus.otel.exporter.otlp.traces.endpoint=${TRACING_ENDPOINT_BASE_PATH:http://localhost:4317}
quarkus.datasource.jdbc.telemetry=${TRACING_ENABLE_JDBC_MONITORING:true}
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ cdn.offset-path=${CDN_OFFSET_PATH:RESOURCE/}
###################
# TRACING
###################
quarkus.otel.traces.enabled=${TRACING_ENABLED:true}
quarkus.otel.traces.enabled=${TRACING_ENABLED:false}
quarkus.otel.exporter.otlp.traces.endpoint=${TRACING_ENDPOINT_BASE_PATH:http://jaeger-collector.default.svc.cluster.local:4317}
quarkus.datasource.jdbc.telemetry=${TRACING_ENABLE_JDBC_MONITORING:true}

Expand Down

0 comments on commit 1a77fd3

Please sign in to comment.