-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metricbeat Operations Counter visualizations for Mongo broken (6.5.3) #9715
Comments
@EthanStrider Do you mean we changed the naming on our end or mongodb changed it? If I understand this correct, the visualisation is not working anymore. Do you have a screenshot by chance? Did you use this also with older versions and know if it was working there? |
Yes, it was working in older versions, and we upgraded and noticed everything was broken. Specifically, it was working in |
It seems a dashboard problem, I have this running Mongo 4.0.4 and {
"@timestamp": "2018-12-26T13:27:40.485Z",
"@metadata": {
"beat": "metricbeat",
"type": "_doc",
"version": "7.0.0"
},
"metricset": {
"name": "status"
},
"service": {
"address": "localhost:27017",
"type": "mongodb"
},
"mongodb": {
"status": {
...
"ops": {
"counters": {
"command": 798,
"insert": 0,
"query": 1,
"update": 0,
"delete": 0,
"getmore": 0
},
"replicated": {
"getmore": 0,
"command": 0,
"insert": 0,
"query": 0,
"update": 0,
"delete": 0
},
"latencies": {
"reads": {
"latency": 0,
"count": 0
},
"writes": {
"latency": 0,
"count": 0
},
"commands": {
"latency": 144393,
"count": 790
}
}
},
...
"agent": {
"type": "metricbeat",
"hostname": "mcastro",
"version": "7.0.0"
},
"host": {
"name": "mcastro",
"os": {
"name": "Antergos Linux",
"kernel": "4.19.12-arch1-1-ARCH",
"platform": "antergos",
"version": "",
"family": ""
},
"id": "54f70115bae545cbac2b150f254472a0",
"containerized": false,
"architecture": "x86_64"
},
"event": {
"duration": 2880986,
"dataset": "mongodb.status",
"module": "mongodb"
}
} But it seems it can't find the I'll try to take a look |
@sayden For the metricset.host, this is now service.address, but please don't change it in master as we are changing all dashboards to ECS hopefully with a script. If you test with 6.x you should see metricset.host. |
Fixed and merged into master and 6.x. Thanks for reporting @EthanStrider 🙂 |
Specifically, the
opcounters
bit has changed toops.counters
mongodb.status.ops.counters.command
mongodb.status.ops.counters.getmore
mongodb.status.ops.counters.insert
mongodb.status.ops.counters.query
mongodb.status.ops.replicated.update
mongodb.status.ops.counters.command
The text was updated successfully, but these errors were encountered: