You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For OpenTSDB I would like to use interval template variables for the DownSample field. This should hopefully allow to dynamically downsample the result set based on zoom level.
Looking at the code I could imagine that its as simple as that (but I'm not a JavaScript expert):
in src/app/services/opentsdb/opentsdbDatasource.js line 152
replace query.downsample = target.downsampleInterval + "-" + target.downsampleAggregator;
with query.downsample = templateSrv.replace(target.downsampleInterval) + "-" + target.downsampleAggregator;
Could that work? I wanted to test myself but could not get the grunt command to run :[ .
In addition an autocomplete function that only lists variables of type interval would be nice.
using in downsample:
Thanks
The text was updated successfully, but these errors were encountered:
This downsampling feature depending on the time range ( and the consolidation function related to each metric ) should be a common feature with independence of the data backend .
I'll be pleased to discuss on this issue again if needed.
Thanks for the quick reply. I’m looking forward to this release.
Ralf
From: Torkel Ödegaard [mailto:notifications@github.com]
Sent: Tuesday, December 16, 2014 9:10 PM
To: grafana/grafana
Cc: Graefe, Ralf
Subject: Re: [grafana] Feature Request: OpenTSDB use interval variable for downsampling (#1242)
Yes, this is a very simple enhancement to implement. Will add this to 1.9.1 patch release and implemented tomorrow.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1242#issuecomment-67223308.
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
Hello,
For OpenTSDB I would like to use interval template variables for the DownSample field. This should hopefully allow to dynamically downsample the result set based on zoom level.
Looking at the code I could imagine that its as simple as that (but I'm not a JavaScript expert):
in src/app/services/opentsdb/opentsdbDatasource.js line 152
replace
query.downsample = target.downsampleInterval + "-" + target.downsampleAggregator;
with
query.downsample = templateSrv.replace(target.downsampleInterval) + "-" + target.downsampleAggregator;
Could that work? I wanted to test myself but could not get the grunt command to run :[ .
In addition an autocomplete function that only lists variables of type interval would be nice.
using in downsample:
Thanks
The text was updated successfully, but these errors were encountered: