Unlock instant, AI-driven research and patent intelligence for your innovation.

Prometheus management and control method, device and equipment, and storage medium

A technology for controlling and monitoring indicators, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of prometheus service data inconsistency and inability to guarantee data persistence, so as to ensure data consistency, not easily affected, and high efficiency Effect

Active Publication Date: 2021-06-18
FENGHUO COMM SCI & TECH CO LTD
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a prometheus management and control method, device, equipment and storage medium, aiming to solve the technical problem of data inconsistency between prometheus services and data persistence cannot be guaranteed in the prior art

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 management and control method, device and equipment, and storage medium
  • Prometheus management and control method, device and equipment, and storage medium
  • Prometheus management and control method, device and equipment, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0058] The solution of the embodiment of the present invention is mainly: by obtaining each watcher instance from the distributed observer watcher system, each watcher instance is deployed as a sidecar in each monitoring alarm framework prometheus service; use gossip protocol to monitor each prometheus service Instance, when detecting the failure of the main instance of prometheus or service abnormality, vote for failover, and determine the new main instance as the target main instance; after the failover is completed, collect the monitoring indicators of the monitoring service through the target main instance , and write each monitoring indicator to the time-series database for persistence; failover can be performed when the service of the master instance is abnormal, and a new master instance can be determined, and t...

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 discloses a prometheus management and control method, a prometheus management and control device, prometheus management and control equipment and a storage medium, wherein the method comprises the following steps: obtaining each watcher instance from a distributed watcher system, and deploying each watcher instance as a sidecar in each prometheus service; monitoring each instance in a prometheus service by using a gossip protocol, when monitoring that a main instance of the prometheus has a fault or the service is abnormal, voting to carry out fault transfer, and determining a new main instance as a target main instance; after the failover is completed, collecting each monitoring index of the monitoring service through the target main instance, and writing each monitoring index into a time sequence database for persistence. The high availability and the data consistency of the prometheus cluster can be realized, and the durability of the data is also realized; the method is high in flexibility and safety, higher in efficiency and better in expansibility.

Description

technical field [0001] The present invention relates to the field of cloud native container technology, in particular to a prometheus management and control method, device, equipment and storage medium. Background technique [0002] At present, in many container orchestration engine kubernetes container platform scenarios, the system monitoring and alarm framework prometheus adopts single-point deployment. If the prometheus service is abnormal or offline during single-point deployment, data will be incomplete or lost. [0003] For single-point problems, the following common solutions are currently available: 1. Basic high availability (High Availability, HA), that is, service availability. In this solution, users only need to deploy multiple sets of prometheus service instances and collect the same Exporter target. ; The basic HA mode can only ensure the availability of prometheus services, but does not solve the data consistency and persistence problems between prometheus s...

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): H04L12/24H04L29/08
CPCH04L41/0663H04L41/0668H04L41/0893H04L67/51
Inventor 刘田龙杨乐马兵兵邓沛沛
Owner FENGHUO COMM SCI & TECH CO LTD