Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/groww-oss/temporal-opentelemetry

Temporal's Java SDK interceptors for tracing Workflow and Activity executions with OpenTelemetry.
https://github.com/groww-oss/temporal-opentelemetry

framework interceptor java java-sdk microservices open-source opentelemetry temporal workflow-engine

Last synced: 3 months ago
JSON representation

Temporal's Java SDK interceptors for tracing Workflow and Activity executions with OpenTelemetry.

Awesome Lists containing this project

README

        

# Temporal [OpenTelemetry](https://opentelemetry.io/) module

This module provides a set of Interceptors that adds support for OpenTelemetry Span Context propagation to Temporal.

## Usage

You want to register two interceptors - one on the Temporal client side, another on the worker side:

1. Client configuration:
```java
import com.groww.infra.temporal.opentelemetry.OpenTelemetryClientInterceptor;
//...
.setInterceptors(new OpenTelemetryClientInterceptor())
.build();
```
2. Worker configuration:
```java
import com.groww.infra.temporal.opentelemetry.OpenTelemetryWorkerInterceptor;
//...
.setWorkerInterceptors(new OpenTelemetryWorkerInterceptor())
.build();
```