fnproject / fdk-java

Java API and runtime for fn.
Apache License 2.0
142 stars 53 forks source link

Change in Java FDK to support enable/disable feature of the apm integration tracing. #257

Closed rishabhsri18 closed 3 years ago

rishabhsri18 commented 3 years ago

Java-FDK provide the feature to enable tracing in the function declared. To ease it for user to have a facility to directly use a toggle button for enable and disable of this tracing feature we need to pass the mock value because the tracer(Zipkin) doesn't allow blank values and throws an exception which would be inconvenient for the end user. I have just added the mock values for the data to support the feature of enable and disable tracing by passing mock values.