Commit Graph

53 Commits (a2de2cc5c8b275faf00e490a1cad1853bb0169f2)

Author SHA1 Message Date
Johnny Steenbergen 39e89eafdf chore(pkger): utilize http client for integration tests for pkger 2019-12-13 09:46:01 -08:00
Johnny Steenbergen 3daaa4d307 feat(pkger): add apply functionality for notification endpoints kind 2019-12-11 15:13:42 -08:00
Johnny Steenbergen 69d7eb4455 feat(pkger): add notification endpoint dry run functionality 2019-12-11 15:13:42 -08:00
Johnny Steenbergen 417d25537f chore(http): refactor org service to use httpc client 2019-12-10 10:49:22 -08:00
Johnny Steenbergen 521ce543eb fix(pkger): fix flaky test in pkger service tests
tests failign from a data race caused in the tests setup. an incrementing
const needs something to serialzie it (atmoic in this case) to remove that
data race. This touches that up.
2019-12-09 08:59:44 -08:00
Johnny Steenbergen 0225160814 fix(http): provides a reusable http client instead of creating/GCing one each time 2019-12-06 18:15:35 -08:00
Johnny Steenbergen 51f1b73738 feat(pkger): speed up application of pkg with a touch of concurrency
governs the concurrency with a simple semaphore. Defaults to 5
concurrent reqs, anything greater, could put a lot of pressure
on the system as a whole (especially OSS/bolt store).
2019-12-06 18:15:35 -08:00
Ariel Salem 08d8efbaec
feat(ui): added date/time format for graphs (#16148)
* feat(ui): added date/time format for graphs

* fix(ui): removed unnecessary console.log

* feat(ui): updated BE models to reflect necessary updates to structs

* fix(dashboard): updated failing gotests
2019-12-06 12:03:55 -08:00
Johnny Steenbergen 4a888cc706 feat(pkger): add support for notification endpoints to parser 2019-12-06 10:40:11 -08:00
Deary Hudson III a6941648d2
feat(pkger): pkger to use updated dashboard params (#16142) 2019-12-06 11:13:06 -06:00
Johnny Steenbergen ea67663ab7 fix(pkger): cleanup leftover bits from telegraf and label mapping misses
telegraf was not being mapped correctly for applying the label mapppings
and touched up a bunch of other issues that came up along the way.
2019-12-06 08:51:32 -08:00
Johnny Steenbergen c76babdce6 feat(pkger): add support for exporting telegraf 2019-12-05 09:58:44 -08:00
Jacob Marble 5f19c6cace
chore: Remove several instances of WithLogger (#15996)
* chore: Remove several instances of WithLogger

* chore: unexport Logger fields

* chore: unexport some more Logger fields

* chore: go fmt

chore: fix test

chore: s/logger/log

chore: fix test

chore: revert http.Handler.Handler constructor initialization

* refactor: integrate review feedback, fix all test nop loggers

* refactor: capitalize all log messages

* refactor: rename two logger to log
2019-12-04 15:10:23 -08:00
Johnny Steenbergen 695211aeda feat(pkger): add dry run and apply functionality for telegraf resources 2019-12-04 13:50:42 -08:00
Johnny Steenbergen 51500396b3 feat(pkger): extend dashboards to capture position fields for xy and line plus stat charts 2019-12-03 16:10:50 -08:00
Johnny Steenbergen 996c88e953 feat(pkger): add telegraf as a valid resource to the pkger parser 2019-12-03 11:17:20 -08:00
Johnny Steenbergen d0a336fbf8 chore(pkger): refactor nested labels and non unique by name resources
makes the label mapping more generic so we don't have to create N number
of label mapping funcs.
2019-12-03 11:17:20 -08:00
Johnny Steenbergen 988fd0ae80 chore(pkger): refactor diff into common types for easier access 2019-11-22 16:09:23 -08:00
Johnny Steenbergen 888baa2db6 feat(pkger): move bucket pkger model to reflect http APIs retention rules in palce of retention period 2019-11-22 11:13:06 -08:00
Johnny Steenbergen 4d0e0ba1a4 chore(pkger): fixing up the pkger parse error to respect the initial Error call
the errors changed during the pkger http server error improvements and this
fixes it to be similar to what it once was, only now its in a flatter fashion
very similar to the pkger http server apply response.
2019-11-21 17:37:14 -08:00
Johnny Steenbergen 77ddcab2b5 feat(influx): add nix pipe support to influx pkg cmd 2019-11-21 10:55:12 -08:00
Johnny Steenbergen 9c525ad413 feat(pkger): add ability to export all and defined list of resources via influx cli to a package
refers: #15921
2019-11-21 10:55:12 -08:00
Johnny Steenbergen a875a6a7ea chore(pkger): add tests to pkg new cli command 2019-11-18 12:19:15 -08:00
Deary Hudson III 12846aa8e1
feat(pkger): adds histogram chart support (#15943) 2019-11-16 14:14:46 -06:00
Deary Hudson III fbe04bea45
fix(pkger): adds back failures var (#15935) 2019-11-15 11:17:31 -06:00
Deary Hudson III 93c9189a49
feat(pkger): exports scatter and heatmap charts (#15890) 2019-11-14 19:05:21 -06:00
Johnny Steenbergen 1a28a3256e feat(pkger): extend apply HTTP API to return parse err with 422 resp 2019-11-14 12:11:13 -08:00
Johnny Steenbergen d08ebf8658 feat(pkger): improve error handling for parser 2019-11-14 08:32:52 -08:00
Deary Hudson III d3381c4cc0
feat(pkger): adds markdown chart support (#15872) 2019-11-13 15:30:52 -06:00
Johnny Steenbergen f084cf61b3 feat(pkger): add doc.go to the pkger pkg for a TLDR of what it is and does 2019-11-13 08:33:25 -08:00
Johnny Steenbergen e26b21e261 chore(pkger): add integration tests for pkger service
these tests supply coverage for the happy path of the pkger service
behavior.
2019-11-12 14:05:07 -08:00
Deary Hudson III 901a76382b
feat(pkger): adds heatmap (#15857) 2019-11-12 14:09:13 -06:00
Deary Hudson III 8fe201f8e2
feat(pkger): adds scatter chart support (#15856) 2019-11-12 12:06:53 -06:00
Johnny Steenbergen b58e7947b1 feat(pkger): add support for exporting resource associations
also adds some extra user friendliness. it sorts the pkg created via an
export by resource kinds. It also titles the kinds to make them match the
documentation even though the kind is case insensitive. Easier to read this
way.
2019-11-11 08:51:54 -08:00
Johnny Steenbergen a64b976561 feat(pkger): add export functonality to pkger for existing buckets/labels/dashboards
no associations included at this time. Also fixes http response to be just
the pkg without the envelope. Having that envelope makes the API icky to
work with from any shell script or just saving it to file. This feels more
organic to just drop that envelope.
2019-11-08 16:55:24 -08:00
Johnny Steenbergen 5eb29e9ed9 feat(pkger): add label associations to variables 2019-11-07 12:33:20 -08:00
Johnny Steenbergen d252b20ecc feat(pkger): add support for variable resource kind to pkger 2019-11-07 12:33:20 -08:00
Johnny Steenbergen 2090afa5fd chore(pkger): move pkger http server to http pkg 2019-11-07 09:44:24 -08:00
Johnny Steenbergen 2902638c8a feat(pkger): add pgker http server to the api handler 2019-11-07 09:44:24 -08:00
Johnny Steenbergen 515b3f542a feat(pkger): add support for the dry run and apply pkger http endpoints
not included is the pretty error handling for the pkger.ParseErr handling
2019-11-07 09:44:24 -08:00
Johnny Steenbergen 848875e64b feat(pkger): add create service and http functionality for a package
supports as of this just the basic metadata being setup on the initial post
2019-11-07 09:44:24 -08:00
Deary Hudson III 57ffddd9cc
feat(pkger): adds gauge chart support (#15775) 2019-11-06 13:22:36 -06:00
Deary Hudson III 3d5e60f1de
feat(pkger): adds xy chart support (#15767) 2019-11-05 13:19:25 -06:00
Johnny Steenbergen a76ca6f199 feat(pkger): add single stat plus line view support to pkger 2019-11-04 11:26:51 -08:00
Johnny Steenbergen 9d44bb02b4 feat(pkger): update pkg application to skip resources that impose no changes 2019-11-04 09:06:55 -08:00
Johnny Steenbergen c47bad5981 feat(pkger): add single stat chart to pkger dashboards 2019-11-01 14:36:18 -07:00
Johnny Steenbergen eea44f6c72 feat(pkger): add dashboard support to pkger
included is the base for dashboards and association of labels with
dashboards.
2019-11-01 12:20:54 -07:00
Johnny Steenbergen 37decdfa24 chore(pkger): fixup loose ends from PR review 2019-11-01 11:59:09 -07:00
Johnny Steenbergen a03c497015 feat(pkger): add dry run functionality
does not apply to mappings, will apply mappings no matter what. we need to
remedy the uniqueness of resources from the API side. Applies to labels,
label mappings,
2019-11-01 11:59:09 -07:00
Johnny Steenbergen db5183e17e chore(pkger): refactor Pkg tests out 2019-11-01 11:59:09 -07:00