OTLP Logs Endpoint - Missing clear documentation #4326
Unanswered
dominiclapointe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I have a classic Aspire solution (v 8.0.1). I have a few APIs and its working just great.
I am now trying to send openTelemetry logs from a MAUI application to the dashboard by using a CustomExporter: BaseExpoter as i think / know that MAUI is not supported by Aspire out of the box.
I am ok not having service discovery and other features for that project, but would really like being able to redirect logs, metrics and traces to the same place than my APIs will be.
From what i understand, we can call the LogsService either using Http or Grpc from what i understand from this code in logs_service_http.yaml :
To get started, im trying to be able to do a call using Postman but =>
When i try an http call, it throw the error socket Socket hang up
When i try GRPC, using the logs_service.proto as definition, i get an error 16 UNAUTHENTICATED, even tough i send the token :
Here is the launchSettings.json of my AppHost :
Ive read somewhere that some of those env_var might not be taking into consideration when running the full aspire but only for the standalone dashboard. I know the OTLP is listening on the specified port (6666) so this config is working. As for the API Key, i tried with mine (123456) but also with the random key generated by the dashboard. None seems to works
Am i missing something or is it really just not meant to be call by a 'not aspire' project / app?
Any direction would be much appreciated and i guess some documentation on this use case could be more than welcome for the community as i would expect i am not the only one willing to integrate 'non aspire' application into an 'aspire solution'.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions