Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide example Grafana dashboards #8

Open
ti-mo opened this issue Feb 16, 2019 · 0 comments
Open

Provide example Grafana dashboards #8

ti-mo opened this issue Feb 16, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@ti-mo
Copy link
Owner

ti-mo commented Feb 16, 2019

Currently, the project only focuses on exporting data to certain back-ends. This does not provide any quick value to the user, and makes it difficult to get started with conntracct.

Provide a collection of Grafana dashboards the user can get started with, and load these dashboards into the docker-compose stack when it starts up.

In case anyone is already interested in using the tool and lands here looking for an example query, this is a basic example for visualizing per-flow bytes in the original direction from InfluxDB:

SELECT sum("bytes_orig_rate")
FROM
(
  SELECT non_negative_derivative(mean("bytes_orig"), 1s) AS "bytes_orig_rate"
  FROM "conntracct_udp"."autogen"."ct_acct"
  WHERE "bytes_orig" != 0
  GROUP BY time(1s),*
)
WHERE $timeFilter AND ("dst_port" =~ /.*/)
GROUP BY time(1s),* fill(none)

I've read that the new Flux query/scripting language could drastically improve the way of doing this, obviating the need for a subquery on high-cardinality metrics. I would not mind if the project focused exclusively on Flux.

@ti-mo ti-mo added enhancement New feature or request good first issue Good for newcomers labels Feb 16, 2019
@ti-mo ti-mo added this to the 0.3.0 milestone Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant