idafurjes
cec12676e7
Chore: Refactor influxdb to use SDK contracts ( #36189 )
...
* Use backend SDK for influxdb
* Remove BasicAuth condition, some comments
* Remove not used fields from datasource info
* Register InfluxDBService
* Fix casting and make HTTPClientProvider exported
* Remove unused function
* Remove empty line
* Update pkg/tsdb/influxdb/flux/query_models.go
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
* Read interval from TimeRange instead of Interval
* Change pkg name from datasource->models, minor changes
* Use testify instead of convey
* Add new calculator logic and fix pointer semantic for dsInfo
* Initialise parsers, use tsdb interval pkg
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2021-07-19 11:32:33 +02:00
Arve Knudsen
b79e61656a
Introduce TSDB service ( #31520 )
...
* Introduce TSDB service
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-03-08 07:02:49 +01:00
Arve Knudsen
4dd7b7a82d
Chore: Remove unused Go code ( #28852 )
...
* Chore: Remove more unused Go code
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 11:51:31 +01:00
Arve Knudsen
c63bbbaec3
InfluxDB: Close Flux query results ( #26917 )
...
* InfluxDB: Drop ctxhttp usage
* InfluxDB: Clean up code
* InfluxDB: Close query results
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-08-13 17:50:53 +02:00
z0029c4
8cb1e5b918
added support for influxdb non_negative_difference function in tsdb for alerting
2019-02-13 17:55:31 +05:30
Tom Nitti
1e53c12921
added support for influxdb cumulative_sum function in tsdb
2018-12-04 12:46:50 -06:00
bergquist
bf4ee9bcc6
influxdb: adds mode func to backend
...
closes #12286
2018-06-14 20:33:22 +02:00
bergquist
55f1b36e31
refactor response flow
2017-09-21 15:02:17 +02:00
Torkel Ödegaard
9bdcc4ec5f
influxdb: holt winters edits
2017-04-11 14:40:08 +02:00
Torkel Ödegaard
b475f91387
feat(templating): completed work on built in template variables and , closes #7190 , refactors #7170
2017-01-11 12:10:26 +01:00
Darrian
27ead53382
Set indentation to tabs
2016-12-21 22:54:56 +00:00
Darrian
b8572b69f0
Register new queries available in InfluxDB - Holt Winters fixes #5619
...
For correct data fill on holt winters predictions, the time function
needed modification to allow a 2nd param for offset, as per
https://docs.influxdata.com/influxdb/v1.0/query_language/data_exploratio
n/#advanced-group-by-time-syntax
2016-12-21 22:30:32 +00:00
bergquist
8cef4cc74e
fix(influxdb): handles time(auto) like time($interval)
...
closes #6997
2016-12-21 10:01:20 +01:00
bergquist
f4e0a9245e
feat(influxdb): choose highest interval value
2016-10-14 09:14:13 +02:00
bergquist
4144eacc24
feat(influxdb): start parsing interval parameters
2016-10-13 11:42:51 +02:00
bergquist
0bfb94dc6f
feat(tsdb): add interval calculator
2016-10-10 09:45:33 +02:00
bergquist
ab8751767c
feat(influxdb): send request and parse response
2016-10-06 12:51:45 +02:00
bergquist
4387d20222
feat(influxdb): render select and groupby
2016-10-05 20:36:05 +02:00
bergquist
9968fa5bc5
feat(influxdb): add query part definitions
2016-10-05 16:59:33 +02:00
bergquist
c7abd3ba4e
feat(influxdb): add querypart renderers
2016-10-05 14:42:06 +02:00
bergquist
d0e6a9559e
feat(influxdb): add query part model
2016-10-05 10:56:34 +02:00