Hi - sorry if this is a seriously basic question, ...
# support
o
Hi - sorry if this is a seriously basic question, but I have: • SigNoz running on Ubuntu - I can see the hotrod sample data in "Services" (though I've since removed this from the install, using the instructions provided) • I have created a simple C# application with instrumentation to log a value periodically - this is just a test • I'm using .Net with Serilog and the Serilog.Sinks.OpenTelemetry package
Copy code
Log.Logger = new LoggerConfiguration()
                .WriteTo.OpenTelemetry(options =>
                {
                    options.Endpoint = "<http://192.168.xx.yy:4317>";
                    options.ResourceAttributes = new Dictionary<string, object>
                    {
                        ["service.name"] = "test-service"
                    };
                })
                .CreateLogger();
• My log message is reaching SigNoz and if I search for
test-service
I can see messages in the logs - but nothing shows up in the Services. The documentation suggests that this should happen automatically if
service.name
is declared (which I believe I am doing in-line with the Serilog->OpenTelemetry docs) Here's the SigNoz detail for a typical log entry (below): Hopefully someone can help point me to why these don't get recognised under Services or Traces?
Additional: If I omit
service.name
from the Serilog logger, my log entries include a synthetic
service_name
Resource
of
unknown_service:TestLogger.exe
Sorry to bump - is anyone able to offer a hint here? SigNoz seems like a good solution for us, but if I can't get it to recognise log messages we'll have to look elsewhere
s
The Services tabs list is populated from the traces data. The logs data alone won't add any services because of the RED metrics calculation.