Commit Graph

175 Commits (8f26f5cb85b3058116a75fbd946290f9df0b4eaa)

Author SHA1 Message Date
Pavel Zavora 0756097cce feat(server): add new color property to annotation 2022-06-24 10:17:23 +02:00
Pavel Zavora f2299043b3 feat(server): add tests for InfluxDB query 2022-06-15 12:02:01 +02:00
Pavel Zavora cd78ba1680 feat(server): add tests for InfluxDB write 2022-06-15 11:52:59 +02:00
Pavel Zavora 9fc48da142 feat(server): add tests for InfluxDB version detection 2022-06-15 11:14:13 +02:00
Pavel Zavora fabc3065c4 feat(server): add tests for influxdb connection validation 2022-06-15 10:52:16 +02:00
Pavel Zavora 614424fc6f feat(server): keep context path in communication with InfluxDB v1 API endpoint 2022-06-14 13:55:28 +02:00
Pavel Zavora ab78c5fc73 feat(ui): return OSS users sorted by name 2022-06-06 14:17:49 +02:00
Pavel Zavora 2015ab676d chore: strip prefix from InfluxDB version 2022-04-11 17:42:29 +02:00
Pavel Zavora c981751433 chore(server): refactor HTTP transport factory to avoid circular dependency 2022-01-23 10:29:08 +01:00
Pavel Zavora 85edd432d5 fix(security): upgrade jwt to resolve CVE-2020-26160 2021-09-03 13:35:33 +02:00
ivankudibal d702be1a16 fix: tests, should be InfluxDB, not Influx 2020-12-09 18:27:09 +01:00
Pavel Zavora 00c62bf4dd feat(server): add validation of credentials to InfluxDB client 2020-12-09 17:35:58 +01:00
Pavel Zavora 60c34f9c53 chore(server): remove useless logging 2020-12-07 18:28:40 +01:00
Pavel Zavora fb146bf892 chore: improve code 2020-12-07 10:19:00 +01:00
Pavel Zavora 4e8d541224 feat(v2): allow to control influxdb-v2 source type that turns on Token authentication 2020-12-07 08:39:35 +01:00
Pavel Zavora 84eddd0131 fix(influxdb): ignore possible 'v' in InfluxDB version string 2020-11-25 08:04:42 +01:00
Pavel Zavora 6bb9afc296 feat(v2): use Token authentication for InfluxDB v2 2020-11-24 19:58:48 +01:00
Pavel Zavora ffda97c69c fix(servers): apply default timeouts in server connections 2020-10-29 20:03:34 +01:00
greg linton d61b03f27a fix: use auth settings when pinging source 2020-03-25 16:55:03 -06:00
Greg f0d5e5abef
chore: add a KV layer prior to adding an etcd implementation (#5349)
* Bolt to kv/bolt

* Remove unused code

* Remove unused roles code

* Remove unused duplicate Makefile

* Clean up bolt implementation and start layering in an interface for another store

* Layer in kv interface

* Continue layering in kv interface

* Remove circuitbreaker things

* Move cell stuff out

* Convert cell logic to kv interface

* Start adding config logic to kv interface, likely will remain bolt only

* Get to compile with bolt kv before moving too far forward

* Start removing dead dashboard code

* Add generic kv implementation for dashboards

* Convert layouts to kv interface

* Migrate mappings to kv layer

* Migrate org_config to kv layer

* Migrate organizations to kv layer

* Migrate servers to kv layer

* Migrate sources to kv layer

* Migrate users to kv layer

* Start removing unused migration logic

Since there is a migration path for users via updating to 1.7.x line then to 1.8, there isn't any real reason to continue supporting migrating from a version ~2 years old.

* Cleaning up bolt dead codes

* Re-add disabled code

* Migrate tests over to kv layer

* Migrate config to kv layer

* Create default organization

* Remove etcd for now

* Improve new client and new service implementations

* Uncomment bolt build tests

* Add layouts test

* Add more dashboard tests to kv
2020-01-21 09:26:23 -07:00
Greg 1806d6c298
chore: tidy prior to kv refactor (#5342)
* Start cleaning up/reviewing for kv refactor

* Remove dependency on graceful http layer

* Remove deprecated cli option --new-sources

* Run gofmt and remove dep related files

* Update non-influx deps

* Update kapacitor dep

* Compile regexp's once

* Remove un-needed struct members

* Remove unused integrations code
2020-01-09 08:49:42 -07:00
Michael Desa ab3f5c1d70
fix(influx): allow upperDashboardTime when generating query config (#5334)
Closes https://github.com/influxdata/chronograf/issues/5330
2019-12-18 10:08:57 -08:00
Christopher Henn f886d9f0f2 Add support for user-defined annotation tags 2018-08-06 08:47:19 -07:00
Andrew Watkins 3ff9eef934 Remove tempVars from backend queries response 2018-06-28 13:19:32 -07:00
Andrew Watkins aa06c280f1 Remove template variable replacement from the backend 2018-06-28 12:42:28 -07:00
Andrew Watkins 583791d807 Fix go test 2018-06-27 17:05:35 -07:00
Andrew Watkins 49d7998d08 Return query duration from /query endpoint 2018-06-27 17:05:35 -07:00
Christopher Henn 2a494b4f75
Support persisting "influxql" template variables 2018-06-19 16:24:40 -07:00
Christopher Henn ac7ebe1f48
Fix rendering of template variables within regexes 2018-06-11 15:12:55 -07:00
Brandon Farmer 982a086f9d Fixes issues with queries containing regexps
- \. was not being escaped properly
2018-04-05 16:44:05 -07:00
Jared Scheib 207fb0a49b
Merge branch 'master' into feature/rest-measurements 2018-04-04 16:21:16 -07:00
Jared Scheib 982fa38fc1 Rename database function arguments for consistency 2018-04-04 13:25:45 -07:00
Luke Morris 9eb7a8cdd4 Reintroduce :interval: work
This reverts commit 4b54081cf8.

:interval: represents a duration now

queryConfig must recognize both :interval: forms

Another case to consider

Fix broken links in CHANGELOG

Rudimentary migration system w/ :interval: migration

Only looking for :interval: now

Server can expect time(:interval:) from now on

Repair go specs
2018-04-03 16:52:34 -07:00
Jared Scheib 50ceafc900 Correct GetMeasurements comments to indicate default 100 limit 2018-04-03 16:04:16 -07:00
Jared Scheib eb4d07f4ae Change AllMeasurements to GetMeasurements to be precise & update comment 2018-04-03 16:04:16 -07:00
Chris Goller a5722da2a7 Add measurements with pagination 2018-04-03 16:04:16 -07:00
Luke Morris 4b54081cf8 Revert :interval: work
Squashed commit of the following:

commit 8b18f78098953c5aba744dd16a215b6ed4cd5143
Author: Luke Morris <lukevmorris@gmail.com>
Date:   Wed Feb 28 20:44:46 2018 -0800

    Revert "Merge pull request #2663 from influxdata/feature/migrate-time-interval"

    This reverts commit 935186984c, reversing
    changes made to e5b8889bc6.

commit 8f17059d24cc1a1bb4b8675be70fb9adb3f3a3e3
Author: Luke Morris <lukevmorris@gmail.com>
Date:   Wed Feb 28 20:44:23 2018 -0800

    Revert "Merge pull request #2890 from influxdata/fix/time-interval"

    This reverts commit bb01a569ca, reversing
    changes made to 3609bc7d3a.
2018-02-28 20:47:16 -08:00
Michael Desa 1c9ee296a0 Ensure backwards compat for old GROUP BY :interval: 2018-02-28 17:21:15 -05:00
Luke Morris 7354a75b79 Merge branch 'master' into feature/migrate-time-interval 2018-02-27 19:14:28 -08:00
Luke Morris 63b1848adb :interval: relies on others, and should always come last 2018-02-27 18:02:38 -08:00
Chris Goller c1043b1938 Update timeseries interface to write multiple points 2018-02-27 13:27:17 -06:00
Chris Goller a8b52523e9 Remove db and rp from annotation SELECT queries 2018-02-27 13:05:48 -06:00
Chris Goller 010f67dc77 Update variable name of the annotations db 2018-02-27 13:03:40 -06:00
Michael Desa c93d020190 Create new point template var template value
Previously users specify `resolution` and `pixelsPerPoint`. This has
been change and the front end will now need to specify `points` which is
the number of points it'd like to get back from the query.
2018-02-22 13:17:49 -05:00
Chris Goller cd88b5cecd Add tests for writing to influxdb 2018-02-17 14:01:18 -06:00
Chris Goller d7b7914241 Add tests for annotation store 2018-02-17 12:30:55 -06:00
Chris Goller b4f25255c8 Update annotations to be inclusive of start and end time 2018-02-16 09:17:47 -08:00
Chris Goller 9a748d7bd5 Fix annotation storage to influxdb 2018-02-16 09:17:47 -08:00
Chris Goller 8e542b5130 Update annotations to use time as endTime 2018-02-16 09:17:47 -08:00
Chris Goller 7555783638 Update influxdb annotation store to support update/delete 2018-01-18 21:50:46 -06:00