Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 6fa83e8

Browse files
committed
mention required library for prometheus in readme
1 parent 11ceace commit 6fa83e8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ On Ubuntu systems 16.04 and newer, you can try running ``systemctl enable newrel
8181
Installing Additional Requirements
8282
----------------------------------
8383

84-
To use the MongoDB the ``mongodb`` library is required. For the pgBouncer or PostgreSQL plugin you must install the ``psycopg2`` library. To easily do
84+
To use the MongoDB the ``mongodb`` library is required. For the pgBouncer or PostgreSQL plugin you must install the ``psycopg2`` library. For the prometheus plugin you must install the ``prometheus_client`` library. To easily do
8585
this, make sure you have the latest version of ``pip`` installed (https://pip.pypa.io/). This should be done after installing the agent itself:
8686

8787
::
@@ -96,6 +96,10 @@ or::
9696

9797
$ pip install newrelic-python-agent[postgresql]
9898

99+
or::
100+
101+
$ pip install newrelic-python-agent[prometheus]
102+
99103
If this does not work for you, make sure you are running a recent copy of ``pip`` (>= 1.3).
100104

101105
Plugin Configuration Stanzas
@@ -324,6 +328,7 @@ By default all samples are added as derive values. To treat a sample as gauge va
324328
E.g.:
325329

326330
::
331+
327332
prometheus:
328333
- name: my-go-app
329334
scheme: http
@@ -339,6 +344,7 @@ If the ``exclude`` configuration parameter is set, those samples are excluded (e
339344
E.g.:
340345

341346
::
347+
342348
prometheus:
343349
- name: my-go-app
344350
scheme: http

0 commit comments

Comments
 (0)