Property
mongodb_exporter
Prometheus MongoDB exporter (Percona mongodb_exporter). The crawler reads its /metrics page, which doesn't require authentication, for the versions and the names of the databases and collections. The admin, config and local databases are left out. A database or collection name that matches a ransom note adds the "compromised" tag.
| Property Name |
Type |
Description |
Required |
| databases |
array of
MongodbExporterDatabase
|
Databases and their collections, sorted by name. At most 100 databases, 200 collections per database and 1000 collections in total. |
|
| mongodb_up |
boolean
|
Whether the exporter could connect to the MongoDB server. |
|
| mongodb_version |
string
|
Version of the MongoDB server, ex: 4.2.25 |
|
| truncated |
boolean
|
Set when there were more databases or collections than the limits. |
|
| version |
string
|
Version of the exporter. |
|
MongodbExporterDatabase
| Property Name |
Type |
Description |
Required |
| collections |
array of
MongodbExporterCollection
|
Collections of the database, sorted by name. Only available when the exporter collects collection or top metrics. |
Yes
|
| name |
string
|
Name of the database. |
Yes
|
MongodbExporterCollection
| Property Name |
Type |
Description |
Required |
| name |
string
|
Name of the collection. |
Yes
|
↑ TopSearch Queries
SearchMongoDB exportersproduct:"MongoDB Exporter"
SearchMongoDB exporters with a compromised databaseproduct:"MongoDB Exporter" tag:compromised
{
"version": "0.40.0",
"mongodb_up": true,
"mongodb_version": "4.2.25",
"databases": [
{
"name": "shop",
"collections": [
{
"name": "customers"
},
{
"name": "orders"
}
]
}
]
}