Odigos will automatically instrument your services and record semantic spans from popular modules. Many users find the automatic instrumentation data sufficient for their needs.
However, if there is anything specific to your application that you want to record, you can enrich the data by adding custom spans to your code.
This is sometimes referred to as manual instrumentation
.
Examples of custom spans you might want to add to your code include:
Add the following dependencies to your project by running:
To create a new Activity
, use the ActivitySource
class.
For more use cases, see the OpenTelemetry .NET API documentation.
Odigos will automatically instrument your services and record semantic spans from popular modules. Many users find the automatic instrumentation data sufficient for their needs.
However, if there is anything specific to your application that you want to record, you can enrich the data by adding custom spans to your code.
This is sometimes referred to as manual instrumentation
.
Examples of custom spans you might want to add to your code include:
Add the following dependencies to your project by running:
To create a new Activity
, use the ActivitySource
class.
For more use cases, see the OpenTelemetry .NET API documentation.