The reason you can’t trace with a custom channel may depend on a few possible issues. Here are some common explanations:
-
Custom channel not properly configured: If the custom channel isn’t set up correctly or registered within your tool or system, tracing may fail.
-
Lack of permissions: Tracing often requires specific permissions. Make sure your custom channel has the necessary access rights or debugging permissions.
-
Unsupported by the tracing tool: Some tracing tools only support standard or predefined channels. Custom channels may need additional configuration to be recognized.
-
Missing instrumentation: If your code or system doesn’t emit trace events through the custom channel, there won’t be anything to trace.
-
Incorrect trace listener setup: The trace listener or subscriber might not be listening to the custom channel. Double-check the setup to ensure the listener is properly connected.