CN109634805A - Monitoring data processing method, device, electronic equipment and storage medium - Google Patents
Monitoring data processing method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN109634805A CN109634805A CN201811374528.XA CN201811374528A CN109634805A CN 109634805 A CN109634805 A CN 109634805A CN 201811374528 A CN201811374528 A CN 201811374528A CN 109634805 A CN109634805 A CN 109634805A
- Authority
- CN
- China
- Prior art keywords
- monitored
- field
- parameter
- configuration file
- configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 41
- 238000003672 processing method Methods 0.000 title claims abstract description 24
- 238000010586 diagram Methods 0.000 claims abstract description 32
- 238000012545 processing Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 7
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 claims description 5
- 229910002804 graphite Inorganic materials 0.000 claims description 5
- 239000010439 graphite Substances 0.000 claims description 5
- 241000208340 Araliaceae Species 0.000 claims description 3
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 3
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 3
- 235000008434 ginseng Nutrition 0.000 claims description 3
- 238000000034 method Methods 0.000 abstract description 14
- 230000006870 function Effects 0.000 description 9
- 230000006854 communication Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000003014 reinforcing effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
Landscapes
- Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment provides a kind of monitoring data processing method, device, electronic equipment and storage mediums, are related to big data technical field.This method comprises: being configured based on the data source parameter in configuration file to target data source;Aiming field to be monitored is configured based on the field parameter in the configuration file;It is used to show the object diagram of monitored results according to the subtype parameter configuration in the configuration file;The data of the aiming field are monitored and are counted, and are displayed the results of statistics by the object diagram.Data can be acquired and carry out unified configuration with chart configuration by the technical solution of the embodiment of the present invention, so as to high efficiency, low cost realize automatic monitoring and display data.
Description
Technical field
The present invention relates to big data technical fields, at a kind of monitoring data processing method, monitoring data
Manage device, electronic equipment and computer readable storage medium.
Background technique
With the development of internet technology, the data volume of each internet platform is continuously increased, how flat using internet
The data of platform become emphasis concerned by people.
Currently, in a kind of technical solution, using Open Source Platform such as grafana by the database of internet platform rear end
Data be patterned displaying.But in the technical scheme, the data or figure for either needing to show require hand
It is configured above work to the grafana page, on the one hand increases cost and the manpower consumption of study page configuration, on the other hand
Data acquisition and figure configuration are separated, process is cumbersome.
It should be noted that information is only used for reinforcing the reason to background of the present invention disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of monitoring data processing method, monitoring data processing unit, electronics
Equipment and computer readable storage medium, so overcome limitation and defect due to the relevant technologies at least to a certain extent and
One or more caused problem.
According to a first aspect of the embodiments of the present invention, a kind of monitoring data processing method is provided, comprising: based on configuration text
Data source parameter in part configures target data source;It is configured based on the field parameter in the configuration file to be monitored
Aiming field;It is used to show the object diagram of monitored results according to the subtype parameter configuration in the configuration file;To institute
The data for stating aiming field are monitored and count, and are displayed the results of statistics by the object diagram.
In some exemplary embodiments of the invention, aforementioned schemes are based on, based on the data source parameter in configuration file
Target data source is configured, comprising: the type based on target data source obtains corresponding with the type of the target data source
Configuration file;The target data source is configured based on the data source parameter in the configuration file.
In some exemplary embodiments of the invention, aforementioned schemes are based on, based on the field ginseng in the configuration file
Number configures aiming field to be monitored, comprising: obtains the field information of content to be monitored;Based on the content to be monitored
Field information chooses corresponding field parameter from the configuration file;Field parameter based on selection configures target to be monitored
Field.
In some exemplary embodiments of the invention, aforementioned schemes are based on, the field parameter based on selection is configured wait supervise
The aiming field of control, comprising: the field parameter based on selection chooses aiming field to be monitored;Matched by structured query language
Set the query statement to the aiming field to be monitored.
In some exemplary embodiments of the invention, aforementioned schemes are based on, according to the chart class in the configuration file
Shape parameter is configured to show the object diagram of monitored results, comprising: based on the aiming field to be monitored from the configuration
Corresponding subtype parameter is chosen in file;Subtype parameter configuration based on selection is used to show the target of monitored results
Chart.
In some exemplary embodiments of the invention, aforementioned schemes are based on, the monitoring data processing method is applied to
Grafana, the data source include InfluxDB database, MySQL database, Graphite database.
In some exemplary embodiments of the invention, aforementioned schemes are based on, the data source parameter includes database name
The username and password of title, database address and database.
According to a second aspect of the embodiments of the present invention, a kind of monitoring data processing unit is provided, comprising: data source configuration is single
Member, for being configured based on the data source parameter in configuration file to target data source;Field configuring unit, for being based on institute
It states the field parameter in configuration file and configures aiming field to be monitored;Chart configuration unit, for according to the configuration file
In subtype parameter configuration be used to show the object diagrams of monitored results;Display unit, for the aiming field
Data are monitored and count, and are displayed the results of statistics by the object diagram.
According to a third aspect of the embodiments of the present invention, a kind of electronic equipment is provided, comprising: processor;And memory, institute
It states and is stored with computer-readable instruction on memory, realize when the computer-readable instruction is executed by the processor as above-mentioned
Monitoring data processing method described in any one.
According to a fourth aspect of the embodiments of the present invention, a kind of computer readable storage medium is provided, calculating is stored thereon with
Machine program realizes the monitoring data processing method as described in above-mentioned any one when the computer program is executed by processor.
In the technical solution provided by some embodiments of the present invention, on the one hand, based on the data source in configuration file
Parameter, field parameter and subtype parameter respectively to target data source, aiming field to be monitored and object diagram into
Row configuration can carry out automatic configuration by chart of the configuration file to field to be monitored and displaying;On the other hand, to mesh
The data of marking-up section are monitored and count, and are displayed the results of statistics by object diagram, can be by data acquisition and chart
Configuration carries out unified configuration, so as to high efficiency, low cost realizes automatic monitoring and display data.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 shows the flow diagram of monitoring data processing method according to some embodiments of the present invention;
Fig. 2 shows the process signals that some exemplary embodiments according to the present invention configure aiming field to be monitored
Figure;
Fig. 3 shows the schematic block diagram of the monitoring data processing unit of some exemplary embodiments according to the present invention;
Fig. 4 shows the structural schematic diagram for being suitable for the computer system for the electronic equipment for being used to realize the embodiment of the present invention.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms
It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the present invention will be comprehensively and complete
It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure
Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to the embodiment of the present invention.However,
It will be appreciated by persons skilled in the art that technical solution of the present invention can be practiced without one or more in specific detail,
Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side
Method, device, realization or operation are to avoid fuzzy each aspect of the present invention.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit
These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step,
It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close
And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
Fig. 1 shows the flow diagram of monitoring data processing method according to some embodiments of the present invention, the monitoring
Data processing method can be with application server or client.
Shown in referring to Fig.1, in step s 110, target data source is matched based on the data source parameter in configuration file
It sets.
In the exemplary embodiment, target data source includes: the data sources such as InfluxDB, MySQL, Graphite, with
For InfluxDB database, the data source parameter in configuration file may include: database-name, URL (Uniform
Resource Locator uniform resource locator) i.e. InfluxDB database API (Application process
Interface, application programming interfaces) URL, accessing user name and password.
Further, the mode for accessing database, which can choose, is directly accessed i.e. Direct mode, also can choose and passes through
Agency's access is Proxy mode, selects Direct mode to indicate directly to request from browser transmission, Proxy mode is selected to indicate
From rear end such as grafana back-end access URL.For example, the data source of configuration can be should when acquiring data from targeted website
The address URL of targeted website.
In the step s 120, aiming field to be monitored is configured based on the field parameter in the configuration file.
In the exemplary embodiment, the content that the field information of monitoring can according to need monitoring is configured.It obtains wait supervise
The field information of control is the value that field to be monitored is obtained from data source, therefore, it is substantial to configure field information to be monitored
It is the inquiry for adding the corresponding field of some pairs of data sources.The content shown as needed configures field to be monitored, for example, needing
When the content to be shown is the cpu usage of server, the CPU that field to be monitored is set as server is being needed using accounting
When the content to be shown is the accounting of IP (Internet Protocol, the Internet Protocol) address in each province, word to be monitored
Section is set as the IP address of the client of access server.
In step s 130, it is used to show the mesh of monitored results according to the subtype parameter configuration in the configuration file
It marks on a map table.
In the exemplary embodiment, subtype may include line chart, cake chart, histogram, table etc., can be according to need
The content to be shown chooses corresponding subtype from the subtype of configuration file, for example, if the content shown is clothes
The CPU accounting of business device, can choose cake chart, if the content shown is the accounting of the IP address in each province, Ke Yixuan
Histogram is taken, if the content shown is the amount of access variation of server, line chart can be chosen.
In step S140, the data of the aiming field are monitored and are counted, and passes through the object diagram exhibition
Show the result of statistics.
In the exemplary embodiment, field to be monitored is that when accessing the IP address of the client of server, can pass through column
Shape figure or cake chart show the accounting of each province IP address, such as Guangdong Province's accounting 30%, Zhejiang Province's accounting 10%, Jiangsu Province
Accounting 5% etc..It, can be by table according to access when field to be monitored is the access times seniority among brothers and sisters of the page of client access
Number shows each page and its access times from high to low.Field to be monitored is which net server passes through to client
Network supplier accesses, and the accounting of each Network Provider, such as telecommunications, shifting can be shown by cake chart or histogram
The accounting of the Network Provider such as dynamic, connection, Tie Tong, broadcasting and TV.
In the example embodiment of Fig. 1, on the one hand, based on data source parameter, field parameter and the figure in configuration file
Table type parameter respectively configures target data source, aiming field to be monitored and object diagram, can pass through and configure
File carries out automatic configuration to the chart of field to be monitored and displaying;On the other hand, the data of aiming field are supervised
Control and statistics, and displayed the results of statistics by object diagram, data can be acquired and carry out unified configuration with chart configuration, from
And it can realize to high efficiency, low cost automatic monitoring and display data.
Further, in the exemplary embodiment, the displaying of API self-defining data can also be passed through.For example, can use with
Lower configuration counts the data of displaying: Total indicates to return to the summation of all metrics query values;Current indicates to return
The last one value of metrics query;Min indicates to return to the smallest metrics query value;Max indicates to return to maximum metrics query value;
Avg indicates to return to the average value of all metrics queries.
In addition, in the exemplary embodiment, the type based on target data source obtains corresponding with the type of target data source
Configuration file;The target data source is configured based on the data source parameter in the configuration file, i.e., based on different
The data source field information to be monitored using different data configuration template configurations.Due to every kind of data source such as InfluxDB,
The data storage method of the data sources such as MySQL, Graphite has differences, and different data templates is configured to every kind of data source,
In order to carry out data monitoring.In each template, variable to be monitored can be named, regular expression can be passed through
Screen corresponding value etc..
Fig. 2 shows the process signals that some exemplary embodiments according to the present invention configure aiming field to be monitored
Figure.
Referring to shown in Fig. 2, in step S210, the field information of content to be monitored is obtained.
In the exemplary embodiment, the content shown as needed obtains field to be monitored, for example, the content shown in needs
For server cpu usage when, the field information of the content to be monitored of acquisition is CPU accounting;In needing to show
When appearance is the accounting of the IP address in each province, the field information of the field to be monitored of acquisition is the client for accessing server
IP address.
In step S220, the field information based on the content to be monitored is chosen corresponding from the configuration file
Field parameter.
In the exemplary embodiment, corresponding field parameter is chosen from configuration file based on the field name of field information.Example
Such as, when the content for needing to show is the cpu usage of server, the field information of content to be monitored is CPU accounting, choosing
The parameter in configuration file taken is that CPU uses accounting;In the accounting for the IP address that the content for needing to show is each province,
The field information of field to be monitored is the IP address for accessing the client of server, and the parameter in the configuration file of selection is client
The IP address at end.
In step S230, the field parameter based on selection configures aiming field to be monitored.
In the exemplary embodiment, the field parameter based on selection configures aiming field to be monitored, for example, needing to show
Content when being the cpu usage of server, the parameter in the configuration file of selection is that CPU uses accounting, according to selection
The CPU that field to be monitored is set as server is used accounting by the field parameter;In the IP that the content for needing to show is each province
When the accounting of address, parameter in the configuration file of selection is the IP address of client, will be to according to the field parameter of selection
Monitoring field is set as the IP address of the client of access server.
Further, the field parameter based on selection chooses aiming field to be monitored, is matched by structured query language
Set the query statement to aiming field to be monitored.It, can be by inquiring editing machine (Query Editor) by taking Grafana as an example
The specified data for obtaining which part, for example, if to show that table name is the tables of data of login inside some row (row)
Data can be configured to select*from login in inquiry editing machine.
In addition, in an embodiment of the present invention, additionally providing a kind of monitoring data processing unit.Fig. 3 is shown according to this
The schematic block diagram of the monitoring data processing unit of some exemplary embodiments of invention.
Referring to shown in Fig. 3, which may include: data source configuration unit 310, field configuration
Unit 320, chart configuration unit 330 and display unit 340.Wherein, data source configuration unit 310 is used to be based on configuration file
In data source parameter target data source is configured;Field configuring unit 320 is used for based on the word in the configuration file
Section parameter configuration aiming field to be monitored;Chart configuration unit 330 is used to be joined according to the subtype in the configuration file
Number is configured to show the object diagram of monitored results;Display unit 340 is for being monitored the data of the aiming field
And statistics, and displayed the results of statistics by the object diagram.
In some exemplary embodiments of the invention, aforementioned schemes are based on, data source configuration unit 310 includes: configuration
File obtaining unit obtains configuration text corresponding with the type of the target data source for the type based on target data source
Part;Data source parameter configuration unit, for being carried out based on the data source parameter in the configuration file to the target data source
Configuration.
In some exemplary embodiments of the invention, aforementioned schemes are based on, based on the field ginseng in the configuration file
Number configures aiming field to be monitored, comprising: obtains the field information of content to be monitored;Based on the content to be monitored
Field information chooses corresponding field parameter from the configuration file;Field parameter based on selection configures target to be monitored
Field.
In some exemplary embodiments of the invention, aforementioned schemes are based on, field configuring unit 320 includes: field choosing
Unit is taken, aiming field to be monitored is chosen for the field parameter based on selection;Query configuration unit, for passing through structuring
Query language configures the query statement to the aiming field to be monitored.
In some exemplary embodiments of the invention, aforementioned schemes are based on, chart configuration unit 330 includes: chart class
Shape parameter selection unit, for choosing corresponding subtype from the configuration file based on the aiming field to be monitored
Parameter;Object diagram configuration unit is used to show the target figure of monitored results for the subtype parameter configuration based on selection
Table.
In some exemplary embodiments of the invention, aforementioned schemes are based on, the monitoring data processing unit 300 is applied
In grafana, the data source includes InfluxDB database, MySQL database, Graphite database.
Each functional module and above-mentioned monitoring number due to the monitoring data processing unit 300 of example embodiments of the present invention
According to processing method example embodiment the step of it is corresponding, therefore details are not described herein.
In an exemplary embodiment of the present invention, a kind of electronic equipment that can be realized the above method is additionally provided.
Below with reference to Fig. 4, it illustrates the computer systems 400 for the electronic equipment for being suitable for being used to realize the embodiment of the present invention
Structural schematic diagram.The computer system 400 of electronic equipment shown in Fig. 4 is only an example, should not be to the embodiment of the present invention
Function and use scope bring any restrictions.
As shown in figure 4, computer system 400 includes central processing unit (CPU) 401, it can be read-only according to being stored in
Program in memory (ROM) 402 or be loaded into the program in random access storage device (RAM) 403 from storage section 408 and
Execute various movements appropriate and processing.In RAM 403, it is also stored with various programs and data needed for system operatio.CPU
401, ROM 402 and RAM 403 is connected with each other by bus 404.Input/output (I/O) interface 405 is also connected to bus
404。
I/O interface 405 is connected to lower component: the importation 406 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 407 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 408 including hard disk etc.;
And the communications portion 409 of the network interface card including LAN card, modem etc..Communications portion 409 via such as because
The network of spy's net executes communication process.Driver 410 is also connected to I/O interface 405 as needed.Detachable media 411, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 410, in order to read from thereon
Computer program be mounted into storage section 408 as needed.
Particularly, according to an embodiment of the invention, may be implemented as computer above with reference to the process of flow chart description
Software program.For example, the embodiment of the present invention includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 409, and/or from detachable media
411 are mounted.When the computer program is executed by central processing unit (CPU) 401, executes and limited in the system of the application
Above-mentioned function.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in unit involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part realizes that described unit also can be set in the processor.Wherein, the title of these units is in certain situation
Under do not constitute restriction to the unit itself.
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when the electronics is set by one for said one or multiple programs
When standby execution, so that the electronic equipment realizes such as above-mentioned monitoring data processing method as described in the examples.
For example, the electronic equipment may be implemented as shown in Figure 1: step S110, based on the data in configuration file
Source parameters on target data source is configured;Step S120 is configured to be monitored based on the field parameter in the configuration file
Aiming field;Step S130 is used to show the target of monitored results according to the subtype parameter configuration in the configuration file
Chart;Step S140 is monitored and counts to the data of the aiming field, and shows statistics by the object diagram
As a result.
It should be noted that although being referred to several modules for acting the device executed in the above detailed description
Or unit, but this division is not enforceable.In fact, embodiment according to the present invention, above-described two
Or more the feature and function of module or unit can be embodied in a module or unit.Conversely, above-described
One module or the feature and function of unit can be to be embodied by multiple modules or unit with further division.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, touch control terminal or network equipment etc.) executes embodiment according to the present invention
Method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. a kind of monitoring data processing method characterized by comprising
Target data source is configured based on the data source parameter in configuration file;
Aiming field to be monitored is configured based on the field parameter in the configuration file;
It is used to show the object diagram of monitored results according to the subtype parameter configuration in the configuration file;
The data of the aiming field are monitored and are counted, and are displayed the results of statistics by the object diagram.
2. monitoring data processing method according to claim 1, which is characterized in that based on the data source ginseng in configuration file
Several pairs of target data sources configure, comprising:
Type based on target data source obtains configuration file corresponding with the type of the target data source;
The target data source is configured based on the data source parameter in the configuration file.
3. monitoring data processing method according to claim 1, which is characterized in that based on the field in the configuration file
Parameter configuration aiming field to be monitored, comprising:
Obtain the field information of content to be monitored;
Field information based on the content to be monitored chooses corresponding field parameter from the configuration file;
Field parameter based on selection configures aiming field to be monitored.
4. monitoring data processing method according to claim 3, which is characterized in that the configuration of field parameter based on selection to
The aiming field of monitoring, comprising:
Field parameter based on selection chooses aiming field to be monitored;
By structured query language configuration to the query statement of the aiming field to be monitored.
5. monitoring data processing method according to claim 1, which is characterized in that according to the chart in the configuration file
Type parameter is configured to show the object diagram of monitored results, comprising:
Corresponding subtype parameter is chosen from the configuration file based on the aiming field to be monitored;
Subtype parameter configuration based on selection is used to show the object diagram of monitored results.
6. monitoring data processing method according to any one of claim 1 to 5, which is characterized in that the monitoring data
Processing method is applied to grafana, and the data source includes InfluxDB database, MySQL database, Graphite data
Library.
7. monitoring data processing method according to claim 6, which is characterized in that the data source parameter includes database
The username and password of title, database address and database.
8. a kind of monitoring data processing unit characterized by comprising
Data source configuration unit, for being configured based on the data source parameter in configuration file to target data source;
Field configuring unit, for configuring aiming field to be monitored based on the field parameter in the configuration file;
Chart configuration unit, for being used to show the mesh of monitored results according to the subtype parameter configuration in the configuration file
It marks on a map table;
Display unit is monitored and counts for the data to the aiming field, and shows system by the object diagram
The result of meter.
9. a kind of electronic equipment characterized by comprising
Processor;And
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is held by the processor
The monitoring data processing method as described in any one of claims 1 to 7 is realized when row.
10. a kind of computer readable storage medium, is stored thereon with computer program, the computer program is executed by processor
Monitoring data processing method of the Shi Shixian as described in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811374528.XA CN109634805A (en) | 2018-11-19 | 2018-11-19 | Monitoring data processing method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811374528.XA CN109634805A (en) | 2018-11-19 | 2018-11-19 | Monitoring data processing method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109634805A true CN109634805A (en) | 2019-04-16 |
Family
ID=66068441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811374528.XA Pending CN109634805A (en) | 2018-11-19 | 2018-11-19 | Monitoring data processing method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109634805A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110119340A (en) * | 2019-05-17 | 2019-08-13 | 北京字节跳动网络技术有限公司 | Method for monitoring abnormality, device, electronic equipment and storage medium |
CN110347552A (en) * | 2019-06-29 | 2019-10-18 | 北京淇瑀信息科技有限公司 | A kind of method, apparatus and electronic equipment for supporting configurable decision engine real time monitoring |
CN110765111A (en) * | 2019-10-28 | 2020-02-07 | 深圳市商汤科技有限公司 | Storage and reading method and device, electronic equipment and storage medium |
CN110769448A (en) * | 2019-11-01 | 2020-02-07 | 天津中新智冠信息技术有限公司 | Monitoring method, monitoring device and monitoring system |
CN110806958A (en) * | 2019-10-24 | 2020-02-18 | 长城计算机软件与系统有限公司 | Monitoring method, monitoring device, storage medium and electronic equipment |
CN110928942A (en) * | 2019-11-26 | 2020-03-27 | 北京天元创新科技有限公司 | Index data monitoring and management method and device |
CN111327678A (en) * | 2020-01-20 | 2020-06-23 | 深圳市德堡数控技术有限公司 | Data display method and device, computer equipment and storage medium |
CN111400332A (en) * | 2020-03-18 | 2020-07-10 | 网易(杭州)网络有限公司 | Project progress monitoring method and device |
CN112416698A (en) * | 2019-08-22 | 2021-02-26 | 北京京东振世信息技术有限公司 | Monitoring system expansion method and device, storage medium and electronic equipment |
CN113051125A (en) * | 2019-12-27 | 2021-06-29 | 微民保险代理有限公司 | Monitoring view drawing method and device for self-defined monitoring indexes and computer equipment |
CN113239125A (en) * | 2021-04-14 | 2021-08-10 | 深圳市数商时代科技有限公司 | Data display method and device and storage medium |
CN113342830A (en) * | 2021-07-08 | 2021-09-03 | 银联商务股份有限公司 | Data processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016139536A1 (en) * | 2015-03-03 | 2016-09-09 | Tengi Limited | Apparatus, system, and method for applications with enticements |
CN107544897A (en) * | 2017-08-25 | 2018-01-05 | 重庆扬讯软件技术股份有限公司 | The performance test methods and system monitored in real time based on integration |
CN108228169A (en) * | 2017-12-08 | 2018-06-29 | 平安科技(深圳)有限公司 | Chart production method, apparatus, equipment and medium based on eCharts tools |
CN108255969A (en) * | 2017-12-26 | 2018-07-06 | 平安科技(深圳)有限公司 | Visual Chart method for implementing page, device, terminal device and storage medium |
CN108829560A (en) * | 2018-06-01 | 2018-11-16 | 平安科技(深圳)有限公司 | Data monitoring method, device, computer equipment and storage medium |
-
2018
- 2018-11-19 CN CN201811374528.XA patent/CN109634805A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016139536A1 (en) * | 2015-03-03 | 2016-09-09 | Tengi Limited | Apparatus, system, and method for applications with enticements |
CN107544897A (en) * | 2017-08-25 | 2018-01-05 | 重庆扬讯软件技术股份有限公司 | The performance test methods and system monitored in real time based on integration |
CN108228169A (en) * | 2017-12-08 | 2018-06-29 | 平安科技(深圳)有限公司 | Chart production method, apparatus, equipment and medium based on eCharts tools |
CN108255969A (en) * | 2017-12-26 | 2018-07-06 | 平安科技(深圳)有限公司 | Visual Chart method for implementing page, device, terminal device and storage medium |
CN108829560A (en) * | 2018-06-01 | 2018-11-16 | 平安科技(深圳)有限公司 | Data monitoring method, device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
ARVIND THANGAMANI: "Microservices monitoring with Envoy servicemesh, Prometheus & Grafana", 《HTTPS://MEDIUM.COM/HACKERNOON/MICROSERVICES-MONITORING-WITH-ENVOY-SERVICE-MESH-PROMETHEUS-GRAFANA-A1C26A8595FC》 * |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110119340A (en) * | 2019-05-17 | 2019-08-13 | 北京字节跳动网络技术有限公司 | Method for monitoring abnormality, device, electronic equipment and storage medium |
CN110347552A (en) * | 2019-06-29 | 2019-10-18 | 北京淇瑀信息科技有限公司 | A kind of method, apparatus and electronic equipment for supporting configurable decision engine real time monitoring |
CN110347552B (en) * | 2019-06-29 | 2024-04-26 | 北京淇瑀信息科技有限公司 | Method and device for supporting real-time monitoring of configurable decision engine and electronic equipment |
CN112416698A (en) * | 2019-08-22 | 2021-02-26 | 北京京东振世信息技术有限公司 | Monitoring system expansion method and device, storage medium and electronic equipment |
CN112416698B (en) * | 2019-08-22 | 2024-04-05 | 北京京东振世信息技术有限公司 | Expansion method and device of monitoring system, storage medium and electronic equipment |
CN110806958A (en) * | 2019-10-24 | 2020-02-18 | 长城计算机软件与系统有限公司 | Monitoring method, monitoring device, storage medium and electronic equipment |
CN110765111B (en) * | 2019-10-28 | 2023-03-31 | 深圳市商汤科技有限公司 | Storage and reading method and device, electronic equipment and storage medium |
CN110765111A (en) * | 2019-10-28 | 2020-02-07 | 深圳市商汤科技有限公司 | Storage and reading method and device, electronic equipment and storage medium |
CN110769448B (en) * | 2019-11-01 | 2023-03-31 | 天津中新智冠信息技术有限公司 | Monitoring method, monitoring device and monitoring system |
CN110769448A (en) * | 2019-11-01 | 2020-02-07 | 天津中新智冠信息技术有限公司 | Monitoring method, monitoring device and monitoring system |
CN110928942A (en) * | 2019-11-26 | 2020-03-27 | 北京天元创新科技有限公司 | Index data monitoring and management method and device |
CN113051125A (en) * | 2019-12-27 | 2021-06-29 | 微民保险代理有限公司 | Monitoring view drawing method and device for self-defined monitoring indexes and computer equipment |
CN111327678A (en) * | 2020-01-20 | 2020-06-23 | 深圳市德堡数控技术有限公司 | Data display method and device, computer equipment and storage medium |
CN111400332A (en) * | 2020-03-18 | 2020-07-10 | 网易(杭州)网络有限公司 | Project progress monitoring method and device |
CN111400332B (en) * | 2020-03-18 | 2023-10-31 | 网易(杭州)网络有限公司 | Project progress monitoring method and device |
CN113239125A (en) * | 2021-04-14 | 2021-08-10 | 深圳市数商时代科技有限公司 | Data display method and device and storage medium |
CN113239125B (en) * | 2021-04-14 | 2024-02-09 | 深圳市数商时代科技有限公司 | Data display method, device and storage medium |
CN113342830A (en) * | 2021-07-08 | 2021-09-03 | 银联商务股份有限公司 | Data processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109634805A (en) | Monitoring data processing method, device, electronic equipment and storage medium | |
CN107451109B (en) | Report generation method and system | |
US11392654B2 (en) | Data fabric service system | |
US20200169484A1 (en) | Visualizing network activity involving networked computing devices distributed across network address spaces | |
CN109308255B (en) | Method and device for A/B test experiment | |
US10333784B2 (en) | Cloud system order and configuration using customized templates | |
US10521492B2 (en) | Systems and methods that utilize contextual vocabularies and customer segmentation to deliver web content | |
CN109634598A (en) | A kind of page display method, device, equipment and storage medium | |
KR20190075972A (en) | Systems and methods for identifying process flows from log files and for visualizing flows | |
US20130060924A1 (en) | Granular client inventory management with conflict resolution | |
US20150317572A1 (en) | On-Demand Enrichment of Business Data | |
US11074283B2 (en) | Linking data set summarizations using affinities | |
US20210250244A1 (en) | Internet of things system topology generation | |
CN115145560B (en) | Business orchestration method, apparatus, device, computer-readable medium, and program product | |
CN110020349A (en) | The method and device of page rendering | |
CN108932640A (en) | Method and apparatus for handling order | |
CN110109912A (en) | A kind of identifier generation method and device | |
US20230153179A1 (en) | Visitor stitching with data science notebooks | |
WO2009097903A1 (en) | User interface for aggregating services in a data processing system | |
CN108710708A (en) | Report processing method, device, medium and electronic equipment | |
US11579755B1 (en) | Dynamic address-based dashboard customization | |
CN117194463A (en) | Method and device for inquiring report data | |
CN106687999B (en) | Generating a set of instructions implementing rules designed to update objects specified according to an application data model | |
CN111367517A (en) | Information generation method and device | |
CN113656295A (en) | Automatic generation method and device of test data, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190416 |
|
RJ01 | Rejection of invention patent application after publication |