# Use New Relic Browser with kibana

**URL:** <https://discuss.elastic.co/t/use-new-relic-browser-with-kibana/49648>\
**Category:** Kibana\
**Created:** [May 10, 2016, 12:39pm UTC](https://discuss.elastic.co/t/use-new-relic-browser-with-kibana/49648 "2016-05-10T12:39:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juan\_Cruz\_Rodriguez](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Juan\_Cruz\_Rodriguez](https://discuss.elastic.co/u/Juan_Cruz_Rodriguez)\
**Post date:** [May 10, 2016, 12:39pm UTC](https://discuss.elastic.co/t/use-new-relic-browser-with-kibana/49648/1 "2016-05-10T12:39:15Z")

</div>

Hi,

I need to trace JS metrics with new relic of my kibana.

To do that, i use de Node.js agent to trace server side metrics, and now i need send to browser a custom header, how explain that [guide](https://docs.newrelic.com/docs/agents/nodejs-agent/supported-features/page-load-timing-nodejs).

I try to use the express and jade solution adding:

> var newrelic = require('newrelic');  
> [...]  
> app.locals.newrelic = newrelic;

in app.js; and:

> != newrelic.getBrowserTimingHeader()

in views/layout.jade. But it doesn't work,

Can you help me?

Thanks!

Juan Cruz

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [May 16, 2016, 1:47pm UTC](https://discuss.elastic.co/t/use-new-relic-browser-with-kibana/49648/2 "2016-05-16T13:47:47Z")

</div>

Hi Juan,

What version of Kibana are you using? A developer suggested following the hapi guide instead  
[https://docs.newrelic.com/docs/agents/nodejs-agent/supported-features/page-load-timing-nodejs#example-hapijs](https://docs.newrelic.com/docs/agents/nodejs-agent/supported-features/page-load-timing-nodejs#example-hapijs)

Thanks,  
Lee

---

<div class="post-metadata">

**Author:** ![Juan\_Cruz\_Rodriguez](https://avatars.discourse-cdn.com/v4/letter/j/b38774/32.png) [@Juan\_Cruz\_Rodriguez](https://discuss.elastic.co/u/Juan_Cruz_Rodriguez)\
**Post date:** [May 16, 2016, 3:33pm UTC](https://discuss.elastic.co/t/use-new-relic-browser-with-kibana/49648/3 "2016-05-16T15:33:56Z")

</div>

Hi lee,

thanks for your answer.

i use kibana 4.0.0, and this version of kibana dont use hapijs, use [express](https://github.com/elastic/kibana/blob/4.0/src/server/app.js#L1). And i cant update kibana version, because the elastic search that consume is incompatible

Thanks,

Juan Cruz

---

<div class="post-metadata">

**Author:** ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)\
**Post date:** [May 19, 2016, 1:07pm UTC](https://discuss.elastic.co/t/use-new-relic-browser-with-kibana/49648/4 "2016-05-19T13:07:15Z")

</div>

Hi Juan,

Can you be more specific on the steps you're following and what happens? Is there any error messages?

Thanks,  
Lee

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:52pm UTC](https://discuss.elastic.co/t/use-new-relic-browser-with-kibana/49648/5 "2017-07-06T13:52:55Z")

</div>

Closed on July 6, 2017, 1:52pm UTC


