Method and device for injecting application probe in docker container environment

A container and probe technology, applied in the computer field, can solve the problem of inability to monitor the transaction-level performance of the application process in the container

Active Publication Date: 2020-10-23
NORTH CHINA ELECTRIC POWER UNIV (BAODING)
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention proposes a method and device for injecting application probes in a docker container environment, which solves the problem in the prior art that the operating system cannot monitor the transaction-level performance of the application process in the container in the docker container environment

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for injecting application probe in docker container environment
  • Method and device for injecting application probe in docker container environment
  • Method and device for injecting application probe in docker container environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts all involve the protection scope of the present invention.

[0035] Such as figure 1 As shown, this embodiment proposes a method for injecting application probes in a docker container environment, including

[0036] The steps of process detection: establish a callback channel to monitor the docker container management process,

[0037] When it is monitored that the docker container management process starts a new container, in the execution environment of the new container, the file directory where the application probe module is lo...

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

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of computers. The invention provides a method and a device for injecting an application probe in a docker container environment. The method comprises the following steps: a process detection step: establishing a callback channel, monitoring a docker container management process, and automatically mounting a file directory where an application probe module is located to a corresponding directory in a file system of a new container when monitoring that the docker container management process starts the new container; a step of automatically injectinga probe: when it is monitored that a new application process is started on a docker container, starting the new application process, analyzing an execution environment of the new application process,setting an environment variable of the new application process or changing a starting parameter of the new application process after determining that the new application process meets the condition ofautomatically injecting the application probe, and injecting the corresponding application probe before the new application process executes the service logic. Through the technical scheme, the problem that in the docker container environment in the prior art, an operating system cannot monitor the transaction-level performance of the application process in the container is solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and a device for injecting application probes in a docker container environment. Background technique [0002] The docker container environment is an independent runtime environment, which realizes rapid deployment of applications by packaging software applications and the libraries, configurations, and tools that the applications depend on. The docker container engine technology is based on the namespace feature provided by the linux kernel to realize the encapsulation and isolation of container processes, networks, files and other resources. The host process, the container process, and the processes of different containers are in different namespaces, have their own independent system resources, and cannot access each other. The docker container provides an execution environment that simulates a separate operating system for the processes executed in these co...

Claims

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

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/34
CPCG06F11/3409Y02D10/00
Inventor 熊伟高娟娟
Owner NORTH CHINA ELECTRIC POWER UNIV (BAODING)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products