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.