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
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
00c62bf4dd
feat(server): add validation of credentials to InfluxDB client
2020-12-09 17:35:58 +01:00
Pavel Zavora
84eddd0131
fix(influxdb): ignore possible 'v' in InfluxDB version string
2020-11-25 08:04:42 +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
Andrew Watkins
3ff9eef934
Remove tempVars from backend queries response
2018-06-28 13:19:32 -07:00
Chris Goller
c1043b1938
Update timeseries interface to write multiple points
2018-02-27 13:27:17 -06:00
Chris Goller
d7b7914241
Add tests for annotation store
2018-02-17 12:30:55 -06:00
Chris Goller
7555783638
Update influxdb annotation store to support update/delete
2018-01-18 21:50:46 -06:00
Chris Goller
243ccb1ffb
Add basic REST routes for annotations
2018-01-12 17:17:14 -06:00
Chris Goller
986e9406f9
Add epoch to influx query
2018-01-12 17:17:01 -06:00
Chris Goller
18bf6aecba
Add update/create/delete for influx annotation store
2018-01-11 20:49:10 -06:00
Chris Goller
38e57eb897
WIP Add annotation store to influxdb
2018-01-11 11:46:49 -06:00
Chris Goller
eb82ec4131
Refactor and simplify auto group by (:interval:) template variable
2017-11-08 11:27:35 -06:00
Chris Goller
92238d3ec1
Add check for enterprise build type header
2017-09-28 18:37:52 -05:00
Chris Goller
033f292ae5
Update interface Authorization to Authorizer
2017-07-25 12:13:46 -05:00
Chris Goller
9abbcf6dc0
Update influx Authorization Headers for write and query path
2017-07-25 12:13:46 -05:00
Chris Goller
c2adec4709
Add JWT shared secret influxdb auth
...
Refactor --new-sources to simplify adding shared secrets
2017-07-19 01:39:06 -05:00
Tim Raymond
45402f476d
Add support for :autoGroupBy: template variable
...
This adds support for dynamic template variables that compute something
about themselves given some additional context.
2017-06-13 14:59:56 -04:00
Chris Goller
542f3c334c
Add template variable substitution to influx queries
2017-04-19 12:10:18 -05:00
Jade McGough
baf7a938c4
Merge branch 'dbrp' into feature/db-manager
2017-03-23 11:24:40 -07:00
Jade McGough
6a4c4122bb
it's working!
2017-03-22 13:27:36 -07:00
Jade McGough
cea9d9a8dc
uuuugh
2017-03-22 04:01:55 -07:00
Jade McGough
056abde56d
WIP
2017-03-22 01:40:30 -07:00
Chris Goller
01588e0e08
Add ping and detection of influxdb source types
2017-03-13 16:45:05 -05:00
Chris Goller
904e4963b6
Fix influx querying to prevent leaking sockets
2017-02-28 15:17:36 -06:00
Chris Goller
5aa6a4ef2b
Add roles to chronograf
2017-02-23 16:02:53 -06:00
Chris Goller
17f6f55269
Add comments to influx query proxy
2017-02-19 12:15:53 -06:00
Chris Goller
9b24351732
Refactor users and add client usersstore
2017-02-17 13:37:00 -06:00
Chris Goller
439a4d32e8
Add insecureSkipVerify option to source to accept all influxdb certs
...
The insecureSkipVerify defaults to false, but when true, instructs
the server to accept any certificate coming from the InfluxDB server.
2017-01-04 19:35:07 -06:00
Tim Raymond
c1effd7f47
Improve error messages through proxy
...
Previously, the proxy would only report the error code it received from
an InfluxDB instance. This also passes the error message returned by
InfluxDB through, so it appears in the Chronograf server logs as well as
in the response returned to the frontend by the proxy (making it visible
by inspecting the request in the network tab).
2016-12-13 11:59:26 -05:00
Chris Goller
07ffedc058
Fix logger panic and put logging of queries into debug
2016-11-12 17:48:49 -06:00
Chris Goller
d1359c09b3
Refactor to remove autogenerated code.
2016-10-26 22:10:52 -05:00
Chris Goller
91eec23099
Update name to chronograf
2016-10-20 09:39:40 -05:00
Tim Raymond
964ba68f39
Reorg logging package
...
This moves the logger interface into the root package and makes the log
subpackage specific to logrus. Also this makes the Logger interface type
also return other Loggers, such that we can completely encapsulate
logrus.Loggers.
2016-10-03 12:30:43 -04:00
Tim Raymond
62a3ae9197
Add logrus for structured logging
...
This adds the logrus package to facilitate structured logging. Logrus is
encapsulated in the log/ subpackage and currently used in the influx/
subpackage.
2016-10-03 12:30:43 -04:00
Chris Goller
7d95840956
Fix panic when influx client receives error status code
2016-09-30 10:31:20 -05:00
Chris Goller
5ce883f0fc
Update sources take multiple URLs for future load-balancing
2016-09-29 18:07:54 -05:00
Chris Goller
283833afb1
Add interface and mock for sources
2016-09-29 17:09:22 -05:00
Chris Goller
e029d0c16a
Update influx to remove the v2 client and use our own.
...
Signed-off-by: Gunnar Aasen <gunnar+github@gunnar.me>
2016-09-21 17:58:46 -07:00
Chris Goller
2b17378e76
Update Database to be DB
2016-09-21 15:11:29 -07:00
Chris Goller
688ebe8167
Update database and rp to use default parameters
2016-09-21 09:53:36 -07:00
Chris Goller
0a5330327f
Update query interface to take database and rp
2016-09-21 09:53:36 -07:00
Tim Raymond
aacc6180d3
Rework domain errs to be strings
...
At @goller's recommendation, we're following @benbjohnson's advice laid
out here: https://github.com/benbjohnson/wtf/blob/master/errors.go and
moving errors to the top level package. This cleaned up some ugliness in
the tests where we needed to type assert.
2016-09-19 10:12:52 -04:00
Tim Raymond
536fa7de8f
Update influx package to support MonitoredServices
...
The Timeseries interface was updated to include MonitoredServices as
part of its spec. This adds a stub implementation of that.
2016-09-16 12:11:28 -04:00
Tim Raymond
d3da914994
Add timeout error for influx
...
This adds a type to be returned when requests to InfluxDB were cancelled
or timed out.
2016-09-15 15:08:25 -04:00
Tim Raymond
a8291c602c
Add coverage for bad hostnames and cancellation
...
The case where users passed bad hostnames to create new influx clients
was untested as well as the cancellation logic.
2016-09-15 14:01:53 -04:00
Tim Raymond
e7562c298f
Supprt for cancelling in-flight influx requests
...
If a request upstream is cancelled, we can propagate the cancellation
down to our queries to Influx using context's cancellation
functionality. This patch adds support for this.
2016-09-15 13:42:56 -04:00