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

https://github.com/shuttle/shuttle.recall.opentelemetry

OpenTelemetry instrumentation for Shuttle.Recall implementations.
https://github.com/shuttle/shuttle.recall.opentelemetry

Last synced: about 1 month ago
JSON representation

OpenTelemetry instrumentation for Shuttle.Recall implementations.

Awesome Lists containing this project

README

          

# Shuttle.Recall.OpenTelemetry

```
PM> Install-Package Shuttle.Recall.OpenTelemetry
```

OpenTelemetry instrumentation for Shuttle.Recall implementations.

## Configuration

```c#
services.AddRecallInstrumentation(builder =>
{
// default values
builder.Options.Enabled = true;
builder.Options.IncludeSerializedMessage = true;

// or bind from configuration
configuration
.GetSection(RecallOpenTelemetryOptions.SectionName)
.Bind(builder.Options);
});

## Options

| Option | Default | Description |
| --- | --- | --- |
| `Enabled` | `true` | Indicates whether to perform instrumentation. |
| `IncludeSerializedMessage` | `true` | If 'true', includes the serialized message as attribute `SerializedMessage` in the trace. |