Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/groww-oss/temporal-opentelemetry
- Owner: Groww-OSS
- License: mit
- Created: 2024-06-26T07:14:43.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-08T07:38:42.000Z (6 months ago)
- Last Synced: 2024-10-09T19:23:15.748Z (3 months ago)
- Topics: framework, interceptor, java, java-sdk, microservices, open-source, opentelemetry, temporal, workflow-engine
- Language: Java
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
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();
```