Jason Wilder
aca83479be
Update graph docs for v2
...
Still needs metric tab for each datasource and time range details.
2015-03-12 17:20:48 -06:00
Jason Wilder
3693f36e59
Add docs for building the docs locally
2015-03-12 14:47:49 -06:00
Jason Wilder
13206fbb69
Fix default anonymous org name
2015-03-12 11:51:54 -06:00
Jason Wilder
d3d896dccd
Log more descriptive error when anonymous org is not found
...
Was logging:
[middleware.go:78 func·004()] [E] Anonymous access organization error%!(EXTRA <nil>)
2015-03-12 11:49:05 -06:00
Jason Wilder
433070a135
Add dashboards:export CLI command
...
Allows exporting all dashboards to a --dir or filtering dashboards
by title. If no --dir is specified, a single dashboard must be
found and it will be sent to stdout which can be piped to a file.
Fixes #1498
2015-03-03 23:16:14 -07:00
Jason Wilder
b6428b08d0
CLI: Fix config flag being ignored
...
Passing --config had no effect when passed. It will now be applied as
the last config file and before any env var overrrides.
2015-02-15 15:06:02 -07:00
Jason Wilder
9223c95481
CLI: Order commands alphabetically
2015-02-15 14:01:48 -07:00
Jason Wilder
a3925e8aa0
CLI: Use console logger for dashbard:import command
...
More consistent w/ other commands and separates stdout/stderr
2015-02-15 13:51:41 -07:00
Jason Wilder
7c8fa067a2
CLI: Conver account flag to required arg
...
Follows the same convention as other commands.
2015-02-15 13:48:36 -07:00
Jason Wilder
f2e9ec63df
CLI: Renamed import-json to dashboard:import
...
More consistent w/ other command names.
2015-02-15 13:45:25 -07:00
Jason Wilder
b97361b193
CLI: Add datasource:delete command
2015-02-15 13:36:10 -07:00
Jason Wilder
22652889b2
CLI: Add datasource:create command
...
Allows creating a datasource from the command line
2015-02-15 13:36:10 -07:00
Jason Wilder
04a970eda2
CLI: Use 8 char min col size instead of 20
2015-02-15 13:36:10 -07:00
Jason Wilder
f443b7087c
CLI: Add datasource:info command
...
Describes the full datasource details given an account and
datasource name.
2015-02-15 13:36:10 -07:00
Jason Wilder
9cb1170361
CLI: Move duplicated config flag to global flag
2015-02-15 13:36:10 -07:00
Jason Wilder
dda760b9b5
CLI: Add datasource list command
...
Lists all the datasources for an account via the CLI
2015-02-15 13:36:10 -07:00
Jason Wilder
ca4124940a
CLI: Remove redundant Cmd prefix from commands
2015-02-15 13:36:10 -07:00
Jason Wilder
90cd10e034
CLI: Add account:delete command
2015-02-15 13:36:10 -07:00
Jason Wilder
c1d4acc01e
CLI: Use colorized console output
...
This extracts some of the colored logging functionality into some
convenience functions to log directly to the console (stdout) w/o
the usual logging prefixes and flags. It's intended for console
messages when using grafana commands.
2015-02-15 13:36:10 -07:00
Jason Wilder
81531a29eb
CLI: Add account:create command
...
Creates a new account attached to the default admin account for now.
2015-02-15 13:36:10 -07:00
Jason Wilder
7d4c319fcb
CLI: Default logging output to stderr instead of stdout
...
Makes it possible to separate console output from logging output so
command output can be piped to a file cleanly.
2015-02-15 13:36:10 -07:00
Jason Wilder
ca37b24455
CLI: Add account list command
2015-02-15 13:36:10 -07:00
Jason Wilder
793eda7640
Assign new dashboard ID when importing dashboard via command-line
2015-02-11 15:20:36 -07:00
Jason Wilder
8230279932
Assign new ID to when importing dashboard via frontend
...
Fixes a panic: interface conversion: interface is string, not float64
when importing a dashboard that has a non-float ID.
2015-02-11 15:20:18 -07:00
Jason Wilder
a6df991b76
Update README.md w/ known working build tool versions
2015-02-11 14:55:26 -07:00
Jason Wilder
9cc0be0fc2
Add grafana binary to .gitignore
...
Running "go build" defaults to building a binary named
grafana in the root dir.
2015-02-11 14:55:26 -07:00