CN106446289A - Information inquiry method and device based on Pinpoint - Google Patents
Information inquiry method and device based on Pinpoint Download PDFInfo
- Publication number
- CN106446289A CN106446289A CN201610997775.XA CN201610997775A CN106446289A CN 106446289 A CN106446289 A CN 106446289A CN 201610997775 A CN201610997775 A CN 201610997775A CN 106446289 A CN106446289 A CN 106446289A
- Authority
- CN
- China
- Prior art keywords
- status information
- attribute status
- information
- pinpoint
- dimension
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/221—Column-oriented storage; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2425—Iterative querying; Query formulation based on the results of a preceding query
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/465—Distributed object oriented systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
- G06F9/548—Object oriented; Remote method invocation [RMI]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Computing Systems (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses an information inquiry method and device based on Pinpoint. The method includes the steps that attribute state information of a Pinpoint application system is acquired; the acquired attribute state information is transmitted to a preset database, and the attribute state information is added to a search platform, wherein the storage format of attribute state information in the preset database is different from the storage format of the attribute state information in the search platform; the attribute state information in the search platform is preliminarily inquired according to preset inquiry conditions, and a preliminary inquiry result is obtained; the attribute state information in the preset database is inquired again according to the inquiry result, and information of call stacks in the Pinpoint is obtained. The technical problem that the inquiry granularity of Pinpoint is large in the prior art, so that information of call stacks cannot be inquired is solved.
Description
Technical field
The present invention relates to computer realm, in particular to a kind of information query method based on Pinpoint and dress
Put.
Background technology
Pinpoint be one increase income application performance management (Application Performance Management,
Referred to as APM) instrument, for the large scale distributed system based on java.Google Dapper, Pinpoint is copied to pass through
Calling between Distributed Application is tracked solution is provided, to help between the population structure of analysis system and internal module
How to connect each other.Service of today is generally made up of a lot of disparate modules, is mutually called and by outside API Calls between them
Portion services.Each interaction is the typically black box how to be performed, and Pinpoint can track the tune between these modules
With flow and provide clearly view come orientation problem region and potential bottleneck.But, the inquiry of the Pinpoint in correlation technique
Fineness ratio is thicker, it is impossible to which the parameter information of the interface method that calls and call stack is inquired about, will if will so cause
Call in the time range of investigation problem points excessive, it is very difficult to quickly locate problem.
It is thicker for Pinpoint granularity of query in correlation technique, it is impossible to realize the problem of the information of query calls stack,
Effective solution is not yet proposed at present.
Content of the invention
A kind of information query method based on Pinpoint and device is embodiments provided, at least to solve correlation
Pinpoint granularity of query in technology is thicker, it is impossible to realize the technical problem of the information of query calls stack.
A kind of one side according to embodiments of the present invention, there is provided information query method based on Pinpoint, including:
Obtain the attribute status information of Pinpoint application system;By the attribute status information transfer for getting to reservations database, and
Attribute status information is added to search platform, wherein, the storage format of the attribute status information in reservations database and search
The storage format difference of the attribute status information in platform;According to predetermined queries condition to the attribute status information in search platform
Preliminary search is carried out, obtains preliminary search result;And according to Query Result, the attribute status information in reservations database is entered
Row is inquired about again, obtains the information of the call stack in Pinpoint.
Further, attribute status information being added includes to search platform:Attribute status information is encoded;Utilize
Data is activation component writes the attribute status information after coding to search platform;According to dimension to attribute shape in search platform
State information is stored.
Further, predetermined queries condition is used for indicating the corresponding attribute status information of the first dimension of inquiry, wherein, according to
Predetermined queries condition carries out preliminary search to the attribute status information in search platform, and obtaining preliminary search result includes:Searching
The first dimension is inquired about in Suo Pingtai from multiple dimensions;Obtain the corresponding attribute status information of the first dimension.
Further, according to Query Result, the attribute status information in reservations database is inquired about again, is obtained
The information of the call stack in Pinpoint includes:Attribute status information pair corresponding with the first dimension is searched from reservations database
The information of the call stack that answers.
Further, according to Query Result, the attribute status information in reservations database is being inquired about again, is being obtained
After the information of the call stack in Pinpoint, the method also includes:Export and show the information of the call stack that inquiry is obtained.
Another aspect according to embodiments of the present invention, additionally provides a kind of information query device based on Pinpoint, bag
Include:Acquiring unit, for obtaining the attribute status information of Pinpoint application system;Adding device, for by the category for getting
Character state information transfer is to reservations database, and attribute status information is added to search platform, wherein, in reservations database
The storage format of attribute status information is different from the storage format of the attribute status information in search platform;First query unit,
For preliminary search being carried out according to predetermined queries condition to the attribute status information in search platform, obtain preliminary search result;
And second query unit, for being inquired about to the attribute status information in reservations database again according to Query Result, obtain
The information of the call stack in Pinpoint.
Further, adding device includes:Coding module, for being encoded attribute status information;Writing module, uses
In the attribute status information after coding being write to search platform using data is activation component;Memory module, for flat in search
According to dimension, attribute status information is stored in platform.
Further, predetermined queries condition is used for indicating the corresponding attribute status information of the first dimension of inquiry, wherein, first
Query unit includes:First enquiry module, for inquiring about the first dimension in search platform from multiple dimensions;Acquisition module,
For obtaining the corresponding attribute status information of the first dimension.
Further, the second query unit includes:Second enquiry module, for searching and the first dimension from reservations database
Spend the information of the corresponding call stack of corresponding attribute status information.
Further, the device also includes:Display unit, for according to Query Result to the attribute in reservations database
Status information is inquired about again, after obtaining the information of call stack in Pinpoint, exports and show the tune that inquiry is obtained
Information with stack.
In embodiments of the present invention, by the attribute status information of acquisition Pinpoint application system;By the category for getting
Character state information transfer is to reservations database, and attribute status information is added to search platform, wherein, in reservations database
The storage format of attribute status information is different from the storage format of the attribute status information in search platform;According to predetermined queries bar
Part carries out preliminary search to the attribute status information in search platform, obtains preliminary search result;And according to Query Result pair
Attribute status information in reservations database is inquired about again, is obtained the information of the call stack in Pinpoint, has been reached profit
With the purpose of the information of Pinpoint query calls stack, it is achieved thereby that the granularity of query of Pinpoint is reduced, inquiry is improved
The technique effect of accuracy as a result, and then it is thicker to solve the Pinpoint granularity of query in correlation technique, it is impossible to realize looking into
Ask the technical problem of the information of call stack.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this
Bright schematic description and description is used for explaining the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of the information query method based on Pinpoint according to embodiments of the present invention;
Fig. 2 is the schematic diagram of Pinpoint system architecture according to embodiments of the present invention;And
Fig. 3 is the schematic diagram of the information query device based on Pinpoint according to embodiments of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection
Enclose.
It should be noted that description and claims of this specification and the term " first " in above-mentioned accompanying drawing, "
Two " be etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that so using
Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except here diagram or
Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that cover
Lid is non-exclusive to be included, and for example, the process, method, system, product or the equipment that contain series of steps or unit are not necessarily limited to
Those steps that clearly lists or unit, but may include clearly not list or for these processes, method, product
Or intrinsic other steps of equipment or unit.
First, the part noun for occurring during being described to the embodiment of the present invention or term are applied to following solution
Release:
Pinpoint:Application performance management (Application Performance Management, letter that one is increased income
Referred to as APM) instrument, for the large scale distributed system based on java, based on Google Dapper paper.
Dapper:Distributed tracking system.
Elasticsearch (abbreviation ES):It is a search server based on Lucene.
Logstash:The daily record of a lightweight is collected and processes framework, can be easily scattered, diversified daily record
Collection is got up, and carries out self-defining process, is then communicated to the position that specifies, such as certain server or file.
Kafka:A kind of distributed post of high-throughput subscribes to message system.
Call stack:The other system of code level calls embodiment.
According to embodiments of the present invention, there is provided a kind of embodiment of the method for the information query method based on Pinpoint, need
It is noted that can be in the computer system of such as one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated
Middle execution, and, although show logical order in flow charts, but in some cases, can be to be different from herein
Order executes shown or described step.
Fig. 1 is the flow chart of the information query method based on Pinpoint according to embodiments of the present invention, as shown in figure 1,
The method comprises the steps:
Step S102, obtains the attribute status information of Pinpoint application system;
Step S104, by the attribute status information transfer for getting to reservations database, and attribute status information is added
To search platform, wherein, the attribute status letter in the storage format of the attribute status information in reservations database and search platform
The storage format difference of breath;
Step S106, carries out preliminary search according to predetermined queries condition to the attribute status information in search platform, obtains
Preliminary search result;
Step S108, is inquired about to the attribute status information in reservations database again according to Query Result, is obtained
The information of the call stack in Pinpoint.
Above-mentioned steps are by the attribute status information of acquisition Pinpoint application system;By the attribute status information for getting
Transmit to reservations database, and attribute status information is added to search platform, wherein, the attribute status in reservations database are believed
The storage format of breath is different from the storage format of the attribute status information in search platform;Flat to search according to predetermined queries condition
Attribute status information in platform carries out preliminary search, obtains preliminary search result;And according to Query Result to reservations database
In attribute status information inquired about again, obtain the information of the call stack in Pinpoint, reached and utilized Pinpoint
The purpose of the information of query calls stack, and then it is thicker to solve the Pinpoint granularity of query in correlation technique, it is impossible to realize looking into
The technical problem of the information of call stack is ask, it is achieved thereby that the granularity of query of Pinpoint is reduced, improves the standard of Query Result
The technique effect of exactness.
Before to being described in detail based on the information query method of Pinpoint of the embodiment of the present invention, herein first
Pinpoint is introduced:
Pinpoint be one increase income application performance management (Application Performance Management,
Referred to as APM) instrument, for the large scale distributed system based on java.Component can be represented including following in Pinpoint:
(1) server map, can connect each other to obtain by the module of visualization distributed system and between them
Take system topological.Click on the details that certain node can show this module, the such as current state of the module and request
Quantity etc..
(2) real-time activity thread chart, can be with the active threads inside monitor in real time application.
(3) request/response distribution graph, can for a long time visualization request quantity and answer-mode positioning potential problems,
Request can be selected to check more details by pulling on chart.
(4) call stack, calls the other Visual Graph of generation code level for each in distributed environment, fixed in single view
Position bottleneck and failed point.
(5) patrol, can check application on other details, such as CPU usage, internal memory garbage reclamation, TPS with
And JVM parameter etc..
Based on above-mentioned Pinpoint, a kind of information query method based on Pinpoint is embodiments provided,
Above step S102 is specifically included to step S108, specifically:
In the scheme that step S102 is provided, the attribute status information of Pinpoint application system can include but not limit
The information of recalls information, call stack between the modules in Pinpoint application system, CPU usage, internal memory rubbish
Reclaim, TPS and JVM parameter etc..The embodiment of the present invention can obtain attribute status letter by arranging Pinpoint Agent
Breath, wherein, the effect of PinpointAgent is to complete data by bytecode technology to bury a little, should to realize acquisition Pinpoint
Attribute status information with system.
In the scheme that step S104 is provided, after the attribute status information for getting Pinpoint application system, can
With the attribute status information transfer that will get to reservations database, wherein, reservations database can be the number in Pinpoint
According to storehouse HBase, while by attribute status information transfer to reservations database, the embodiment of the present invention can also be by the attribute shape
State information is added to ES search platform, herein it should be noted that the storage of the attribute status information for storing in reservations database
Form is different from the storage format of the attribute status information for storing in ES search platform, the attribute status for storing in ES search platform
Information can be stored according to different dimensions, such as time dimension etc..
Used as a kind of alternatively embodiment, attribute status information is added can be included to search platform:By attribute status
Information is encoded;Using data is activation component, the attribute status information after coding is write to search platform;In search platform
According to dimension, attribute status information is stored.
Herein it should be noted that after attribute status information is got, blocker can be passed through by the attribute status
Information is encoded, and is sent to ES search platform by components such as Logstash, Kafka.Attribute shape in ES search platform
State information can be stored according to different dimensions, in order to quick search can be carried out according to dimension from ES search platform,
And then reach the effect for improving information inquiry efficiency in Pinpoint.
In the technical scheme that step S106 is provided, predetermined queries condition can be set according to the actual requirements or be adjusted
Whole, the embodiment of the present invention is not specifically limited.Predetermined queries condition can be looking into for the attribute status information for certain dimension
Ask, according to predetermined queries condition, preliminary search is carried out to the attribute status information in ES search platform, some dimension can be obtained
All of attribute status information under degree.
Used as a kind of optional embodiment, predetermined queries condition is used for indicating the corresponding attribute status letter of the first dimension of inquiry
Breath, herein it should be noted that the first dimension can be any one dimension in all dimensions in ES search platform.According to
Predetermined queries condition carries out preliminary search to the attribute status information in search platform, and obtaining preliminary search result can include:
The first dimension is inquired about in search platform from multiple dimensions;Obtain the corresponding attribute status information of the first dimension.
It should be noted that tentatively being looked into the attribute status information in ES search platform according to predetermined queries condition
Ask, in order to get all of attribute status information under certain dimension, in order to be able to according to the category under the dimension
Property state information acquisition required for call stack information, and then can reach reduce Pinpoint information inquiry granularity, carry
The effect of the accuracy of the information that high inquiry is obtained.
In the technical scheme that step S108 is provided, after inquiry obtains preliminary search result, the embodiment of the present invention can
Inquired about to the attribute status information in reservations database again according to the preliminary search result, explanation is needed herein
It is that reservations database can be the HBase in Pinpoint, according to according to predetermined querying condition to the category in ES search platform
Property status information carry out preliminary search obtained by preliminary search result, the attribute status information in HBase is looked into again
Ask, the information of the call stack required for can getting.
As a kind of optional embodiment, according to Query Result, the attribute status information in reservations database is carried out again
Inquiry, the information for obtaining the call stack in Pinpoint can include:Search from reservations database corresponding with the first dimension
The information of the corresponding call stack of attribute status information.
Herein it should be noted that getting first preliminary search is carried out according to predetermined queries condition to ES search platform
After the corresponding attribute status information of dimension, can be from reservations database according to the corresponding attribute status information of first dimension
Find corresponding call stack information.By above-mentioned inquiry mode, the embodiment of the present invention can be realized inquiring about Pinpoint
In call stack information purpose, and then solve correlation technique in Pinpoint granularity of query thicker, it is impossible to realize inquiry
The technical problem of the information of call stack, it is achieved thereby that reducing the granularity of query of Pinpoint, improves the accurate of Query Result
The technique effect of degree.
As a kind of optional embodiment, according to Query Result, the attribute status information in reservations database is being carried out again
Secondary inquiry, after obtaining the information of call stack in Pinpoint, the embodiment can also include:Export and show that inquiry is obtained
Call stack information.
Herein it should be noted that after inquiry obtains the information of call stack, the embodiment of the present invention can export the tune
With the information of stack, and show the information of the call stack in Pinpoint webpage, intuitively clearly can check in order to user
The information of required call stack, drastically increases the experience of user.
Present invention also offers a kind of preferred embodiment, the preferred embodiment is there is provided a kind of improved Pinpoint's
System architecture, as shown in Fig. 2 in improved Pinpoint, service end can be obtained by arranging Pinpoint Agent
The attribute status information of application system, wherein, the effect of Pinpoint Agent is to pass through【Bytecode】Technology completes data and buries
Point.After the attribute status information for getting application system, accessed data can be write Pinpoint
Collector, wherein, Pinpoint Collector can be used for the attribute status information for collecting each application system.
Pinpoint Collector can write all data that collects to HBase, in Pinpoint Collector by number
It is believed that while breath write is to HBase, a data interceptor can be arranged, and by the data warp in Pinpoint Collector
Queue writes ES search platform.Pinpoint user input inquiry can be asked in Pinpoint Web, in the inquiry request
Filtercondition can be included, the inquiry request can be sent to ES search platform and carry out preliminary search by PinpointWeb first,
Then carried out again in HBase according to the preliminary search result for obtaining after being filtered according to filtercondition in ES search platform
Secondary inquiry, to realize the information of query calls stack.Finally, the information of the call stack that can obtain inquiry is in PinpointWeb
In shown, check in order to user.
According to embodiments of the present invention, a kind of device embodiment of the information query device based on Pinpoint is additionally provided,
It should be noted that should based on the information query device of Pinpoint can be used for execute the embodiment of the present invention in based on
The information query method of Pinpoint, the information query method based on Pinpoint in the embodiment of the present invention can be based at this
Execute in the information query device of Pinpoint.
Fig. 3 is the schematic diagram of the information query device based on Pinpoint according to embodiments of the present invention, as shown in figure 3,
The device can include:
Acquiring unit 22, for obtaining the attribute status information of Pinpoint application system;Adding device 24, for obtaining
The attribute status information transfer that gets is to reservations database, and attribute status information is added to search platform, wherein, predetermined number
Different from the storage format of the attribute status information in search platform according to the storage format of the attribute status information in storehouse;First looks into
Unit 26 is ask, and for preliminary search being carried out according to predetermined queries condition to the attribute status information in search platform, is obtained preliminary
Query Result;And second query unit 28, for being carried out to the attribute status information in reservations database according to Query Result
Inquire about again, obtain the information of the call stack in Pinpoint.
It should be noted that the acquiring unit 22 in the embodiment can be used for executing the step in the embodiment of the present application
S102, the adding device 24 in the embodiment can be used for executing step S104 in the embodiment of the present application, in the embodiment
First query unit 26 can be used for executing step S106 in the embodiment of the present application, the second query unit 28 in the embodiment
Can be used for executing step S108 in the embodiment of the present application.Example and applied field that above-mentioned module is realized with corresponding step
Scape is identical, but is not limited to above-described embodiment disclosure of that.
Alternatively, adding device 24 can include:Coding module, for being encoded attribute status information;Write mould
Block, for being write the attribute status information after coding to search platform using data is activation component;Memory module, for searching
According to dimension, attribute status information is stored in Suo Pingtai.
Alternatively, predetermined queries condition is used for indicating the corresponding attribute status information of the first dimension of inquiry, wherein, first to look into
Asking unit 26 can include:First enquiry module, for inquiring about the first dimension in search platform from multiple dimensions;Obtain mould
Block, for obtaining the corresponding attribute status information of the first dimension.
Alternatively, the second query unit 28 can include:Second enquiry module, for searching and the from reservations database
The information of the corresponding call stack of the corresponding attribute status information of dimension.
Alternatively, the embodiment can also include:Display unit, for according to Query Result in reservations database
Attribute status information is inquired about again, after obtaining the information of call stack in Pinpoint, exports and show that inquiry is obtained
Call stack information.
Herein it should be noted that above-mentioned module is identical with the example realized by corresponding step and application scenarios, but not
It is limited to above-described embodiment disclosure of that.It should be noted that above-mentioned module is may operate in as a part for device appointing
In meaning hardware environment, can be realized by software, it is also possible to realized by hardware.
By above-mentioned module, the Pinpoint granularity of query that can solve in correlation technique is thicker, it is impossible to realize inquiry
The technical problem of the information of call stack, and then the granularity of query for reducing Pinpoint is reached, improve the accuracy of Query Result
Technique effect.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment
The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents, can pass through other
Mode is realized.Wherein, device embodiment described above is only the schematically such as division of the unit, Ke Yiwei
A kind of division of logic function, can have other dividing mode when actually realizing, such as multiple units or component can in conjunction with or
Person is desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed is mutual
Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of unit or module by some interfaces
Connect, can be electrical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit
The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple
On unit.Some or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part in other words prior art being contributed or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions
Equipment (can be personal computer, server or the network equipment etc.) execute the whole of each embodiment methods described of the present invention or
Part steps.And aforesaid storage medium includes:USB flash disk, read only memory (ROM, Read-Only Memory), random access memory are deposited
Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of information query method based on Pinpoint, it is characterised in that include:
Obtain the attribute status information of Pinpoint application system;
By the attribute status information transfer for getting to reservations database, and the attribute status information is added to search
Platform, wherein, described in the storage format of the attribute status information in the reservations database and the search platform
The storage format difference of attribute status information;
According to predetermined queries condition, preliminary search is carried out to the attribute status information in the search platform, tentatively looked into
Ask result;And
According to the Query Result, the attribute status information in the reservations database is inquired about again, obtained
The information of the call stack in Pinpoint.
2. method according to claim 1, it is characterised in that described add the attribute status information to search platform
Including:
The attribute status information is encoded;
Using data is activation component, the attribute status information after coding is write to the search platform;
According to dimension, the attribute status information is stored in the search platform.
3. method according to claim 2, it is characterised in that the predetermined queries condition is used for indicating the first dimension of inquiry
Corresponding attribute status information, wherein, described according to predetermined queries condition to the attribute status letter in the search platform
Breath carries out preliminary search, and obtaining preliminary search result includes:
First dimension is inquired about in the search platform from multiple dimensions;
Obtain the corresponding attribute status information of first dimension.
4. method according to claim 3, it is characterised in that described according to the Query Result to the reservations database
In the attribute status information inquired about again, the information for obtaining the call stack in Pinpoint includes:
The information of the corresponding call stack of attribute status information corresponding with first dimension is searched from the reservations database.
5. method according to claim 1, it is characterised in that described according to the Query Result to the tentation data
The attribute status information in storehouse is inquired about again, after obtaining the information of call stack in Pinpoint, methods described
Also include:
Export and show the information of the call stack that inquires about and obtain.
6. a kind of information query device based on Pinpoint, it is characterised in that include:
Acquiring unit, for obtaining the attribute status information of Pinpoint application system;
Adding device, for by the attribute status information transfer for getting to reservations database, and by the attribute status
Information is added to search platform, and wherein, the storage format of the attribute status information in the reservations database is searched with described
The storage format difference of the attribute status information in Suo Pingtai;
First query unit, for carrying out to the attribute status information in the search platform just according to predetermined queries condition
Step inquiry, obtains preliminary search result;And
Second query unit, for carrying out to the attribute status information in the reservations database according to the Query Result
Inquire about again, obtain the information of the call stack in Pinpoint.
7. device according to claim 6, it is characterised in that the adding device includes:
Coding module, for being encoded the attribute status information;
Writing module is flat to the search for being write the attribute status information after coding using data is activation component
Platform;
Memory module, for storing to the attribute status information according to dimension in the search platform.
8. device according to claim 7, it is characterised in that the predetermined queries condition is used for indicating the first dimension of inquiry
Corresponding attribute status information, wherein, first query unit includes:
First enquiry module, for inquiring about first dimension in the search platform from multiple dimensions;
Acquisition module, for obtaining the corresponding attribute status information of first dimension.
9. device according to claim 8, it is characterised in that second query unit includes:
Second enquiry module, for searching attribute status information pair corresponding with first dimension from the reservations database
The information of the call stack that answers.
10. device according to claim 6, it is characterised in that described device also includes:
Display unit, for entering to the attribute status information in the reservations database according to the Query Result described
Row is inquired about again, after obtaining the information of call stack in Pinpoint, is exported and is shown and described inquire about obtain described and call
The information of stack.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610997775.XA CN106446289B (en) | 2016-11-11 | 2016-11-11 | Information query method and device based on Pinpoint |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610997775.XA CN106446289B (en) | 2016-11-11 | 2016-11-11 | Information query method and device based on Pinpoint |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106446289A true CN106446289A (en) | 2017-02-22 |
CN106446289B CN106446289B (en) | 2019-10-01 |
Family
ID=58208044
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610997775.XA Active CN106446289B (en) | 2016-11-11 | 2016-11-11 | Information query method and device based on Pinpoint |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106446289B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107688646A (en) * | 2017-08-30 | 2018-02-13 | 武汉烽火众智数字技术有限责任公司 | A kind of method of the bayonet socket data area crash analysis based on ES |
CN109343987A (en) * | 2018-08-20 | 2019-02-15 | 科大国创软件股份有限公司 | IT system fault diagnosis and restorative procedure, device, equipment, storage medium |
CN110232007A (en) * | 2019-05-21 | 2019-09-13 | 昆明能讯科技有限责任公司 | A kind of electric power enterprise information service monitoring method based on APM technology |
CN110262955A (en) * | 2019-06-25 | 2019-09-20 | 四川长虹电器股份有限公司 | Application performance monitoring tools based on pinpoint |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1829977A (en) * | 2003-08-01 | 2006-09-06 | 英特尔公司 | Method and apparatus for improving the performance of garbage collection using stack trace cache |
CA2518974A1 (en) * | 2005-09-09 | 2007-03-09 | 2Dot4 Inc. | Network and inventory management system |
CN101616174A (en) * | 2009-07-09 | 2009-12-30 | 浪潮电子信息产业股份有限公司 | A kind of storage system IO handles the method that the path dynamic tracking realizes the optimization system performance |
CN103562923A (en) * | 2011-05-31 | 2014-02-05 | 惠普发展公司,有限责任合伙企业 | Application security testing |
CN105808413A (en) * | 2016-03-02 | 2016-07-27 | 上海新炬网络信息技术有限公司 | Business process visualization based SQL performance monitoring method |
-
2016
- 2016-11-11 CN CN201610997775.XA patent/CN106446289B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1829977A (en) * | 2003-08-01 | 2006-09-06 | 英特尔公司 | Method and apparatus for improving the performance of garbage collection using stack trace cache |
CA2518974A1 (en) * | 2005-09-09 | 2007-03-09 | 2Dot4 Inc. | Network and inventory management system |
CN101616174A (en) * | 2009-07-09 | 2009-12-30 | 浪潮电子信息产业股份有限公司 | A kind of storage system IO handles the method that the path dynamic tracking realizes the optimization system performance |
CN103562923A (en) * | 2011-05-31 | 2014-02-05 | 惠普发展公司,有限责任合伙企业 | Application security testing |
CN105808413A (en) * | 2016-03-02 | 2016-07-27 | 上海新炬网络信息技术有限公司 | Business process visualization based SQL performance monitoring method |
Non-Patent Citations (2)
Title |
---|
BENJAMIN H.SIGELMAN ET AL: "dapper,a Large-Scale Distributed Systems Tracing Infrastructure", 《URL:HTTP://WWW.DOC88.COM/P-1975216799418.HTML》 * |
ITEYE: "链路监控框架pinpoint", 《HTTPS://M635674608.ITEYE.COM/BLOG/2323542》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107688646A (en) * | 2017-08-30 | 2018-02-13 | 武汉烽火众智数字技术有限责任公司 | A kind of method of the bayonet socket data area crash analysis based on ES |
CN109343987A (en) * | 2018-08-20 | 2019-02-15 | 科大国创软件股份有限公司 | IT system fault diagnosis and restorative procedure, device, equipment, storage medium |
CN110232007A (en) * | 2019-05-21 | 2019-09-13 | 昆明能讯科技有限责任公司 | A kind of electric power enterprise information service monitoring method based on APM technology |
CN110262955A (en) * | 2019-06-25 | 2019-09-20 | 四川长虹电器股份有限公司 | Application performance monitoring tools based on pinpoint |
Also Published As
Publication number | Publication date |
---|---|
CN106446289B (en) | 2019-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107766205B (en) | A kind of monitoring system and method towards the tracking of micro services calling process | |
US20220300464A1 (en) | Log data extraction from data chunks of an isolated execution environment | |
CN108183927A (en) | The monitoring method and system that a kind of distributed system link calls | |
Beheshti et al. | iprocess: Enabling iot platforms in data-driven knowledge-intensive processes | |
CN106446289A (en) | Information inquiry method and device based on Pinpoint | |
US20190050435A1 (en) | Object data association index system and methods for the construction and applications thereof | |
CN106407244A (en) | Multi-database-based data query method, system and apparatus | |
CN111506559A (en) | Data storage method and device, electronic equipment and storage medium | |
CN110162522A (en) | A kind of distributed data search system and method | |
CN103023693A (en) | Behaviour log data management system and behaviour log data management method | |
CN108764350A (en) | Target identification method, device and electronic equipment | |
CN109618250B (en) | Optical fiber network node management method and system | |
CN111639077B (en) | Data management method, device, electronic equipment and storage medium | |
CN106326317A (en) | Data processing method and device | |
CN114153862A (en) | Service data processing method, device, equipment and storage medium | |
CN110119396A (en) | Data managing method and Related product | |
CN110826845B (en) | Multidimensional combination cost allocation device and method | |
CN112579552A (en) | Log storage and calling method, device and system | |
CN111368166A (en) | Resource search method, resource search apparatus, and computer-readable storage medium | |
CN110471968A (en) | Dissemination method, device, equipment and the storage medium of ETL task | |
CN107729579A (en) | Database separate design method and device | |
CN107070987A (en) | Data capture method and system for distributed objects storage system | |
US11113301B1 (en) | Generating metadata for events based on parsed location information of data chunks of an isolated execution environment | |
CN111740871A (en) | Data acquisition method and device | |
CN109345277A (en) | A kind of intelligent recalling system for registration failure user |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Wuxi District of Jiangsu city in Wuxi Province, Zhenze Road No. 18, Wuxi (National) Software Park Dolphin C seat 2, 3 floor Applicant after: Wuxi private online Polytron Technologies Inc Address before: Wuxi District of Jiangsu city in Wuxi Province, Zhenze Road No. 18, Wuxi (National) Software Park Dolphin C seat 2, 3 floor Applicant before: Wuxi Yazuo Online Technology Development Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |