Closed vytautas-pranskunas- closed 2 years ago
After talking to datadog chat logs are sent (i did nothing.. thay somehow enealed something) but I am facing another problems 1) I am not able to see error logs in datadog but i am using: DatadogRum.instance.addError(error, stackTrace) 2) I am not able to see request body (while seeing requests) by passing http client to graphql package 3) I am seeing this message in conole: A RUM event was detected, but no view is active. To track views automatically, try calling the DatadogConfig.Builder.useViewTrackingStrategy() method. W/Datadog ( 7907): You can also track views manually using the RumMonitor.startView() and RumMonitor.stopView() methods.
@vytautas-pranskunas- you won't see the request body in the APM traces. This is a deliberate; sensitive information could be in the body.
As to your first and third messages, please use the DatadogObserver
1) I am using DatadogObserver, unless I cannot use few observers because i also using firebase analytics observer. 2) regarding request body tracing - I am using graphql i sensetive data is passed in variables, i need to log body because i do not know what request it was...
p.p.s I am trying to build my own link to track requests but i see following error:
i think you ened to change documentation to DatadogRum.instance.startResourceLoading
however when I am trying to call via instance i get this error:
I was able to solve #2 problem above almost excet fact that when i am callingDatadogRum.instance.stopResourceLoading(requestId)
I am getting error about 'fetch' contstant
Still sturgling to make DatadogObserver to work
@tshedor Any help would be awesome! Because i cannot complete datadog integration.
I have checked with datadog support team - configuration looks good howver no logs are landing in datadog: logs, route observation, network observations, errors, nothing. My log service looks like this:
I call init() in main before any activity
any ideas why i am not able to send logs?