influxdb/cmd/fluxd
Michael Desa 45233d939a feat(platform): add uniform query endpoint for sources
Using query request struct to query resources

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Use query.ProxyRequest instead query.Request

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Proxy request from idpd

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Comments about the desired results

Signed-off-by: Lorenzo Fontana <lo@linux.com>

V1 endpoints working with flux

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Influxql working for v1

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

V2 influxql query endpoint working

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>
Signed-off-by: Lorenzo Fontana <lo@linux.com>

V2 Flux compiler support

Co-authored-by: Michael De Sa <mjdesa@gmail.com>
Signed-off-by: Lorenzo Fontana <lo@linux.com>

Improve comments in bolt sources and give error on self

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

Review tests failing

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

Avoid type casts for compiler types

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

Using nil instead of dbrp mapping service for influxql v1

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Check if compiler types are valid for influxql

Signed-off-by: Lorenzo Fontana <lo@linux.com>

Organization as query param in the flux external handler

Signed-off-by: Lorenzo Fontana <lo@linux.com>

feat(http): update swagger documentation for flux query endpoint

feat(http): document query endpoint design

The code documented does not currently work. It is indended that this
will be implemented in follow up PRs.

feat(platform): move source to platform package

The source Query endpoint implements what's in the query swagger docs

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Co-authored-by: Michael De Sa <mjdesa@gmail.com>

feat(platform): allow for encoding and decoding of csv dialects

feat(platform): specify dialect in flux page

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-08-28 15:53:20 -04:00
..
README.md update Flux metrics docs 2018-08-14 11:41:02 -06:00
main.go feat(platform): add uniform query endpoint for sources 2018-08-28 15:53:20 -04:00

README.md

Flux

This process provides an implementation of the idpe.Query interface via the network.

Exposed Metrics

The fluxd process exposes a Prometheus endpoint on port 8093 by default.

The following metrics are exposed:

Metric Name Prometheus Type Labels Description
http_api_requests_total counter handler,method,path,status Number of requests received on the server
http_api_requests_duration_seconds histogram handler,method,path,status Histogram of times spent on all http requests
query_control_all_active gauge org Number of active queries in any state
query_control_all_duration_seconds histogram org Histogram of total time spent in all query states
query_control_compiling_active gauge org Number of queries actively compiling
query_control_compiling_duration_seconds histogram org Histogram of times spent compiling queries
query_control_queueing_active gauge org Number of queries actively queueing
query_control_queueing_duration_seconds histogram org Histogram of times spent queueing queries
query_control_requeueing_active gauge org Number of queries actively requeueing
query_control_requeueing_duration_seconds histogram org Histogram of times spent requeueing queries
query_control_planning_active gauge org Number of queries actively planning
query_control_planning_duration_seconds histogram org Histogram of times spent planning queries
query_control_executing_active gauge org Number of queries actively executing
query_control_executing_duration_seconds histogram org Histogram of times spent executing queries

For the http_api metrics the handler label is query for this process.