CN108628537A - Monitoring data output method and device - Google Patents

Monitoring data output method and device Download PDF

Info

Publication number
CN108628537A
CN108628537A CN201710161202.8A CN201710161202A CN108628537A CN 108628537 A CN108628537 A CN 108628537A CN 201710161202 A CN201710161202 A CN 201710161202A CN 108628537 A CN108628537 A CN 108628537A
Authority
CN
China
Prior art keywords
operation data
access request
monitoring
application
monitoring data
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
Application number
CN201710161202.8A
Other languages
Chinese (zh)
Inventor
王洪峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN201710161202.8A priority Critical patent/CN108628537A/en
Publication of CN108628537A publication Critical patent/CN108628537A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A kind of monitoring data output method of the application offer and device, this method include:Obtain the operation data of intended application;The operation data is stored into preset storage medium;When receiving monitoring data access request, the requested operation data of monitoring data access request is obtained from the preset storage medium, wherein the monitoring data access request is used to ask to access the operation data of the intended application;Export the requested operation data of monitoring data access request.It can be seen that, technical scheme can be after the operation data for obtaining the application for needing to monitor, the operation data can be stored in preset storage medium, and when receiving monitoring data access request, it exports to technical staff, so that technical staff can be according to the operation data of application, to adjust and safeguard computer system operating condition, to ensure stability and the safety of computer system.

Description

Monitoring data output method and device
Technical field
This application involves field of computer technology, more particularly to a kind of monitoring data output method and device.
Background technology
With the development of computer networking technology, computer business becomes increasingly complex and enriches, in order to ensure department of computer science The normal operation of every business in system, the stability of computer system and safety become particularly important.According to technical staff with Past empirical discovery is monitored the relevant application of business in computer system, to ensure computer system stability and Safety has larger help.In the case, propose that a kind of method of monitoring data output has become those skilled in the art Urgent problem to be solved.
Invention content
To solve the above-mentioned problems, a kind of monitoring data output method of the application offer and device.
Specifically, the application is achieved by the following technical solution:
According to the embodiment of the present application in a first aspect, provide a kind of monitoring data output method, the method includes:
Obtain the operation data of intended application;
The operation data is stored into preset storage medium;
When receiving monitoring data access request, the monitoring data is obtained from the preset storage medium and is accessed Ask requested operation data, wherein the monitoring data access request is used to ask to access the operation of the intended application Data;
Export the requested operation data of monitoring data access request.
In the embodiment of the present application, the operation data for obtaining intended application, including:
Using the monitoring function module being pre-configured in intended application, the operation data of the intended application is obtained, In, the monitoring function module is the monitor code that the measure of criterions tool based on JAVA is write.
It is described to store the operation data into preset storage medium in the embodiment of the present application, including:
The operation data is stored into the server configured with distributed time series database.
In the embodiment of the present application, the output requested operation data of monitoring data access request, including:
The requested operation data of monitoring data access request is shown in graphical form.
It is described to show the requested operation number of the monitoring data access request in graphical form in the embodiment of the present application According to, including:
Using visualization tool, the requested operation data of monitoring data access request is opened up in graphical form Show.
According to the second aspect of the embodiment of the present application, a kind of monitoring data output device is provided, described device includes:
First acquisition module, the operation data for obtaining intended application;
Memory module, the operation data for getting first acquisition module are stored to preset storage medium In;
Second acquisition module, in the case where receiving monitoring data access request, being situated between from the preset storage The requested operation data of monitoring data access request is obtained in matter, wherein the monitoring data access request is for asking Seek the operation data for accessing the intended application;
Output module, the operation data got for exporting second acquisition module.
In the embodiment of the present application, first acquisition module, including:
Operation data acquisition submodule, for using the monitoring function module being pre-configured in intended application, obtaining institute State the operation data of intended application, wherein the monitoring function module is the monitoring that the measure of criterions tool based on JAVA is write Code.
In the embodiment of the present application, the memory module, including:
Operation data sub-module stored, the operation data for getting first acquisition module store to configured with In the server of distributed time series database.
In the embodiment of the present application, the output module, including:
Operation data output sub-module, the operation number got for showing second acquisition module in graphical form According to.
In the embodiment of the present application, the operation data output sub-module, including:
Operation data output unit, for using visualization tool, the operation number that second acquisition module is got Diagrammatic form is shown according to this.
According to the third aspect of the embodiment of the present application, a kind of computer storage media is provided, is stored in the storage medium There is program instruction, described program, which instructs, includes:
Obtain the operation data of intended application;
The operation data is stored into preset storage medium;
When receiving monitoring data access request, the monitoring data is obtained from the preset storage medium and is accessed Ask requested operation data, wherein the monitoring data access request is used to ask to access the operation of the intended application Data;
Export the requested operation data of monitoring data access request.
In the embodiment of the present application, after the operation data for obtaining the application for needing to monitor, which can be stored In preset storage medium, and when receiving monitoring data access request, export to technical staff, so that technical staff can With according to the operation data of application, to adjust and safeguard computer system operating condition, to ensure the stabilization of computer system Property and safety.
It should be understood that above general description and following detailed description is merely exemplary, this can not be limited Application.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.
Figure 1A is a kind of flow chart of monitoring data output method of the application shown according to an exemplary embodiment;
Figure 1B is application scenario diagram of the application according to method shown in Figure 1A shown in an exemplary embodiment;
Fig. 2A is the flow chart of another monitoring data output method of the application shown according to an exemplary embodiment;
Fig. 2 B are a kind of network structure of the application according to method shown in Fig. 2A shown in an exemplary embodiment;
Fig. 3 is a kind of block diagram of monitoring data output device of the application shown according to an exemplary embodiment;
Fig. 4 is the block diagram of another monitoring data output device of the application shown according to an exemplary embodiment;
Fig. 5 is the block diagram of another monitoring data output device of the application shown according to an exemplary embodiment;
Fig. 6 is the block diagram of another monitoring data output device of the application shown according to an exemplary embodiment;
Fig. 7 is the block diagram of another monitoring data output device of the application shown according to an exemplary embodiment;
Fig. 8 is that an a kind of structure for monitoring data output device of the application shown according to an exemplary embodiment is shown It is intended to.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of consistent device and method of some aspects be described in detail in claims, the application.
It is the purpose only merely for description specific embodiment in term used in this application, is not intended to be limiting the application. It is also intended to including majority in the application and "an" of singulative used in the attached claims, " described " and "the" Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
With the development of computer networking technology, computer business becomes increasingly complex and enriches, in order to ensure department of computer science The normal operation of every business in system, the stability of computer system and safety become particularly important.According to technical staff with Past empirical discovery is monitored the relevant application of business in computer system, to ensure computer system stability and Safety has larger help.In the case, propose that a kind of method of monitoring data output has become those skilled in the art Urgent problem to be solved.To solve the above-mentioned problems, this application provides a kind of monitoring data output method and devices.
A kind of monitoring data output method provided by the present application is introduced first below.
As shown in Figure 1A, Figure 1A is a kind of monitoring data output method of the application shown according to an exemplary embodiment Flow chart, this method may comprise steps of:
In a step 101, the operation data of intended application is obtained.
In the embodiment of the present application, using the application program referred to, intended application refers to the application for needing to monitor.
In a step 102, the operation data of intended application is stored into preset storage medium.
It should be noted that method provided by the present application is suitable for server, and in the embodiment of the present application, preset storage Jie Matter can be persistent storage medium, wherein the persistent storage medium may include:The hard disk of the server or other Server, the application are not construed as limiting this.
In the embodiment of the present application, when persistent storage medium is other servers, certain time length, such as 3 can be spaced Minute, persistent storage medium is sent to after the operation data of application is summarized, to reduce expense caused by data transmission.
In step 103, when receiving monitoring data access request, the monitoring number is obtained from preset storage medium According to the requested operation data of access request;Wherein, the operation which is used to that access target to be asked to be applied Data.
At step 104, the requested operation data of monitoring data access request is exported.
In one exemplary application scene of the application, as shown in Figure 1B, which includes:Server 110 and service Device 120, wherein monitoring data output method provided by the embodiments of the present application is applied to server 110, is run in server 110 Have using A, using B and apply C, using A, using B and application C service code in be provided with monitor code, server in advance 110 are obtained by configuring the monitor code in application A, using the service code of B and application C using A, using B and using C Operation data, summarize operation data at regular intervals later, the operation data summarized be sent to server 120, service Device 120 stores operation data into local persistent storage medium, when receiving monitoring data access request, server 110 obtain the operation data of application from server 120, and export.
It as seen from the above-described embodiment,, can should after obtaining the operation data of application for needing to monitor in the embodiment Operation data is stored in preset storage medium, and when receiving monitoring data access request, output to technical staff, with Just technical staff can be according to the operation data of application, to adjust and safeguard computer system operating condition, to ensure to calculate The stability of machine system and safety.
As shown in Figure 2 A, Fig. 2A is another monitoring data output method of the application shown according to an exemplary embodiment Flow chart, in the embodiment of the present application, can provide by the operating status of application in such a way that time aggregation is shown, visualization Ground shows user, at this point, this method may comprise steps of:
In step 201, using the monitoring function module being pre-configured in intended application, the fortune of the intended application is obtained Row data, wherein the monitoring function module is the monitor code that the measure of criterions tool based on JAVA is write.
In the embodiment of the present application, the monitor code for monitoring application operation that monitoring function module refers to answers target With monitor code be implanted into the code of the intended application by meeting in advance, and when intended application is run, monitor code captures mesh in real time Mark the operation data of application.
In the embodiment of the present application, measure of criterions tool Metrics may be used and write monitor code, to accomplish as possible by mesh The service code of mark application is detached with monitor code, such as intended application is order placement service application, is obtained when needing real-time exhibition When daily quantity on order, following monitor code can be write:
Metrics is a packet that measurement facility is provided to the indices that JAVA is serviced, embedded in JAVA codes Metrics codes can be monitored the indices of service code, in addition, Metrics can well with Ganlia and Graphite is combined, and easily provides graphical interface.
Metrics supports following five kinds of metric types:Gauges, Counters, Meters, Histograms and Timers, wherein Gauges is used to count the data information of instantaneous state, and Counters safeguards a counter, can pass through Inc () and dec () method make an amendment counter, and Meters is used to measure the average processing times of some period, Histograms is used for the distribution situation of statistical data, maximum value, minimum value, average value, median and percentage, and Timers is used In the execution time and its distribution situation that count a certain block code section.
For example, collect daily order volume if necessary, then the implant monitor code in corresponding service code Metrics.counterByDay(“orderCount”).inc();
If necessary to collect the average access amount in 1 minute, 5 minutes, 15 minutes, then can be planted in corresponding service code Enter Metrics.meter (" request ") .mark ();
The data of certain event occur if necessary to export, and are exported with represented as histograms, then in corresponding service code Middle implantation Metrics.histogram (" payAmount ") .update (payAmount).
In the embodiment of the present application, when writing monitor code using Metrics, note can also be added in monitor code, For example, if the execution of one method of monitoring takes, it can be added in the corresponding monitor code of this method and explain@Timing (" some_method "), note@Couting (" some_method ") can be added by monitoring the execution number of certain method.
In step 202, the operation data of intended application is stored to the server configured with distributed time series database In.
In the embodiment of the present application, distributed time series database influxDB may be used, by the operation data of intended application It stores into influxDB.
InfluxDB is a distributed sequential of increasing income, event and achievement data library, is write using Go language, without outside It relies on, there is following characteristic:Time Series (time series), you can to use correlation function related to time (as most Greatly, minimum, summation etc.);Metrics (measurement), you can to calculate in real time mass data;Eevents (event), you can To support arbitrary event data.Further it is provided that class SQL query statement and HTTP API, possess web operation interfaces, deployment Manage it is simple and convenient, support high-performance write, support data retention policy.
In the embodiment of the present application, influxDB provides the query grammar of http query interfaces and class SQL, Grafana Web UI easily can obtain data by http agreements from influxDB, wherein Grafana is a time series data Show tool, it provides extremely abundant chart and shows form, supports access influxDB data, provides drawing template establishment simplification and matches It sets.
In step 203, when receiving monitoring data access request, from the service configured with distributed time series database The requested operation data of monitoring data access request is obtained in device;Wherein, which visits for asking Ask the operation data of intended application.
In step 204, the requested operation data of monitoring data access request is shown in graphical form.
In the embodiment of the present application, visualization tool, such as Grafana can be used to be asked monitoring data access request Operation data be shown in graphical form.
In the embodiment of the present application, Grafana can obtain the operation data of intended application from influxDB, will obtain later The operation data got graphically is shown.
In one exemplary network structure figure of the application, as shown in Figure 2 B, monitored using A, using B and application C needs Using, using A, using being configured with Metrics monitor codes in the service code of B and application C, Metrics monitor codes fortune When row, the operation data of each application is obtained, summarizes the operation data got every one section of duration (such as 3 minutes), will summarize Operation data started to influxDB by http agreements, influxDB stores the operation data of the application received.When By browser access application A, using B or when applying the operation data of C, Grafana obtains corresponding user from influxDB Application operation data, operation data is showed by user by Grafana web ui, in addition, Grafana web ui are also Configuration information can be obtained from Grafana sever, to configure instrument board, real-time exhibition result.
As seen from the above-described embodiment, it in the embodiment, can be write by using measure of criterions tool (such as Metrics) The monitored application of relatively low intrusion may be implemented in monitor code;It stores and supervises by using time series database (such as influxDB) Data are controlled, being shown according to time aggregation for data may be implemented;It shows and monitors by using visualization tool (such as Grafana) Data, to show the state change of monitored application with realizing various dimensions.
It should be noted that although describing the operation of the application method with particular order in the accompanying drawings, this is not required that Or imply and must execute these operations according to the particular order, it could the realization phase or have to carry out operation shown in whole The result of prestige.On the contrary, the step of describing in flow chart, which can change, executes sequence.Additionally or alternatively, it is convenient to omit certain Multiple steps are merged into a step and executed, and/or a step is decomposed into execution of multiple steps by step.
Corresponding with the aforementioned embodiment of monitoring data output method, present invention also provides the realities of monitoring data output device Apply example.
As shown in figure 3, Fig. 3 is a kind of frame of monitoring data output device of the application shown according to an exemplary embodiment Figure, described device may include:
First acquisition module 310, the operation data for obtaining intended application;
In the embodiment of the present application, using the application program referred to, intended application refers to the application for needing to monitor.
Memory module 320, the operation data for getting first acquisition module 310 are stored to preset storage In medium;
It should be noted that method provided by the present application is suitable for server, and in the embodiment of the present application, preset storage Jie Matter can be persistent storage medium, wherein the persistent storage medium may include:The hard disk of the server or other Server, the application are not construed as limiting this.
In the embodiment of the present application, when persistent storage medium is other servers, certain time length, such as 3 can be spaced Minute, persistent storage medium is sent to after the operation data of application is summarized, to reduce expense caused by data transmission.
Second acquisition module 330, in the case where receiving monitoring data access request, from the preset storage The requested operation data of monitoring data access request is obtained in medium, wherein the monitoring data access request is used for Request accesses the operation data of the intended application;
Output module 340, the operation data got for exporting second acquisition module 330.
It as seen from the above-described embodiment,, can should after obtaining the operation data of application for needing to monitor in the embodiment Operation data is stored in preset storage medium, and when receiving monitoring data access request, output to technical staff, with Just technical staff can be according to the operation data of application, to adjust and safeguard computer system operating condition, to ensure to calculate The stability of machine system and safety.
As shown in figure 4, Fig. 4 is another monitoring data output device of the application shown according to an exemplary embodiment Block diagram, the embodiment can be on the basis of any of the above-described device embodiments, and first acquisition module 310 may include:
Operation data acquisition submodule 311, for using the monitoring function module being pre-configured in intended application, obtaining The operation data of the intended application, wherein the monitoring function module is the prison that the measure of criterions tool based on JAVA is write Control code.
In the embodiment of the present application, the monitor code for monitoring application operation that monitoring function module refers to answers target With monitor code be implanted into the code of the intended application by meeting in advance, and when intended application is run, monitor code captures mesh in real time Mark the operation data of application.
In the embodiment of the present application, measure of criterions tool Metrics may be used and write monitor code, to accomplish as possible by mesh The service code of mark application is detached with monitor code, such as intended application is order placement service application, is obtained when needing real-time exhibition When daily quantity on order, following monitor code can be write:
Metrics is a packet that measurement facility is provided to the indices that JAVA is serviced, embedded in JAVA codes Metrics codes can be monitored the indices of service code, in addition, Metrics can well with Ganlia and Graphite is combined, and easily provides graphical interface.
Metrics supports following five kinds of metric types:Gauges, Counters, Meters, Histograms and Timers, wherein Gauges is used to count the data information of instantaneous state, and Counters safeguards a counter, can pass through Inc () and dec () method make an amendment counter, and Meters is used to measure the average processing times of some period, Histograms is used for the distribution situation of statistical data, maximum value, minimum value, average value, median and percentage, and Timers is used In the execution time and its distribution situation that count a certain block code section.
For example, collect daily order volume if necessary, then the implant monitor code in corresponding service code Metrics.counterByDay(“orderCount”).inc();
If necessary to collect the average access amount in 1 minute, 5 minutes, 15 minutes, then can be planted in corresponding service code Enter Metrics.meter (" request ") .mark ();
The data of certain event occur if necessary to export, and are exported with represented as histograms, then in corresponding service code Middle implantation Metrics.histogram (" payAmount ") .update (payAmount).
In the embodiment of the present application, when writing monitor code using Metrics, note can also be added in monitor code, For example, if the execution of one method of monitoring takes, it can be added in the corresponding monitor code of this method and explain@Timing (" some_method "), note@Couting (" some_method ") can be added by monitoring the execution number of certain method.
As shown in figure 5, Fig. 5 is another monitoring data output device of the application shown according to an exemplary embodiment Block diagram, the embodiment can be on the basis of any of the above-described device embodiments, and the memory module 320 may include:
Operation data sub-module stored 321, the operation data for getting first acquisition module 310 store to In server configured with distributed time series database.
In the embodiment of the present application, distributed time series database influxDB may be used, by the operation data of intended application It stores into influxDB.
InfluxDB is a distributed sequential of increasing income, event and achievement data library, is write using Go language, without outside It relies on, there is following characteristic:Time Series (time series), you can to use correlation function related to time (as most Greatly, minimum, summation etc.);Metrics (measurement), you can to calculate in real time mass data;Eevents (event), you can To support arbitrary event data.Further it is provided that class SQL query statement and HTTP API, possess web operation interfaces, deployment Manage it is simple and convenient, support high-performance write, support data retention policy.
In the embodiment of the present application, influxDB provides the query grammar of http query interfaces and class SQL, Grafana Web UI easily can obtain data by http agreements from influxDB, wherein Grafana is a time series data Show tool, it provides extremely abundant chart and shows form, supports access influxDB data, provides drawing template establishment simplification and matches It sets.
As shown in fig. 6, Fig. 6 is another monitoring data output device of the application shown according to an exemplary embodiment Block diagram, the embodiment can be on the basis of any of the above-described device embodiments, and the output module 340 may include:
Operation data output sub-module 341, the fortune got for showing second acquisition module 330 in graphical form Row data.
As shown in fig. 7, Fig. 7 is another monitoring data output device of the application shown according to an exemplary embodiment Block diagram, on the basis of which can be with embodiment shown in Fig. 6, the operation data output sub-module 341 may include:
Operation data output unit 3411 gets second acquisition module 330 for using visualization tool Operation data is shown in graphical form.
In the embodiment of the present application, visualization tool, such as Grafana can be used to be asked monitoring data access request Operation data be shown in graphical form.
In the embodiment of the present application, Grafana can obtain the operation data of intended application from influxDB, will obtain later The operation data got graphically is shown.
It can be seen that technical scheme can write monitoring by using measure of criterions tool (such as Metrics) The monitored application of relatively low intrusion may be implemented in code;Monitoring number is stored by using time series database (such as influxDB) According to being shown according to time aggregation for data may be implemented;Monitoring number is shown by using visualization tool (such as Grafana) According to show the state change of monitored application with realizing various dimensions.
The function of modules and the realization process of effect specifically refer to and correspond to step in the above method in above-mentioned apparatus Realization process, details are not described herein.
For device embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual It needs that some or all of module therein is selected to realize the purpose of application scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
Present invention also provides a kind of computer storage media, have program stored therein instruction in the storage medium, the journey Sequence instructs:Obtain the operation data of intended application;The operation data is stored into preset storage medium;Work as reception When to monitoring data access request, the requested fortune of monitoring data access request is obtained from the preset storage medium Row data, wherein the monitoring data access request is used to ask to access the operation data of the intended application;Export the prison Control the requested operation data of data access request.
It (includes but not limited to disk that the application, which can be used in the storage medium that one or more wherein includes program code, Memory, CD-ROM, optical memory etc.) on the form of computer program product implemented.Computer-usable storage medium packet Permanent and non-permanent, removable and non-removable media is included, information storage is can be accomplished by any method or technique.Letter Breath can be computer-readable instruction, data structure, the module of program or other data.The example packet of the storage medium of computer It includes but is not limited to:Phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), Other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus or any other non-biography Defeated medium can be used for storage and can be accessed by a computing device information.
As shown in figure 8, Fig. 8 is that the embodiment of the present application is defeated for monitoring data according to one kind shown in an exemplary embodiment Go out a structural schematic diagram of device 800.For example, device 800 may be provided as a server.With reference to Fig. 8, device 800 includes Processing component 822 further comprises one or more processors, and by the memory resource representated by memory 832, uses It can be by the instruction of the execution of processing component 822, such as application program in storage.The application program stored in memory 832 can be with Including it is one or more each correspond to one group of instruction module.Refer in addition, processing component 822 is configured as executing It enables, to execute monitoring data output method provided by the embodiments of the present application, this method includes:Obtain the operation number of intended application According to;The operation data is stored into preset storage medium;When receiving monitoring data access request, preset from described Storage medium in obtain the requested operation data of monitoring data access request, wherein monitoring data access is asked Seek the operation data for asking to access the intended application;Export the requested operation number of the monitoring data access request According to.
Device 800 can also include the power management that a power supply module 826 is configured as executive device 800, and one has Line or radio network interface 850 are configured as device 800 being connected to network and input and output (I/O) interface 858.Dress Setting 800 can operate based on the operating system for being stored in memory 832, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 832 of instruction, above-metioned instruction can be executed by the processing component 822 of device 800 to complete the embodiment of the present application The above-mentioned monitoring data output method provided.For example, the non-transitorycomputer readable storage medium can be ROM, it is random Access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
Those skilled in the art will readily occur to its of the application after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or Person's adaptive change follows the general principle of the application and includes the undocumented common knowledge in the art of the application Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following Claim is pointed out.
It should be understood that the application is not limited to the precision architecture for being described above and being shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.

Claims (11)

1. a kind of monitoring data output method, which is characterized in that the method includes:
Obtain the operation data of intended application;
The operation data is stored into preset storage medium;
When receiving monitoring data access request, the monitoring data access request is obtained from the preset storage medium Requested operation data, wherein the monitoring data access request is used to ask to access the operation data of the intended application;
Export the requested operation data of monitoring data access request.
2. according to the method described in claim 1, it is characterized in that, it is described obtain intended application operation data, including:
Using the monitoring function module being pre-configured in intended application, the operation data of the intended application is obtained, wherein institute It is the monitor code that the measure of criterions tool based on JAVA is write to state monitoring function module.
3. according to the method described in claim 1, it is characterized in that, described store the operation data to preset storage is situated between In matter, including:
The operation data is stored into the server configured with distributed time series database.
4. according to the method described in claim 1, it is characterized in that, the output monitoring data access request is requested Operation data, including:
The requested operation data of monitoring data access request is shown in graphical form.
5. according to the method described in claim 4, it is characterized in that, described show that the monitoring data access is asked in graphical form Requested operation data is sought, including:
Using visualization tool, the requested operation data of monitoring data access request is shown in graphical form.
6. a kind of monitoring data output device, which is characterized in that described device includes:
First acquisition module, the operation data for obtaining intended application;
Memory module, the operation data for getting first acquisition module are stored into preset storage medium;
Second acquisition module, in the case where receiving monitoring data access request, from the preset storage medium Obtain the requested operation data of monitoring data access request, wherein the monitoring data access request is visited for asking Ask the operation data of the intended application;
Output module, the operation data got for exporting second acquisition module.
7. device according to claim 6, which is characterized in that first acquisition module, including:
Operation data acquisition submodule, for using the monitoring function module being pre-configured in intended application, obtaining the mesh Mark the operation data of application, wherein the monitoring function module is the monitor code that the measure of criterions tool based on JAVA is write.
8. the apparatus according to claim 1, which is characterized in that the memory module, including:
Operation data sub-module stored, the operation data for getting first acquisition module, which is stored to configuration, to be distributed In the server of formula time series database.
9. the apparatus according to claim 1, which is characterized in that the output module, including:
Operation data output sub-module, the operation data got for showing second acquisition module in graphical form.
10. device according to claim 9, which is characterized in that the operation data output sub-module, including:
Operation data output unit, for use visualization tool, the operation data that second acquisition module is got with Diagrammatic form is shown.
11. a kind of computer storage media, which is characterized in that have program stored therein instruction in the storage medium, and described program refers to Order includes:
Obtain the operation data of intended application;
The operation data is stored into preset storage medium;
When receiving monitoring data access request, the monitoring data access request is obtained from the preset storage medium Requested operation data, wherein the monitoring data access request is used to ask to access the operation data of the intended application;
Export the requested operation data of monitoring data access request.
CN201710161202.8A 2017-03-17 2017-03-17 Monitoring data output method and device Pending CN108628537A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710161202.8A CN108628537A (en) 2017-03-17 2017-03-17 Monitoring data output method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710161202.8A CN108628537A (en) 2017-03-17 2017-03-17 Monitoring data output method and device

Publications (1)

Publication Number Publication Date
CN108628537A true CN108628537A (en) 2018-10-09

Family

ID=63687395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710161202.8A Pending CN108628537A (en) 2017-03-17 2017-03-17 Monitoring data output method and device

Country Status (1)

Country Link
CN (1) CN108628537A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542729A (en) * 2018-11-27 2019-03-29 苏州思必驰信息科技有限公司 Device performance parameters data analysing method and device
CN109766242A (en) * 2018-12-29 2019-05-17 云智慧(北京)科技有限公司 Monitoring method, device and system based on mobile user side and storage medium
CN110245051A (en) * 2019-06-14 2019-09-17 上海中通吉网络技术有限公司 Data bury point methods, device, equipment and storage medium
CN111444172A (en) * 2019-01-17 2020-07-24 北京京东尚科信息技术有限公司 Data monitoring method, device, medium and equipment
CN111737084A (en) * 2020-06-22 2020-10-02 苏州科韵激光科技有限公司 Information monitoring method and device, intelligent equipment, computer equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459529A (en) * 2007-12-11 2009-06-17 中国移动通信集团公司 Method and device for obtaining user data from home location register
CN102089775A (en) * 2008-04-29 2011-06-08 泰必高软件公司 Service performance manager with obligation-bound service level agreements and patterns for mitigation and autoprotection
US20150154288A1 (en) * 2013-11-29 2015-06-04 Konkuk University Industrial Cooperation Corp. Method and system for processing log data
CN105833526A (en) * 2016-06-20 2016-08-10 腾讯科技(深圳)有限公司 Processing method and system for game data
CN106254121A (en) * 2016-08-11 2016-12-21 浪潮软件股份有限公司 A kind of automatization disposes and the method for management large data sets group

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459529A (en) * 2007-12-11 2009-06-17 中国移动通信集团公司 Method and device for obtaining user data from home location register
CN102089775A (en) * 2008-04-29 2011-06-08 泰必高软件公司 Service performance manager with obligation-bound service level agreements and patterns for mitigation and autoprotection
US20150154288A1 (en) * 2013-11-29 2015-06-04 Konkuk University Industrial Cooperation Corp. Method and system for processing log data
CN105833526A (en) * 2016-06-20 2016-08-10 腾讯科技(深圳)有限公司 Processing method and system for game data
CN106254121A (en) * 2016-08-11 2016-12-21 浪潮软件股份有限公司 A kind of automatization disposes and the method for management large data sets group

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一人浅醉: "Metrics-Java版的指标度量工具", 《HTTPS://WWW.CNBLOGS.COM/YEPEI/P/5650328.HTML》 *
白乔: "分布式时序数据库InfluxDB", 《HTTPS://BLOG.CSDN.NET/BLUEJOE2000/ARTICLE/DETAILS/53725459》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542729A (en) * 2018-11-27 2019-03-29 苏州思必驰信息科技有限公司 Device performance parameters data analysing method and device
CN109766242A (en) * 2018-12-29 2019-05-17 云智慧(北京)科技有限公司 Monitoring method, device and system based on mobile user side and storage medium
CN111444172A (en) * 2019-01-17 2020-07-24 北京京东尚科信息技术有限公司 Data monitoring method, device, medium and equipment
CN110245051A (en) * 2019-06-14 2019-09-17 上海中通吉网络技术有限公司 Data bury point methods, device, equipment and storage medium
CN111737084A (en) * 2020-06-22 2020-10-02 苏州科韵激光科技有限公司 Information monitoring method and device, intelligent equipment, computer equipment and medium
CN111737084B (en) * 2020-06-22 2024-05-14 苏州科韵激光科技有限公司 Information monitoring method, device, intelligent equipment, computer equipment and medium

Similar Documents

Publication Publication Date Title
CN108628537A (en) Monitoring data output method and device
US10515000B2 (en) Systems and methods for performance testing cloud applications from multiple different geographic locations
US9996409B2 (en) Identification of distinguishable anomalies extracted from real time data streams
Liu et al. Monitoring and analyzing big traffic data of a large-scale cellular network with Hadoop
EP3149634B1 (en) Managing user information
US9454324B1 (en) Methods and apparatus for data lifecycle analysis
US9129105B2 (en) Privileged account manager, managed account perspectives
US9521052B1 (en) Methods, systems, and computer readable mediums for utilizing application programming interfaces for accessing key performance indicator information
US9876673B2 (en) Self-learning automated remediation of changes that cause performance degradation of applications
US9137136B2 (en) Overhead management for event tracing
CN106067080B (en) Configurable workflow capabilities are provided
US9712410B1 (en) Local metrics in a service provider environment
CN106980669A (en) A kind of storage of data, acquisition methods and device
CA3141329A1 (en) Request link tracking method and service request processing method
EP3812899B1 (en) Operation request allocation method, apparatus and device
US20140040257A1 (en) Dashboard views of task activity
US9135259B2 (en) Multi-tenancy storage node
CN111078745A (en) Data uplink method and device based on block chain technology
CN103713935A (en) Method and device for managing Hadoop cluster resources in online manner
Aldin et al. Strict timed causal consistency as a hybrid consistency model in the cloud environment
CN109359109A (en) A kind of data processing method and system calculated based on distributed stream
CN106570029A (en) Data processing method and data processing system of distributed relation type database
CN109885400A (en) Method and apparatus for sending instruction
US10348596B1 (en) Data integrity monitoring for a usage analysis system
US20210303645A1 (en) Search data curation and enrichment for deployed technology

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181009