Comments (4)
Hi, I also notice that you've added the support for 'table' in a previous commit but it seems that my queries are always executed via "getTimeseriesResults" and never fall into "getTableResult".
I guess there may be sth that I miss to make it work properly?
from mongodb-grafana.
from mongodb-grafana.
Thanks a lot for your reply. I tried to choose 'table' for the query drop down and use 'series' for the graph.
The graph I get shows only the last result. Do I still miss something here?
Here is my query:
db.analytic_events.aggregate([
{"$match": {
"event_time": { "$gte": "$from", "$lte": "$to" },
"event_type": "CampBakingStats_1.0"
}},
{"$group": {
"_id": { "changelist" : "$custom_payload.codeCL" },
"campBakingTotalDuration" : {"$sum": "$custom_payload.campBakingTotalDuration" },
"max_event_time": { "$max": "$event_time" }
}},
{"$project": {
"name" : "$_id.changelist",
"value" : "$campBakingTotalDuration",
"ts" : "$max_event_time",
"_id": 0
}},
{"$sort":
{ "ts": 1 }
}
])
What I'm trying to do is to draw campBakingTotalDuration trend by its change list number.
from mongodb-grafana.
Hi, it turns out to be our server plugin version is not updated.
The problem is fixed now. Thanks.
from mongodb-grafana.
Related Issues (20)
- Filtering values shows [Object object] HOT 2
- Comparison problems with Grafana variables
- Cannot read property getTime of undefined error HOT 3
- {"message":"Cannot read property 'url' of undefined"} on localhost:3333
- Cannot get plugin to show up in grafana after installation HOT 4
- Does this plugin support a containerized setup? HOT 8
- Plugin disabled due to missing plugin signature HOT 1
- Is this project abandoned? HOT 16
- Multi-value variable HOT 1
- Has anyone managed to set the connection string to read only from a secondary node ?
- Why is there no .find()? HOT 1
- Error while installing Mongo Proxy npm install HOT 1
- Unsupported OP_QUERY command: aggregate. The client driver may require an upgrade. MongoDB 6.0.1 HOT 5
- Is $unwind supported?
- Request: Sign the plugin HOT 2
- Cannot add a datasource HOT 3
- Grafana Helm HOT 2
- Times out for mongodb://localhost:27017 HOT 1
- Regarding Bar Graph
- Migration from Angular to React
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongodb-grafana.