In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Xiaobian to share with you how Mini programs monitor interfaces, I believe most people do not know how to, so share this article for your reference, I hope you read this article after a lot of gains, let's go to understand it together!
Mini programs add custom business data monitoring function. Developers can customize monitoring data reporting, configure alarm policies in the management background of Mini programs, and enable WeChat alarm notification.
wx.reportMonitor(name, value)
Basic library 2.0.1 is supported, and lower versions need to be compatible
Custom service data monitoring and reporting interfaces. Before use, you need to create monitoring events in Mini programs management background-operation and maintenance center-performance monitoring-business data monitoring, and configure monitoring description and alarm type. Each monitoring event corresponds to a unique monitoring ID, and developers can create up to 128 monitoring events.
Parameter Description:
Parameter Type Required Description nameString is the monitoring ID, valueNumber is the reported value after creating a new data indicator in the management background of Mini programs, and the reported total amount per minute will be displayed in the management background of Mini programs after processing
Example code:
wx.reportMonitor('1', 1)
The above is "How Mini programs monitor interfaces" all the content of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.