https://github.com/shuttle/shuttle.core.mediator.opentelemetry
OpenTelemetry instrumentation for Shuttle.Core.Mediator implementations.
https://github.com/shuttle/shuttle.core.mediator.opentelemetry
Last synced: 12 months ago
JSON representation
OpenTelemetry instrumentation for Shuttle.Core.Mediator implementations.
- Host: GitHub
- URL: https://github.com/shuttle/shuttle.core.mediator.opentelemetry
- Owner: Shuttle
- License: bsd-3-clause
- Created: 2022-10-29T19:31:19.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T10:51:51.000Z (almost 2 years ago)
- Last Synced: 2025-03-06T10:12:04.632Z (about 1 year ago)
- Language: C#
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shuttle.Core.Mediator.OpenTelemetry
```
PM> Install-Package Shuttle.Core.Mediator
```
OpenTelemetry instrumentation for Shuttle.Core.Mediator implementations.
## Configuration
```c#
services.AddServiceBusInstrumentation(builder =>
{
// default values
builder.Options.Enabled = true;
// or bind from configuration
configuration
.GetSection(MediatorOpenTelemetryOptions.SectionName)
.Bind(builder.Options);
});
## Options
| Option | Default | Description |
| --- | --- | --- |
| `Enabled` | `true` | Indicates whether to perform instrumentation. |