ILogger LogError in developer-local monitoring solution #5244
Replies: 1 comment 1 reply
-
Jaeger is not a tool that supports OTel Logs, so you need to use a different tool. OpenSearch/Elastic/Loki etc. are some of the options. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I made a small sample to show the problem I am trying to solve - basically, how-to get LogError calls to show in a local monitoring solution. The code that logs the error:
https://github.com/christophwille/OTel-de-Wille/blob/fcc5c423726f5917d5b84704152c7434c630d677/LogErrorSample/Program.cs#L22
The code that does the
builder.Logging.AddOpenTelemetry
:https://github.com/christophwille/OTel-de-Wille/blob/fcc5c423726f5917d5b84704152c7434c630d677/LogErrorSample/WebApplicationBuilderExtensions.cs#L16-L26
As you can see, this is more or less the same as from the sample in this repository.
However, AddOtlpExporter is eluding me with either
Do you know / recommend a locally installed monitoring tool that allows me to catch the logs via the AddOtlpExporter method? Tracing works like a charm with those two tools though.
Beta Was this translation helpful? Give feedback.
All reactions