/home is not instrumented since component property is not provided

Kibana version: 7.6.2

Elasticsearch version:

APM Server version:

APM Agent language and version: elastic/apm-rum@5.2.0

Browser version: google chrome 83.0.4103.61

Original install method (e.g. download page, yum, deb, from source, etc.) and version: yarn

Description of the problem including expected versus actual behavior. Please include screenshots (if relevant): I'm using the @elastic/apm-rum-react@1.1.2 and using the ApmRoute component. And it isn't work. Apm call this message "/home is not instrumented since component property is not provided"

Hi @alexandreservian,

Thanks for reporting the issue.

Would you please post here a snippet of your code that uses ApmRoute?

As a reminder, ApmRoute requires the component property to be passed to it, e.g.: <ApmRoute path="/home" component={Component} />

Cheers,
Hamid

hi @Hamidreza the problam was adjusted. I was using the route component in prop render, however I changed to component prop

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.