Prometheus
Prometheus enables you to monitor your applications, systems, and services.
Architecture
The example of the product components and patterns interaction is displayed in the following table.
Software pattern summary
The following table gives an overview of the pattern characteristics:
Product component | OS type | Versioning | Pattern depth |
|---|---|---|---|
| Prometheus | UNIX, Windows | Active, Package | Instance-based |
Platforms supported by the pattern
The pattern discovers Prometheus deployments on the UNIX and Windows systems.
Identification
To run a discovery of the product, the pattern must be triggered. This section describes conditions under which the pattern can be triggered.
Software instance triggers
The following table gives details about the pattern trigger:
Pattern | Trigger node | Attribute | Condition | Argument |
|---|---|---|---|---|
| Prometheus | DiscoveredProcess | cmd | matches | regex '\bprometheus$' |
| or | ||||
| cmd | matches | regex '(?i)\bprometheus\.exe$' |
Software Instance type attributes
The pattern in this module sets the following attribute:
Pattern name | SI type |
|---|---|
| Prometheus | Prometheus |
Simple identification mappings
The following components/processes are identified by using the simple identity mappings that map the product's known processes:
Name | Command |
|---|---|
| Prometheus | regex '\bprometheus$' |
| Prometheus | regex '(?i)\bprometheus\.exe$' |
Versioning
Version information for the product is collected by using the active and package versioning method.
Active versioning
The pattern attempts to extract versioning from the output of the following command:
- <process_cmd> --version
by parsing against the following regular expression:
- version (\d+(?:\.\d+)*)
Package versioning
The pattern obtains the list of packages installed on the host and compares each of them against the following regular expression:
- prometheus\d*
If a matching package is found, its versioning information is extracted.
Application model
If the pattern discovers a SoftwareInstance of Prometheus, it defines the software instance's architecture in the form of the application model.
Pattern trigger
The Prometheus pattern is triggered by a prometheus or prometheus.exe process.
SI depth
The pattern creates an instance-based Software Instance whose key is based on the type (for example, Prometheus) and the host key.
Subject matter expertise
Inputs from subject matter experts are welcome on any other potential approaches not discussed in this topic.
Testing
The pattern has been tested against the available customer data.
Open issues
There are no known open issues with this pattern.