Package com.activeviam.tracing
Interface ITracingRestService
-
- All Known Implementing Classes:
ProxyTracingRestServiceController
public interface ITracingRestServiceDefinition of a REST service forwarding external tracing to a tracing handler.This mainly serves as a Proxy for client-side applications connecting to ActivePivot, in order to provide them access to the internal tracing system while not requiring additional permissions to the internal architecture of the network and application deployment.
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMESPACEThe tracing rest service namespace.static StringPUBLISH_PATHThe path to add to the current service path for publishing traces to Activepivot server.static StringREST_API_URL_PREFIXThe full rest tracing endpoint.static StringVERSIONThe version number.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(List<JsonTracingInfo> traces)Accepts client tracing info and forwards them to the Tracing system.
-
-
-
Field Detail
-
VERSION
static final String VERSION
The version number.- See Also:
- Constant Field Values
-
NAMESPACE
static final String NAMESPACE
The tracing rest service namespace.- See Also:
- Constant Field Values
-
REST_API_URL_PREFIX
static final String REST_API_URL_PREFIX
The full rest tracing endpoint.- See Also:
- Constant Field Values
-
PUBLISH_PATH
static final String PUBLISH_PATH
The path to add to the current service path for publishing traces to Activepivot server.- See Also:
- Constant Field Values
-
-
Method Detail
-
accept
@PostMapping("/publish") void accept(@RequestBody List<JsonTracingInfo> traces)Accepts client tracing info and forwards them to the Tracing system.- Parameters:
traces- The incoming traces
-
-