<p dir="auto">Similar to react-router's <code class="notranslate">Link</code>, it would be nice to be able to customize CSS when a link is active, e.g with an <code class="notranslate">activeClassName</code> property.</p>
<p dir="auto">Im trying to integrate elastic APM (<a href="https://www.elastic.co/solutions/apm" rel="nofollow">https://www.elastic.co/solutions/apm</a>).<br>
When I import elastic-apm-node (<a href="https://github.com/elastic/apm-agent-nodejs">https://github.com/elastic/apm-agent-nodejs</a>)  package inside my pages/index.js it throws following error.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="These dependencies were not found:
* async_hooks in ./node_modules/elastic-apm-node/lib/instrumentation/async-hooks.js
* child_process in ./node_modules/elastic-apm-node/lib/instrumentation/patch-async.js
* dns in ./node_modules/elastic-apm-node/lib/instrumentation/patch-async.js
* module in ./node_modules/require-in-the-middle/index.js
* net in ./node_modules/elastic-apm-node/lib/instrumentation/patch-async.js"><pre class="notranslate"><code class="notranslate">These dependencies were not found:
* async_hooks in ./node_modules/elastic-apm-node/lib/instrumentation/async-hooks.js
* child_process in ./node_modules/elastic-apm-node/lib/instrumentation/patch-async.js
* dns in ./node_modules/elastic-apm-node/lib/instrumentation/patch-async.js
* module in ./node_modules/require-in-the-middle/index.js
* net in ./node_modules/elastic-apm-node/lib/instrumentation/patch-async.js
</code></pre></div>
<p dir="auto">When I import elastic-apm-js-base (<a href="https://github.com/elastic/apm-agent-js-base">https://github.com/elastic/apm-agent-js-base</a>) It works but it  tracks only on the browser and doesn't track anything running on serverside.</p>
<p dir="auto">Example Code : <a href="https://github.com/sagartalla/elastic-apm-nextjs">https://github.com/sagartalla/elastic-apm-nextjs</a></p>




<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>6.0.1</td>
</tr>
<tr>
<td>node</td>
<td>10.1.0</td>
</tr>
</tbody>
</table>