Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Prometheus exporter database monitoring system

A monitoring system and database technology, applied in the field of Prometheuseexporter database monitoring system, can solve problems such as misoperation impact, resource consumption, and target end bloat, and achieve the effect of simple operation and maintenance and easy expansion

Active Publication Date: 2019-10-18
紫光云技术有限公司
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Whether it is bundled with the target through the image or manually deployed to the target later, the exporter is relatively intrusive to the target, and the user's misoperation may affect the exporter process
At the same time, monitoring involves many aspects, such as node_exporter for monitoring linux machines, mysqld_exporter for monitoring mysql, network monitoring, etc. If various exporter processes on the official website and in the community run on the target side according to requirements, it will make the target side very bloated and consume resources , affecting target performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Prometheus exporter database monitoring system
  • Prometheus exporter database monitoring system
  • Prometheus exporter database monitoring system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] It should be noted that the embodiments of the present invention and the features of the embodiments may be combined with each other under the condition of no conflict.

[0023] The present invention will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

[0024] The present invention describes how to separate the Exporter from the target end through the DB Exporter, and the DB Exporter can collect other multiple types of database monitoring indicators such as MySQL, Maria DB, Redis, MongoDB and the like. The exporter is separated from the target end, and can handle dynamic targets (create / delete) very well. There is no need to consider how the exporter of each new target is implemented, and subsequent modifications will not cause trouble to the operation and maintenance team. With the help of the dynamic discovery function of Prometheus, the data collection of active target basic indicators can be easily c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a Prometheus exporter database monitoring system. The system comprises a factory class (generating different database index collectors), an interface realized by the factory class (obtaining indexes and exposing the indexes to a prometheus registry), different database index collector classes and different database index specific parameter value grabbing logic (similar to the existing open source exporter, capable of being modified as required). The factory class generates different index collectors, and the exporter end is separated from a plurality of target ends by connecting the public interface with the target ends to obtain parameter values. According to the invention, the index monitoring of the multi-target dynamic target can be realized by only deploying oneDB Exporter. The conditions of resource occupation and excessive processes of the target end are avoided. The problem of mirror image generation or docker frequent deployment does not need to be considered. The later operation and maintenance are simple.

Description

technical field [0001] The invention relates to a Prometheus exporter database monitoring system. Background technique [0002] Usually the Prometheus exporter is bundled with the monitoring target. Prometheus is based on the Pull working mode and regularly collects data from the Agent side (exporter). Prometheus Exporter exposes the endpoints of monitoring data collection to Prometheus Server in the form of HTTP services. Prometheus Server can obtain the monitoring data that needs to be collected by accessing the Endpoint endpoints provided by the Exporter. [0003] The general process of Exporter is as follows figure 1 As shown, the internal implementation of HTTPServer is as follows: when the Collector instance register() method is called, the instance will be saved to the CollectorRegistry, and the CollectorRegistry is responsible for maintaining all Collector instances in the current system. After the HTTPServer receives the HTTP request, it will get all the Collector...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/20
CPCG06F8/24
Inventor 于占水魏晓楠张辰
Owner 紫光云技术有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More