Skip to content
  • Volcengine summary: 'Volcengine MongoDB replica set metrics display,including CPU usage, memory usage, number of connections, latency, OPS, etc.' __int_icon: 'icon/volcengine_mongodb' dashboard:
  • desc: 'Volcengine Replica Set' path: 'dashboard/zh/volcengine_mongodb_replica_set/'

Volcengine MongoDB Replica Set

Volcengine MongoDB replica set metrics display,including CPU usage, memory usage, number of connections, latency, OPS, etc.

Config

Install Func

Recommend opening 「Integrations - Extension - DataFlux Func (Automata)」: All preconditions are installed automatically, Please continue with the script installation

If you deploy Func yourself,Refer to Self-Deployment of Func

Installation script

Tip:Please prepare Volcengine AK that meets the requirements in advance(For simplicity's sake,,You can directly grant the global read-only permissionReadOnlyAccess

To synchronize the monitoring data of ECS cloud resources, we install the corresponding collection script:「Guance Integration(Volcengine -MongoDB Replica Set Collect)」(ID:guance_volcengine_mongodb_replica_set)

Click "Install" and enter the corresponding parameters: Volcengine AK, Volcengine account name.

tap "Deploy startup Script",The system automatically creates Startup script sets,And automatically configure the corresponding startup script.

After this function is enabled, you can view the automatic triggering configuration in「Management / Crontab Config」。Click "Run",you can immediately execute once, without waiting for a regular time。After a while, you can view task execution records and corresponding logs.

If you want to collect logs, you must enable the corresponding log collection script. If you want to collect bills, start the cloud bill collection script.

We collected some configurations by default, as described in the Metrics column Configure custom cloud object metrics

Verify

  1. In「Management / Crontab Config」check whether the automatic triggering configuration exists for the corresponding task,In addition, you can view task records and logs to check whether exceptions exist
  2. On the Guance platform, click 「Infrastructure / Custom」 to check whether asset information exists
  3. On the Guance platform, press 「Metrics」 to check whether monitoring data exists

Metric

Configure Volcengine Cloud - MongoDB Replica monitoring. The default metric set is as follows. You can collect more metrics by configuring them Volcengine MongoDB Replica Monitor Metrics Details

Metric Description Unit
CpuUtil CPU Usage Percent
MemUtil Mem Usage Percent
TotalDiskUtil Disk Usage Percent
CurrConn Current connections Count
DataDiskUsage Data disk usage Bytes(SI)
ReplicationDelay Main backup delay Second
GetmoreOperationPerSec GetMORE operations per second Count/Second
QueryOperationPerSec Query operations per second Count/Second
DeleteOperationPerSec Delete operations per second Count/Second
InsertOperationPerSec Insert operations per second Count/Second
UpdateOperationPerSec Update operations per second Count/Second
CommandOperationPerSec Command operations per second Count/Second

Object

The collected Volcengine Cloud MongoDB object data structure can see the object data from 「Infrastructure-Custom」

  {
    "category": "custom_object",
    "fields": {
      "NodeSpec": "rds.mysql.d1.n.1c1g",
      "TimeZone": "UTC +08:00",
      ...
    },
    "measurement": "volcengine_mongodb_replica_set",
    "tags": {
      "AllowListVersion": "initial",
      "DBEngineVersion": "MongoDB_5_7",
      "InstanceId": "mysql-xxx",
      "InstanceName": "mysql-xxx",
      "InstanceStatus": "Running",
      "InstanceType": "DoubleNode",
      "LowerCaseTableNames": "1",
      "NodeNumber": "2",
      "ProjectName": "default",
      "RegionId": "cn-beijing",
      "StorageSpace": "20",
      "StorageType": "LocalSSD",
      "SubnetId": "subnet-xxx",
      "VpcId": "vpc-xxx",
      "ZoneId": "cn-beijing-a",
      "name": "mysql-xxx"
    }
  }

Feedback

Is this page helpful? ×