@ajs031985/nodejs-agent

A nodejs agent

Usage no npm install needed!

<script type="module">
  import ajs031985NodejsAgent from 'https://cdn.skypack.dev/@ajs031985/nodejs-agent';
</script>

README

��#� �n�o�d�e�j�s�-�a�g�e�n�t� � � � �#�#� �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� �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�.� � � � �javascript require('nodejs-agent').start({ // Service name is showed in sky-walking-ui. Suggestion: set an unique name for each service, one // service's nodes share the same code. // this value cannot be empty. serviceName: 'test', // Collector agent_gRPC/grpc service addresses. // default value: localhost:11800 directServers: 'localhost:11800' });