Astradot
  • Home
  • Release Notes
  • Security and Privacy
  • System Agent
    • Installation on Linux
    • Datadog Agent Integration
    • Installation on Kubernetes
    • Datadog Agent Integration
    • Environment Variables
    • Config File
    • AWS Integration
  • Application Agent
    • Java Agent
  • Infrastructure Integrations
    • Apache
    • AWS ElasticCache
    • AWS RDS
    • HAProxy
    • MongoDB
    • MySQL
    • Nginx
    • PgBouncer
    • PostgreSQL
    • RabbitMQ
    • Redis
    • Consul
    • Etcd
    • Oracle
Powered by GitBook
On this page
  • Integration Installation
  • Metrics

Was this helpful?

  1. Infrastructure Integrations

MongoDB

Integration Installation

  1. Install the Astradot Infra Agent on your server

  2. Add a user account to MongoDb with appropriate permissions

    db.createUser({"user":"astuser", "pwd": "pwd1234343", "roles" : [
        {role: 'read', db: 'admin' }, {role: 'clusterMonitor', db: 'admin'}, 
        {role: 'read', db: 'mydb' }]})
  3. Edit /etc/astradot-infra/integrations/mongodb.toml

    #For every mongodb instance to monitor, add an [[instance]] block
    [[instance]]
    host = "localhost"
    port = 27017
    username = "astuser"
    password = "pwd1234343"
    database = "mydb""
  4. Restart astradot-infra agent

    service astradot-infra restart

Metrics

Metric
Description

Connections

The number of incoming connections from clients to the database server

Opcounters - Query

Rate of queries

Opcounters - Insert

Rate of insert operations

Opcounters - Update

Rate of update operations

Opcounters - Delete

Rate of delete operations

Opcounters - Getmore

Rate of 'getmore' operations

Opcounters - Command

Rate of commands. Counts all commands except the write commands: insert, update, and delete

Opcounters Replication - Insert

Rate of replicated insert operations

Opcounters Replication - Update

Rate of replicated update operations

Opcounters Replication - Delete

Rate of replicated delete operations

Opcounters Replication - Command

Rate of replicated commands

Documents - Inserted

Rate of documents inserted

Documents - Updated

Rate of documents updated

Documents - Deleted

Rate of documents deleted

Documents - Returned

Rate of documents returned by queries

Cursors - Open

Open cursors

Cursors - Timed Out

Rate of timed out cursors

Journal - Commits

Journal - Journaled

Journal - Written to files

Network - Bytes In

Rate of network traffic received

Network - Bytes Out

Rate of network traffic sent

Network - Request Rate

Rate of distinct network requests received

Asserts - Regular

Rate of regular assertions

Asserts - Msg

Rate of message assertions

Asserts - User

Rate of "user asserts"

Query Executor - Scanned

Rate of index items scanned during queries and query-plan evaluation

Query Executor - Scanned Objects

Rate of documents scanned during queries and query-plan evaluation

Page Faults

Rate of page faults

Global Lock Queue - Readers

Number of operations that are currently queued and waiting for the read lock

Global Lock Queue - Writers

Number of operations that are currently queued and waiting for the write lock

Operations - Scan and Order

Rate of queries that return sorted numbers that cannot perform the sort operation using an index

Operations - Write Conflicts

Rate of queries that encountered write conflicts

PreviousHAProxyNextMySQL

Last updated 2 years ago

Was this helpful?

The number of transactions written to the journal during the last

The amount of data in megabytes (MB) written to journal dduring the last

The amount of data written from journal to the data files during the last

journal group commit interval
journal group commit interval
journal group commit interval