influxdb/chronograf/canned
Jonathan A. Sternberg e9600b1f0b
refactor: modify tooling to take advantage of go run
The generate commands have been modified to take advantage of the new
functionality in Go 1.11 that allows `go run` to execute a package
instead of individual files.

This functionality combined with Go modules allows us to execute a
package directly out of our pinned dependencies rather than accidentally
picking up another binary outside of the build environment.

This also simplifies the Makefile because they no longer have to be
responsible for installing the correct tooling since the Go command
takes care of that logic. It also makes it so that the Makefiles with
file generation can now be invoked from their appropriate subdirectories
so they are contained within the directory itself rather than relying on
values in the top level Makefile.

It is now possible to generate all files within this project by using:

    go generate ./...

Or the Makefile can continue to be used.

This commit also copies over the special copy of `tmpl` that the storage
engine uses within the influxdb repository. It was never copied over so
using `go generate` on these packages did not work.
2018-10-15 11:01:27 -05:00
..
README.md Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
TODO.go build(chronograf): add conditional build tags for asset generation 2018-09-04 20:46:22 -05:00
apache.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
bin.go refactor: modify tooling to take advantage of go run 2018-10-15 11:01:27 -05:00
consul.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
consul_agent.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
consul_cluster.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
consul_election.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
consul_http.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
consul_leadership.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
consul_serf_events.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
cpu.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
disk.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
diskio.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
docker.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
docker_blkio.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
docker_net.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
elasticsearch.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
haproxy.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
influxdb_database.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
influxdb_httpd.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
influxdb_queryExecutor.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
influxdb_write.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
kubernetes_node.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
kubernetes_pod_container.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
kubernetes_pod_network.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
kubernetes_system_container.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
load.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
mem.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
memcached.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
mesos.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
mongodb.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
mysql.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
net.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
netstat.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
new_apps.sh Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
nginx.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
nsq_channel.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
nsq_server.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
nsq_topic.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
phpfpm.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
ping.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
postgresql.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
processes.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
procstat.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
rabbitmq.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
redis.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
riak.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
uuid.sh Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
varnish.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
win_cpu.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
win_mem.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
win_net.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
win_system.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00
win_websvc.json Move entire codebase into a subdirectory called chronograf 2018-07-19 16:37:21 -04:00

README.md

Canned Applications

The JSON application layouts in this directory ship with the application as nice, default layouts and queries for telegraf data.

Create new Application

To create a new application in this directory run ./new_apps.sh. This shell script will create a new application template with a generated UUID. Update this layout application file's queries, measurements, and application name.