I added the following code but where “my-service-n...
# support
s
I added the following code but where “my-service-name” matches the service name from the automatic instrumentation and what appears in SigNoz. However the operation “my-operation-name” never appears anywhere.
Copy code
Tracer tracer = GlobalOpenTelemetry.getTracer("my-service-name");

        Span childSpan = tracer.spanBuilder("my-operation-name").setSpanKind(SpanKind.SERVER).startSpan();
        childSpan.setAttribute("foo", "bar");
I was able to figure this out with a fair amount of difficulty. The docs in this area should be improved