You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.rst
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ On Ubuntu systems 16.04 and newer, you can try running ``systemctl enable newrel
81
81
Installing Additional Requirements
82
82
----------------------------------
83
83
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
85
85
this, make sure you have the latest version of ``pip`` installed (https://pip.pypa.io/). This should be done after installing the agent itself:
86
86
87
87
::
@@ -96,6 +96,10 @@ or::
96
96
97
97
$ pip install newrelic-python-agent[postgresql]
98
98
99
+
or::
100
+
101
+
$ pip install newrelic-python-agent[prometheus]
102
+
99
103
If this does not work for you, make sure you are running a recent copy of ``pip`` (>= 1.3).
100
104
101
105
Plugin Configuration Stanzas
@@ -324,6 +328,7 @@ By default all samples are added as derive values. To treat a sample as gauge va
324
328
E.g.:
325
329
326
330
::
331
+
327
332
prometheus:
328
333
- name: my-go-app
329
334
scheme: http
@@ -339,6 +344,7 @@ If the ``exclude`` configuration parameter is set, those samples are excluded (e
0 commit comments