Comments (6)
Will take a look at this.
from druidplugin.
We can change the custom granularity to include option for second, but lets keep the default as minute.
from druidplugin.
i think just add 2 missing druid granularities ( none and second ) will be good enough =)
from druidplugin.
none is rarely useful but if we add it why not other supported granularities as well? Per Druid documentation, the supported granularity strings are: all, none, second, minute, fifteen_minute, thirty_minute, hour, day, week, month, quarter and year.
from druidplugin.
Agree that none is rarely useful. It was just something that I added to address this issue. We could add all other granularities as well. Let me know if you think I should add it. I don't see a use of quarter and year granularity from a grafana usecase though.
from druidplugin.
i think main problem using none granularity with grafana is empty buckets.
according to docs :
http://druid.io/docs/latest/querying/timeseriesquery.html
druid support possibility to skip empty buckets adding flag skipEmptyBuckets to context
{
"queryType": "timeseries",
"dataSource": "sample_datasource",
"granularity": "day",
"aggregations": [
{ "type": "longSum", "name": "sample_name1", "fieldName": "sample_fieldName1" }
],
"intervals": [ "2012-01-01T00:00:00.000/2012-01-04T00:00:00.000" ],
"context" : {
"skipEmptyBuckets": "true"
}
}
i think adding checkbox to add this flag will make it usable in many place. In some place we collect data with 1s interval. But due to some different lags, sometime 2 metrics can be writed with same second. To avoid visualization problem with second granularity we should add post aggregation. Also with that situation come empty bucket, as 2 metrics have some time, so chart look strange in some place. Using none granularity and skipEmptyBuckets will make chart look as it is, without empty buckets and additional post aggregation.
from druidplugin.
Related Issues (20)
- Project ownership HOT 3
- Unable to run tests
- Use the Plugin HOT 1
- New Plugin: Full featured / Grafana 7+ HOT 8
- druidplugin does not support alerting HOT 2
- can't find log written by druidplugin in grafana.log HOT 2
- The configured Query page can only initiate queries of type SELECT HOT 2
- Not getting Data Graffana 7.5.7 HOT 3
- When I add a variable HOT 1
- Angular is deprecated - please migrate to React
- Not able to submit `datasource` of type `query` to the plugin.
- automatically downsample the Custom Granularity
- Don't work repeating panels with a multivalue variables
- can not loading druid plugin http setting HOT 1
- there is no option for count_distinct functionality
- Project status ? looking for new maintainers ? HOT 23
- cant work with grafana 6.0.0 HOT 1
- Help needed : Unable to graph any data in grafana HOT 5
- Help needed: configure plugin via cli HOT 1
- Latest Grafana 6.6.2 and latest Druid 0.17 HOT 8
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 druidplugin.