Skip to content

Send Mongo logs to Loki with OTEL #6977

Answered by davidfowl
nine-2-five asked this question in Q&A
Discussion options

You must be logged in to vote

You can look at the souce code:

public static IResourceBuilder<T> WithOtlpExporter<T>(this IResourceBuilder<T> builder) where T : IResourceWithEnvironment

It sets environment variables.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nine-2-five
Comment options

@davidfowl
Comment options

Answer selected by nine-2-five
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants