https://signoz.io logo
#general
Title
# general
o

Ognen Todorovski

05/04/2023, 2:29 PM
does anyone know how to how can i change the OperationName of a certain request in .Net for signoz
p

Prashant Shahi

05/11/2023, 5:42 PM
I suppose it depends on the instrumentation. In case of manual instrumentation, you can set the operation name using
StartActiveSpan
as well as
UpdateName
functions as shown in below example. https://github.com/open-telemetry/opentelemetry-dotnet/blob/main/examples/Console/TestOTelShimWithConsoleExporter.cs#L39-L45
5 Views