-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Status
BUG REPORT
Steps
- Configure the New Relic sink using
.WriteTo.NewRelicLogs(endpointUrl, applicationName, licenseKey) - Write a log message
- Check the log details in New Relic Logs
- Service Name (in the header, above the table that lists all the log message's properties) is set to N/A
Expected behaviour
Service Name is set to the value of the applicationName variable that was used to configure the sink.
Actual behaviour
The value of the applicationName is not used.
Environment
Serilog.Sinks.NewRelic.Logs 1.1.0 on .NET Core 3.1 with New Relic One in Europe.
Background information
In this question about Service Name in New Relic Logs, the answer from New Relic Support is:
I understand that you are looking to add a Service Name within the Log detail. You can do that by simply adding a
serviceattribute to the log payload you are sending.
georgechond94, DominikPalo and vladimir-palocko-realtair
Metadata
Metadata
Assignees
Labels
No labels