Commit Graph

12516 Commits (a8f1825abaf69d1c0e366c93eb7ca0241ab34774)

Author SHA1 Message Date
greg linton 039b8e816f chore: add tests for etcd, remove unused bucket/tx logic 2020-01-23 11:15:32 -07:00
greg linton 9bc3b8b5e2 chore: remove remaining layout cruft 2020-01-23 11:15:32 -07:00
greg linton 8765490e52 chore: update changelog and readme 2020-01-23 11:15:32 -07:00
greg linton 899c35fc29 fix: add snowflake id, validate annotation endtime 2020-01-23 11:15:32 -07:00
greg linton d470723faf chore: tidy and document filestore functionality 2020-01-21 13:57:09 -07:00
greg linton 3e5e8c5c55 chore: remove crufty docs 2020-01-21 13:57:09 -07:00
greg linton a26b780036 chore: remove v2 related code 2020-01-21 13:57:09 -07:00
Greg 56353bee05
feat: add etcd as backend store (#5352)
* Add some comments about unused v2 stuff

* Add etcd as kv backend

* Add configuration options to utilize etcd backend
2020-01-21 11:05:00 -07: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
Timmy Luong dab3f8dca7
feat(ui): add query parameter for autofresh option in dashboards (#5348)
* feat(ui): add query parameters for autofresh option in dashboards

* fix(ui): fix tests, lint, and refresh functionality of components; update CHANGELOG

* fix(ui): update handler

* feat(ui): allow url parameter to update dashboard autorefresh rate

* fix(ui): improve reducer performance and other minor issues
2020-01-14 16:14:25 -08:00
Bucky Schwarz a1f6162508 fix: log viewer uses a default if the mapped severity doesn't exist 2020-01-09 14:23:59 -08: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
Bucky Schwarz 5f77cda1c6
Merge branch '1.7.x' 2020-01-08 11:54:43 -08:00
Bucky Schwarz fdab763e39
chore: update changelog and bump minor version to 1.7.17 2020-01-08 11:54:33 -08:00
Bucky Schwarz 47890b6d98
fix: allow logging out when using Ouath 2020-01-08 11:51:19 -08:00
Bucky Schwarz 0568cac040 fix: allow logging out when using Ouath 2020-01-02 13:43:58 -08:00
Bucky Schwarz 74cd98a516 chore: upgrade go and node-sass dependencies 2020-01-02 12:48:40 -08:00
kelseiv 7fee7e5832
Update README.md 2019-12-20 09:17:54 -08:00
Michael Desa 7689dd7db4
chore: update changelog and bump minor version to 1.7.16 2019-12-19 13:49:14 -08:00
Michael Desa a88e6fb107
Merge branch 'master' into 1.7.x 2019-12-19 13:47:22 -08:00
Michael Desa ca6aaca1df
fix(defaultQueryConfig): if in rule remove upper dashboard time (#5336) 2019-12-19 13:46:19 -08: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
Michael Desa 37ebe2a28e
fix(kapacitor): use better heuristic than string contains `batch` when creating tasks (#5335)
Closes https://github.com/influxdata/chronograf/issues/5332
2019-12-18 09:40:51 -08:00
Bucky Schwarz dc03bbec5c fix(ui): use the the available y-axis label 2019-11-26 09:58:18 -08:00
Michael Desa adef73900c
fix(schema-explorer): update the flux schema explorer to use v1 package (#5323)
Closes https://github.com/influxdata/chronograf/issues/5316
2019-11-22 09:01:43 -05:00
Bucky Schwarz 46f8d51980 chore: pin go to latest minor version; make docker build process more robust 2019-11-21 15:37:02 -08:00
Bucky Schwarz 6535fbb690 chore: target go 1.12 minor version - should pull in patches 2019-11-21 15:37:02 -08:00
Michael Desa acc1a6834f
chore: update changelog and versions for 1.7.15 2019-11-12 18:42:10 -05:00
Russ Savage 0b0e4b8bf0
feat(flux): updated functions list for latest flux (#5310)
* feat(flux): updated functions list and insert

* fix(functions): updating the urls

* feat(changelog): update changelog
2019-11-08 13:13:52 -08:00
Michael Desa 220dbeb538
fix(data-explorer): always include upper dashboard time in query (#5309)
Closes https://github.com/influxdata/chronograf/issues/5297

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2019-11-07 14:53:01 -05:00
Michael Desa 5214b7d47d
chore: upgrade to flux v0.50.2 (#5305)
Closes https://github.com/influxdata/chronograf/issues/5303
2019-11-07 11:35:08 -05:00
Andrew Watkins 720782d118
fix: boolean joins for tag key / value pairs (#5307) 2019-11-06 16:17:17 -08:00
Bucky Schwarz 15b12fe024 chore: update dockerfile deps: update ubuntu, node and go versions 2019-11-05 14:25:19 -08:00
Michael Desa bb4f123bfd
fix(server): add DashboardCreate object to swagger definition (#5295)
This came up from https://github.com/influxdata/chronograf/issues/5291
where consumers of the API thought that they would be able to specify an
ID when a dashboard is created.
2019-10-16 15:53:59 -04:00
Jacob Marble e7a953820f
Merge pull request #5287 from influxdata/jgm-remove-gdm
chore: remove gdm
2019-09-24 15:50:38 -07:00
Jacob Marble d897556bb4 chore: remove gdm 2019-09-24 15:21:42 -07:00
Joshua Hoblitt 571731cec5 fix github org pagination when user has > 10 orgs (#5265)
* fix github org pagination when user has > 10 orgs

* rm duplicate 1.7.13 CHANGELOG

* add #5265 to CHANGELOG
2019-09-20 15:53:13 -07:00
Michael Desa 5e1e3d0cae
Merge branch '1.7.x' 2019-08-27 13:58:02 -04:00
Michael Desa 038fb2a1d4
Release 1.7.14 2019-08-27 13:57:33 -04:00
Andrew Watkins 7434c52245 docs: update CHANGELOG 2019-08-26 13:12:36 -07:00
Andrew Watkins 0d694a493b fix: style and runtime errors (#5269)
* fix(explorer): exit filter if no query

* fix: styles
2019-08-26 13:09:59 -07:00
Andrew Watkins 993ac4d75c
fix: style and runtime errors (#5269)
* fix(explorer): exit filter if no query

* fix: styles
2019-08-26 12:18:10 -07:00
Michael Desa 2d3a265706
Merge branch '1.7.x' 2019-08-20 17:39:51 -04:00
Michael Desa da07ed011c
Release 1.7.13 2019-08-20 17:37:16 -04:00
Andrew Watkins ae7fed3626
fix: drop delete (#5258)
* fix: drop delete

* fix: tsc error
2019-08-20 14:14:01 -04:00
Alvaro [Andor] a36ffca3b1
Fix dashboard typos (#5249)
* Fix dashboard typos

* Add Changelog
2019-08-20 14:14:01 -04:00
Michael Desa dc0f253c6c
security: upgrade axios and lodash to verious without known vulnerabilities
Both `axios` and `lodash` are direct dependenies and therefore were
updated.

See https://github.com/influxdata/chronograf/network/alert/ui/yarn.lock/lodash/open and https://github.com/influxdata/chronograf/network/alert/ui/yarn.lock/axios/open
2019-08-20 14:13:58 -04:00
Andrew Watkins f1118cc920
fix(canned): group by database for numSeries and numMeasurment queries (#5244) 2019-08-20 14:13:58 -04:00
Christoph Tavan 1030250282
Use v4 UUID instead of v1 for time series UUIDs
This uses a purely random v4 UUID instead of a time-based v1 UUID for
the time series UUIDs (which were introduced in
dba9e28fa0 and
2fba2b9721).

As far as I can tell from
b6f6118b65/server/influx.go (L91-L94)
the server uses
b6f6118b65/id/uuid.go (L15)
to generate the `response.uuid` field where clearly a v4 UUID is being
generated. Mixing this with v1 UUIDs in the client code seems odd.

v1 UUID are based on current time and the hardware MAC address of the
machine where they are being generated (although the implementation in
the npm uuid module uses generates a random fake MAC address). As such
they have much more complex semantics than v4 UUIDs which are simply
randomly generated.

Unless there's a specific requirement for the special semantics of v1
UUIDs it is simpler and less error prone to simply go for v4 UUIDs
whenever just a unique identifier is needed.
2019-08-20 14:13:58 -04:00
Christoph Tavan 1b8b1610c4
Use v4 UUID instead of v1 for worker message IDs
This uses a purely random v4 UUID instead of a time-based v1 UUID for
the worker message IDs (which were introduced in
1a76a29ed2).

v1 UUID are based on current time and the hardware MAC address of the
machine where they are being generated (although the implementation in
the npm uuid module uses generates a random fake MAC address). As such
they have much more complex semantics than v4 UUIDs which are simply
randomly generated.

Unless there's a specific requirement for the special semantics of v1
UUIDs it is simpler and less error prone to simply go for v4 UUIDs
whenever just a unique identifier is needed.
2019-08-20 14:13:58 -04:00