@sag_e2e/uhm-nodejs-agent
v10.17.6
Published
A nodejs agent for skyapm agents
Downloads
68
Readme
��
�
�#�#� �B�u�i�l�d�
�
�U�s�e� �u�b�u�n�t�u� �1�8�.�0�.�4� �f�o�r� �b�u�i�l�d�i�n�g�.� �W�i�n�d�o�w�s� �a�n�d� �c�e�n�t�o�s� �7� �b�u�i�l�d� �i�s� �c�u�r�r�e�n�t�l�y� �n�o�t� �w�o�r�k�i�n�g�
�
�
�
��
��j�a�v�a�s�c�r�i�p�t�
�
�n�p�m� �i�
�
�n�p�m� �r�u�n� �p�r�e�p�a�r�e�
�
�n�p�m� �r�u�n� �c�h�e�c�k�
�
�
��
�
�
�#�#�
�
�#�#� �P�u�b�l�i�s�h� �t�o� �n�p�m� �r�e�g�i�s�t�r�y�
�
�N�P�M� �r�e�g�i�s�t�r�y� �u�s�e�d� �f�o�r� �t�h�i�s� �p�r�o�j�e�c�t� �i�s� �a�t� �h�t�t�p�s�:�/�/�w�w�w�.�n�p�m�j�s�.�c�o�m�/�p�a�c�k�a�g�e�/�@�s�a�g�_�e�2�e�/�u�h�m�-�n�o�d�e�j�s�-�a�g�e�n�t�.�
�
�
�
����S�A�G�_�e�2�e���� �i�s� �a�n� �o�r�g� �i�n� �m�y� �n�p�m� �a�c�c�o�u�n�t�.� �D�e�v�e�l�o�p�e�r�s� �c�a�n� �b�e� �a�d�d�e�d� �b�y� ����I�n�v�i�t�e� �m�e�m�b�e�r�s���� �o�p�t�i�o�n� �w�i�t�h� �r�e�a�d� �&� �p�u�b�l�i�s�h� �a�c�c�e�s�s� �f�o�r� �t�h�i�s� �p�a�c�k�a�g�e�,� �w�h�o� �c�a�n� �t�h�e�n� �p�u�b�l�i�s�h� �c�h�a�n�g�e�s� �f�r�o�m� �t�h�e�i�r� �a�c�c�o�u�n�t�
�
�
�
�S�t�e�p� �f�o�r� �p�u�b�l�i�s�h�i�n�g�:�
�
�
�
��
��j�a�v�a�s�c�r�i�p�t�
�
�m�a�k�e� �a�l�l� �c�h�a�n�g�e�s�
�
�i�n�c�r�e�m�e�n�t� �v�e�r�s�i�o�n� �i�n� �p�a�c�k�a�g�e�.�j�s�o�n� �(�r�e�f�e�r� �t�o� �t�h�i�s� �l�i�n�k� �f�o�r� �d�e�t�a�i�l�s� �o�n� �n�p�m� �s�e�m�a�n�t�i�c� �v�e�r�s�i�o�n�i�n�g� �h�t�t�p�s�:�/�/�d�o�c�s�.�n�p�m�j�s�.�c�o�m�/�a�b�o�u�t�-�s�e�m�a�n�t�i�c�-�v�e�r�s�i�o�n�i�n�g�)�
�
�c�o�m�m�i�t� �a�l�l� �c�h�a�n�g�e�s� �t�o� �s�r�c� �r�e�p�o�
�
�b�u�i�l�d� �t�h�e� �p�r�o�j�e�c�t�
�
�$�n�p�m� �l�o�g�i�n� �-� �w�i�t�h� �y�o�u� �n�p�m� �c�r�e�d�e�n�t�i�a�l�s�
�
�$�n�p�m� �p�u�b�l�i�s�h� �-�-�a�c�c�e�s�s� �p�u�b�l�i�c�
�
�
��
�
�
�
�
�#�#�
�
�#�#� �I�n�s�t�a�l�l�a�t�i�o�n� �n�o�d�e�j�s� �m�o�d�u�l�e�
�
�>� �n�p�m� �i�n�s�t�a�l�l� �@�s�a�g�_�e�2�e�/�u�h�m�-�n�o�d�e�j�s�-�a�g�e�n�t�@�l�a�t�e�s�t� �-�-�s�a�v�e�
�
�
�
�#�#�
�
�#�#� �I�n�i�t�i�a�l�i�z�a�t�i�o�n�
�
�I�t� s� �i�m�p�o�r�t�a�n�t� �t�h�a�t� �t�h�e� �a�g�e�n�t� �i�s� �s�t�a�r�t�e�d� �b�e�f�o�r�e� �y�o�u� �r�e�q�u�i�r�e� �a�n�y� �o�t�h�e�r� �m�o�d�u�l�e�s� �i�n� �y�o�u�r� �N�o�d�e�.�j�s� �a�p�p�l�i�c�a�t�i�o�n�.� �a�n�d� �y�o�u� �s�h�o�u�l�d�
�
� �r�e�q�u�i�r�e� �a�n�d� �s�t�a�r�t� �t�h�e� �a�g�e�n�t� �i�n� �y�o�u�r� �a�p�p�l�i�c�a�t�i�o�n� s� �m�a�i�n� �f�i�l�e�.�
�
�
�
��
��j�a�v�a�s�c�r�i�p�t�
�
�t�r�y�{�
�
�r�e�q�u�i�r�e�(�'�@�s�a�g�_�e�2�e�/�u�h�m�-�n�o�d�e�j�s�-�a�g�e�n�t�'�)�.�i�n�i�t�i�a�l�i�z�e�(�"�/�h�o�m�e�/�s�a�g�u�s�e�r�"�)�;� � �/�/� �T�h�e� �d�i�r�e�c�t�o�r�y� �p�a�t�h� �w�h�e�r�e� �y�o�u�r� �c�o�n�f�i�g� �f�i�l�e�s� �a�r�e� �p�l�a�c�e�d�
�
�}�
�
�c�a�t�c�h� �(�e�r�r�)�{�
�
� � � � �/�/� �h�a�n�d�l�e� �b�y� �w�m�i�o�
�
� � � � �}�
�
�
��
�
�
�
�
�l�o�g�C�o�n�f�i�g�.�j�s�o�n� �s�h�o�u�l�d� �h�a�v�e� �t�h�e� �f�o�l�l�o�w�i�n�g� �d�e�f�i�n�e�d�:� �l�o�g�L�e�v�e�l�,� �m�a�x�s�i�z�e�,� �m�a�x�F�i�l�e�s�
�
�
�
�
�
�L�o�g�s� �a�r�e� �c�r�e�a�t�e�d� �u�n�d�e�r� �:�
�
�
�
�c�o�n�f�i�g�D�i�r�e�c�t�o�r�y�/�.�.�/�l�o�g�s�
�
�
�
�i�.�e� �i�f� �y�o�u�r� �c�o�n�f�i�g� �d�i�r�e�c�t�o�r�y� �i�s� �/�h�o�m�e�/�s�a�g�u�s�e�r�/�c�o�n�f�i�g�
�
�
�
�t�h�e�n� �l�o�g�s� �w�i�l�l� �b�e� �a�t� �/�h�o�m�e�/�s�a�g�u�s�e�r�/�l�o�g�s�