Merge pull request #20805 from 2m/wip-sigar-loader-extract-dir-2m

#20804 add a note for unique per instance extract directory
This commit is contained in:
Martynas Mickevičius 2016-06-23 10:14:01 +03:00 committed by GitHub
commit 2836e990cb
2 changed files with 46 additions and 32 deletions

View file

@ -91,6 +91,13 @@ User can provision Sigar classes and native library in one of the following ways
#. Place ``sigar.jar`` on the ``classpath`` and Sigar native library for the o/s on the ``java.library.path``.
User is required to manage both project dependency and library deployment manually.
.. warning::
When using `Kamon sigar-loader <https://github.com/kamon-io/sigar-loader>`_ and running multiple
instances of the same application on the same host, you have to make sure that sigar library is extracted to a
unique per instance directory. You can control the extract directory with the
``akka.cluster.metrics.native-library-extract-folder`` configuration setting.
To enable usage of Sigar you can add the following dependency to the user project
::

View file

@ -87,6 +87,13 @@ User can provision Sigar classes and native library in one of the following ways
#. Place ``sigar.jar`` on the ``classpath`` and Sigar native library for the o/s on the ``java.library.path``.
User is required to manage both project dependency and library deployment manually.
.. warning::
When using `Kamon sigar-loader <https://github.com/kamon-io/sigar-loader>`_ and running multiple
instances of the same application on the same host, you have to make sure that sigar library is extracted to a
unique per instance directory. You can control the extract directory with the
``akka.cluster.metrics.native-library-extract-folder`` configuration setting.
To enable usage of Sigar you can add the following dependency to the user project
::