CPS-2172 - OpenTelemetry tracing

References

CPS-2172: OpenTelemetry tracingClosed

Assumptions

Assumption

Notes

Sign-off

Assumption

Notes

Sign-off

1

Performance should not be significantly affected

ETH shall carry out more performance test

Apr 10, 2024 @Kolawole Adebisi-Adeolokun   Lorant Hideg 

2

NCMP shall have it disabled by default

ETH can then turn on/off

Apr 10, 2024 @Kolawole Adebisi-Adeolokun Lorant Hideg  

Issues & Decisions

Issue

Notes 

Decision

 

Issue

Notes 

Decision

 

1

1

NCMP is working on replacing RestTemplate with Webclient

Driven by CPS-989 &  CPS-2148

NCMP should verify webclient works as expected when implemented @Kolawole Adebisi-Adeolokun@ Lorant Hideg  Apr 10, 2024 

2

Scheduled Tasks

  1. What are the scheduled tasks that shouldn't be included in OpenTelementry tracing

  2. Could we changes to omit agreed tasks from tracing ?

 

 

Requirements

Requirement

Additional Information

Signoff

Requirement

Additional Information

Signoff

1

NCMP shall support OpenTelemetry tracing functionality;

  1. OpenTelemetryConfig.java – this is for RestTemplate tracing enablement. 

  2. KafkaConfig.java – this is an extension for the current Kafka configuration with tracing.

  3. Opentelemetry-ncmp-pom.txt – these are the additional dependencies for tracing functionality.

  4. Opentelemetry-ncmp-application-properties.txt – this is the configuration for the application. Tracing feature must be optional and configurable.

OpenTelemetry is an open standard for implementation. https://opentelemetry.io/docs/languages/java/instrumentation/

File attachment in CPS-2172: OpenTelemetry tracingClosed

 

 

@Lorant Hideg Apr 10, 2024  @Kolawole Adebisi-Adeolokun 

2

Prevent Excessive Tracing on scheduled task

NCMP shall apply filter for prefix for;

  1. Restcalls with prefix /actuator/** shall not be part of rest call

  2. Any context with the name tasks.scheduled.execution

 

 

Lorant Hideg @Kolawole Adebisi-Adeolokun  Apr 10, 2024 

Characteristics

Parameter

Expectation

Notes

Signoff

Parameter

Expectation

Notes

Signoff

1

Refer to assumption 1

 

 

 

 

Error Handling - N/A in this sci

Solution Proposal