server/query: Factor out the query parser into a separate function.
graph: Introduce a new type representing a metric.
The new type allows to add further information to a metric.
The new type allows to add further information to a metric.
Add a separate package for handling graphs and plots.
For now, the package is a simple wrapper around github.com/gonum/plot. It
supports graphing multiple metrics in the same graph (even though that's not
used by the server yet).
For now, the package is a simple wrapper around github.com/gonum/plot. It
supports graphing multiple metrics in the same graph (even though that's not
used by the server yet).
Convert the code to the new client.Client interface.
Drop the custom query abstraction in favor of client.Query().
Drop the custom query abstraction in favor of client.Query().
Migrate to github.com/gonum/plot.
This is the new, official fork of code.google.com/p/plotinum.
This is the new, official fork of code.google.com/p/plotinum.
Add support for host.<attribute> queries.
Merged branch 'master' of git://git.tokkee.org/sysdb/webui.
Log the remote server version on startup.
Include the remote server version on the index page.
Don't try to display metric information after the query failed.
Added simple Travis-CI configuration file.
Use the current username by default.
Remove query data from the URI path.
Added support for looking up other object types besides hosts.
A query may now be prefixed with <type>: to chose a different type. The
default is still hosts.
A query may now be prefixed with <type>: to chose a different type. The
default is still hosts.
Don't return an HTTP error status if a handler fails.
This might confuse browsers and, more importantly, now we re-populate the
query input field with the user's query in case it failed.
This might confuse browsers and, more importantly, now we re-populate the
query input field with the user's query in case it failed.
Use the 'page' type in the error handler as well.
Added a very simple query language for name or attribute based lookups.
This is a language suitable for simple queries using the lookup form. It
supports quoted and unquoted strings representing either regular expression
for object names or a colon-separated key/value pair for matching attribute
values.
This is a language suitable for simple queries using the lookup form. It
supports quoted and unquoted strings representing either regular expression
for object names or a colon-separated key/value pair for matching attribute
values.
Make a metric's graph's time-range configurable.
Make a graph's start and end times configurable.
Improved error reporting in graph(): correctly report bad requests.
Let the query helper ensure that all string arguments are escaped.
Introduce a new type, identifier, to be used for strings that shall never be
escaped, similar to how html/template treats the HTML, JS, etc. types. The
query helper now expects printf style format and value arguments.
Introduce a new type, identifier, to be used for strings that shall never be
escaped, similar to how html/template treats the HTML, JS, etc. types. The
query helper now expects printf style format and value arguments.
Split server.go into server.go and query.go.
Simplified URL parsing and un-escape URIs.
This avoids subsequent string-joins in various handlers and generally unifies
URL handling.
Also, it fixes handling of URLs containing (escaped) spaces.
This avoids subsequent string-joins in various handlers and generally unifies
URL handling.
Also, it fixes handling of URLs containing (escaped) spaces.
Give content generators more control over the generated page.
Show graphs only if SysDB indicated that time-series are available.
Make sure to break overly long "words" when displaying attribute values.
graph: Use a date string for x-axis tick markers.
This is a very basic implementation which is not well suited for all time
ranges but it's good enough to get started.
This is a very basic implementation which is not well suited for all time
ranges but it's good enough to get started.
Added support for simple SVG graphs for metrics.
The graph will be displayed when querying a metric. The graph itself mostly
uses default settings of the Plotinum package for now.
The graph will be displayed when querying a metric. The graph itself mostly
uses default settings of the Plotinum package for now.
server: Make it easier to add special handlers.
Currently, this is used for serving static content.
Currently, this is used for serving static content.
Make sure to not use a client connection multiple times in parallel.
That's not supported by the client at the moment. Instead, use multiple
connections. That's a bit of a hack but the server can easily handle many idle
connections.
That's not supported by the client at the moment. Instead, use multiple
connections. That's a bit of a hack but the server can easily handle many idle
connections.
Initial commit of the SysDB web interface.
This is the initial version of a web-based client programm for querying SysDB
(https://sysdb.io/). For now, it supports browsing, querying, and displaying
basic information about hosts, services, and metrics.
This is the initial version of a web-based client programm for querying SysDB
(https://sysdb.io/). For now, it supports browsing, querying, and displaying
basic information about hosts, services, and metrics.