Contact Us

FESR Receiver for Java

fesr-to-otel-java

A Spring Boot convenience library that provides an FESR beacon handler that will receive FESR and exports these via OpenTelemetry. Needs to be used in conjunction with an OpenTelemetry Java Agent, such as the SAP Cloud ALM Data Collector Instrumentation.

Setup

Use the fesr-to-otel-java library version depending on your Spring Boot version:

  • fesr-to-otel-java 1.5.17 for Spring Boot 2
  • fesr-to-otel-java 2.0.13 for Spring Boot 3

In your pom.xml include the dependency to this library and adopt the version accordingly:

<dependency>
<groupId>com.sap.xdsr</groupId>
<artifactId>fesr-to-otel-java</artifactId>
<version>1.5.17</version>
<scope>runtime</scope>
</dependency>

Enable the component scan to pick up the REST endpoint /fesr via annotation:

...
@ComponentScan(basePackages = { "com.sap.xdsr.fesr" })
....

This will expose a GET endpoint on /fesr in your Spring Boot project. It will be able to receive SAP UI5's FESR beacons, decode them and export them via OpenTelemetry as spans.