
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
aliyun-monit
Advanced tools
阿里云自定义监控 sdk
npm install aliyun-monit --save
'use strict';
const {
Client,
RawData
} = require('aliyun-monit');
/* @class Client
* @param {String} endpoint 上报监控的 url, 如: https://metrichub-cms-cn-hangzhou.aliyuncs.com
* @param {String} accessKey 阿里云访问秘钥对 id
* @param {String} accessSecret 阿里云访问秘钥 secret
* @param [Number] flushTime 原始数据缓存上传间隔时间,默认 5s
*/
let client = new Client(endpoint, accessKey, accessSecret, flushTime);
/* @class RawData
* @param {Number} groupId 应用分组的id
* @param {String} metricName 监控项名称
* @param {Object} dimensions 维度对象,一般用来放详细的描述数据
* @param {Number} value 上报的是原始值
*/
client.putCustomMetric(new RawData(groupId, metricName, dimensions, value));
FAQs
aliyun monit sdk
We found that aliyun-monit 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.