![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@uyu423/pinpoint-node-agent
Advanced tools
Pinpoint node agent provided by NAVER (Personalized version)
*.d.ts
file. (for TypeScript)./pinpoint-config.js
#9// original
import 'pinpoint-node-agent`
// ver.yowu
import pinpointNodeAgent, { ConfigOption } from 'pinpoint-node-agent';
pinpointNodeAgent({
applicationName: 'somehing-name',
agentId: 'something-id',
collectorIp: 'somthing-ip',
} as ConfigOption)
This is the official Node.js agent for Pinpoint.
If you have any feedback or questions, please post them on the Discuss issues.
Install with npm:
npm install --save pinpoint-node-agent
Install with yarn:
yarn add pinpoint-node-agent
ES6
import 'pinpoint-node-agent'
CommonJS
require('pinpoint-node-agent')
Agent Version | Collector 1.x | Collector 2.0.x |
---|---|---|
0.6.x | no | yes |
Based on the pinpoint-config-default.json file, only necessary parts are set as environment variables.
name | default | description |
---|---|---|
PINPOINT_AGENT_ID | The maximum length is 24. a required variable. | |
PINPOINT_APPLICATION_NAME | meaningful name of the app. an application name can have multiple PINPOINT_AGENT_ID. The maximum length is 24. a required variable. | |
PINPOINT_COLLECTOR_IP | localhost | The address that the Pinpoint collector. ex) 192.168.0.1 |
PINPOINT_SAMPLING_RATE | 10 | Sample rate of incoming HTTP or HTTPS request. The value is calculated as 1/value. |
PINPOINT_LOG_LEVEL | WARN | Log level |
PINPOINT_ENABLE | true | If you set it to false, the agent will not work. |
PINPOINT_CONTAINER | false | Whether to use docker or kubernetes. If the PINPOINT_CONTAINER environment variable is not set, the agent analyzes the'/.dockerenv' and'/proc/self/cgroup' files to determine whether to use the Docker container. If the KUBERNETES_SERVICE_HOST environment variable exists, it is determined that it is the kubernetes environment and changes it to the true value. |
The agent ID is used as the identifier per the server or node. You need to set the hostname or node identifier(The maximum length is 24) on the server.
PINPOINT_AGENT_ID=${HOSTNAME} pm2 start ~/service/bin/pm2_start.json
If you use Performance tester for sampling rate, you can review while changing the sampling rate of the node agent of the Node application.
The Pinpoint Node agent does not support the following the JVM agent features. We plan to provide more detailed app information like the JVM agent.
We are looking forward to your contributions via pull requests.
To contribute to Pinpoint Node JS agent, you should pass all test suites and your unit tests.
Copyright 2020-present NAVER Corp.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
FAQs
Pinpoint node agent provided by NAVER (Personalized version)
We found that @uyu423/pinpoint-node-agent demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.